14#include <boost/static_assert.hpp>
15#include <boost/mpl/bool.hpp>
45template <
typename E1,
typename E2>
52 static bool const value =
true;
58 static bool const value = E2::value;
71template <
typename E1,
typename E2>
78 static bool const value =
false;
84 static bool const value = E2::value;
Define some booleans that don't compile on either true or false.
Exists to inject functionality into the Boost namespace.
Provide utilities availble to all Chapter 4 solutions.
Encapsulate solution for Exercise 4-1.
Short-circuit logical OR evaluation of two boolean values.
Short-circuit logical OR evaluation of two boolean values.