|
C++ Template Metaprogramming
Solutions to the exercises throughout the book
|
Implement my versions of MPL boolean operations with many arguments. More...
Files | |
| file | exercise-4-2.hpp |
| Solution to Exercise 4-2. | |
Namespaces | |
| namespace | test_4_2 |
| Tests functionality from Exercise 4-2. | |
| namespace | exercise_4_2 |
| Encapsulate solution for Exercise 4-2. | |
Implement my versions of MPL boolean operations with many arguments.
4-2. Extend the implementation of logical_or and logical_and metafunctions
from exercise 4-1 to accept up to five arguments.
logical_and, but with false_ instead of true_. Go back and write logical_and some time.