Kicking it Olde Sküül! Burgerlib on Github Follow Olde Sküül on Twitter Burgerbecky on LinkedIn Burgerbecky on LinkedIn
Loading...
Searching...
No Matches
Burger::type_traits Namespace Reference

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.
 

Detailed Description

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.

See also
type_traits::size_type

Typedef Documentation

◆ 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)

See also
type_traits::no_type