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

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

Classes

struct  logical_or5
 Short-circuit logical OR evaluation for up to five boolean values. More...
 
struct  logical_or5< boost::mpl::false_, boost::mpl::false_, boost::mpl::false_, boost::mpl::false_, E5 >
 If everything is a simple boost::mpl::false_ we can end recursion. More...
 
struct  logical_or5< boost::mpl::false_, E2, E3, E4, E5 >
 Pop/Evaluate the second value, putting false_ as the last parameter. More...
 
struct  logical_or5< boost::mpl::true_, E2, E3, E4, E5 >
 Short-circuit on a true value. More...
 

Detailed Description

Encapsulate solution for Exercise 4-2.