C++ Template Metaprogramming
Solutions to the exercises throughout the book
|
Solution to Exercise 6-1. More...
#include <boost/static_assert.hpp>
#include <boost/mpl/accumulate.hpp>
#include <boost/mpl/begin_end.hpp>
#include <boost/mpl/deref.hpp>
#include <boost/mpl/iterator_tags.hpp>
#include <boost/mpl/next_prior.hpp>
#include <boost/mpl/placeholders.hpp>
#include <boost/mpl/plus.hpp>
#include <boost/mpl/times.hpp>
Go to the source code of this file.
Namespaces | |
namespace | exercise_6_1 |
Encapsulate solution for Exercise 6-1. | |
namespace | boost |
Exists to inject functionality into the Boost namespace. | |
namespace | boost::mpl |
Exists to inject functionality into the Boost MPL namespace. | |
Solution to Exercise 6-1.
Definition in file exercise-6-1.hpp.