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

Encapsulate solution for Exercise 4-1. More...

Classes

struct  logical_and
 Short-circuit logical OR evaluation of two boolean values. More...
 
struct  logical_and< boost::mpl::false_, E2 >
 Short-circuit on a true value. More...
 
struct  logical_and< boost::mpl::true_, E2 >
 If the first value is true, the result is whatever E2's value is. More...
 
struct  logical_or
 Short-circuit logical OR evaluation of two boolean values. More...
 
struct  logical_or< boost::mpl::false_, E2 >
 If the first value is false, the result is whatever E2's value is. More...
 
struct  logical_or< boost::mpl::true_, E2 >
 Short-circuit on a true value. More...
 

Detailed Description

Encapsulate solution for Exercise 4-1.