Kicking it Olde Sküül! Burgerlib on Github Follow Olde Sküül on Twitter Burgerbecky on LinkedIn Burgerbecky on LinkedIn
Loading...
Searching...
No Matches
Public Types | List of all members
Burger::enable_if< B, T > Struct Template Reference

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

Public Types

typedef T type
 

Detailed Description

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

Create typedef type if condition is true.


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

If the test is successful, typedef type exists. If not, the typedef does not exist, causing template instantiation failure.

This is a duplicate of std::enable_if.

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

Member Typedef Documentation

◆ type

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