Semi-private template classes for type checking. More...
Classes | |
struct | no_type |
Type used for templates to return 0. More... | |
struct | size_type |
Type used for templates the require a specific size. More... | |
Typedefs | |
typedef char | yes_type |
Type used for templates to return 1. | |
Semi-private template classes for type checking.
For templates that require checking of types, many helper structures are in this namespace to prevent pollution of the Burger namespace.
typedef char Burger::type_traits::yes_type |
Type used for templates to return 1.
This type resolves to sizeof(char) to force sizeof( type_traits::yes_type) != sizeof( type_traits::no_type)