Template/Macro helper utility that removes the top-most const or the top-most volatile or both from a provided type. It has no effect if the provided type does not have a const nor volatile syntax.
Example:
Will instruct the compiler to generate:
#include <utility/YiTypeTraits.h>
Public Types | |
| typedef YI_TYPE | type |
| typedef YI_TYPE YI_REMOVE_CONST_VOLATILE< YI_TYPE >::type |
The type with const and/or volatile removed.