This template may be used to select one of two types at compile time. It defines the Type type which is equivalent to T if first is true or equivalent to U if first is false. For example
Selector<true,A,B>::Type
A, Selector<false,A,B>::Type
B.
| first | selects the output type | |
| the | first type | |
| the | second type |
Public Types | |
| typedef T | Type |
|
|||||
|
|
1.4.3