Create typedef type if condition is true. More...
Public Types | |
typedef T | type |
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.
B | Condition to test for true . |
T | Type of the result, void is the default. |
T Burger::enable_if< B, T >::type |