__is_union
Go Up to Type Trait Functions (C++11) Index
Category
Type Trait Functions
Syntax
bool __is_union( typename T )
Returns true if and only if T is a union type.
Note: unions are class types declared with the class-key union.
Returns false for reference/pointer to union type.