C++ Template Metaprogramming
Solutions to the exercises throughout the book
Loading...
Searching...
No Matches

Solution to Exercise 3-1. More...

#include <boost/mpl/int.hpp>
#include <boost/mpl/plus.hpp>
#include <boost/mpl/transform.hpp>
#include <boost/mpl/placeholders.hpp>

Go to the source code of this file.

Classes

struct  exercise_3_1::ex_3_1apply
 Metafunction to apply during transformation. More...
 
struct  exercise_3_1::ex_3_1apply::apply< T >
 Apply T+1. More...
 
struct  exercise_3_1::ex_3_1< T >
 Add 1 to all items in a sequence (w/o placeholder args). More...
 
struct  exercise_3_1::ex_3_1b< T >
 Add 1 to all items in a sequence (w/ placeholder args). More...
 

Namespaces

namespace  exercise_3_1
 Encapsulate solution for Exercise 3-1.
 

Detailed Description

Solution to Exercise 3-1.

Author
Matt Bisson

Definition in file exercise-3-1.hpp.