|
C++ Template Metaprogramming
Solutions to the exercises throughout the book
|
Define some booleans that don't compile on either true or false.
More...
Go to the source code of this file.
Classes | |
| struct | chapter4::undefined_false< true > |
| Define this metafunction if specialized to true. More... | |
| struct | chapter4::undefined_true< false > |
| Define this metafunction if specialized to false. More... | |
Namespaces | |
| namespace | chapter4 |
| Provide utilities availble to all Chapter 4 solutions. | |
Define some booleans that don't compile on either true or false.
Create some types that evaluate in one case, and produce a compilation error in the other.
Definition in file chapter-4-undefined_bool.hpp.