C++ Template Metaprogramming
Solutions to the exercises throughout the book
Loading...
Searching...
No Matches
chapter-4-undefined_bool.hpp File Reference

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.
 

Detailed Description

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.

Author
Matt Bisson

Definition in file chapter-4-undefined_bool.hpp.