#include <apibase.h>
This transformation type trait can be used to add a const qualifier to a type T only if a condition is fulfilled. ConstIf<T, C>::type
will be T if C is false, const T otherwise.
T | Type to which a const qualifier shall be added conditionally. |
MAKECONST | Bool value to enable the addition of the const qualifier. |
Public Types | |
using | type = T |
using type = T |
The result type, either T or const T.