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

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))
 

Detailed Description

Solution to Exercise 4-0.

Author
Matt Bisson

Definition in file exercise-4-0.hpp.