|
C++ Template Metaprogramming
Solutions to the exercises throughout the book
|
Solution to Exercise 4-0. More...
#include "chapter-4-undefined_bool.hpp"#include <boost/static_assert.hpp>#include <boost/mpl/and.hpp>#include <boost/mpl/or.hpp>Go to the source code of this file.
Namespaces | |
| namespace | exercise_4_0 |
| Encapsulate solution for Exercise 4-0. | |
Functions | |
| exercise_4_0::BOOST_STATIC_ASSERT ((boost::mpl::or_< undefined_false< true >, undefined_false< false > >::value)) | |
| exercise_4_0::BOOST_STATIC_ASSERT ((!boost::mpl::and_< undefined_true< false >, undefined_true< true > >::value)) | |
Solution to Exercise 4-0.
Definition in file exercise-4-0.hpp.