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::disable_if< B, T > Struct Template Reference

Create typedef type if condition is false. More...

Public Types

typedef T type
 

Detailed Description

template<bool B, class T = void>
struct Burger::disable_if< B, T >

Create typedef type if condition is false.


The first parameter conditional boolean. This will be evaluated as true or false. The second parameter is the type of the resulting typedef.

If the test failed, typedef type exists. If it succeeded, the typedef does not exist, causing template instantiation failure.

Note
: Not supported on Open WATCOM
Template Parameters
BCondition to test for false.
TType of the result, void is the default.
See also
enable_if

Member Typedef Documentation

◆ type

template<bool B, class T = void>
T Burger::disable_if< B, T >::type