C++ Template Metaprogramming
Solutions to the exercises throughout the book
|
Solution to Exercise 3-6. More...
#include <boost/mpl/apply.hpp>
Go to the source code of this file.
Classes | |
struct | exercise_3_6::twice_lambda |
A lambda to perform a metafunction twice. More... | |
struct | exercise_3_6::twice_lambda::apply< F, X > |
When applied, performs the given function twice. More... | |
Namespaces | |
namespace | exercise_3_6 |
Encapsulate solution for Exercise 3-6. | |
Solution to Exercise 3-6.
Definition in file exercise-3-6.hpp.