C++ Template Metaprogramming
Solutions to the exercises throughout the book
|
Solution to Exercise 3-2. More...
#include <boost/mpl/times.hpp>
#include <boost/mpl/transform.hpp>
#include <boost/mpl/placeholders.hpp>
Go to the source code of this file.
Classes | |
struct | exercise_3_2::ex_3_2< T > |
Given a sequence of numbers, return a sequence of their squares. More... | |
Namespaces | |
namespace | exercise_3_2 |
Encapsulate solution for Exercise 3-2. | |
Solution to Exercise 3-2.
Definition in file exercise-3-2.hpp.