The metaprogramming equivalent of the 'if' function. More...
#include <if.hpp>
Public Types | |
typedef T1 | type |
The metaprogramming equivalent of the 'if' function.
This defines a compile time metafunctional version of the 'if' function. It configures the default response (that for when the boolean condition is true). The alternative (false) is configured in a specialisation.
Condition | : the logical condition to test. |
T1 | : the return type if true. |
T2 | : the return type if false. |