__is_enum

From RAD Studio
Jump to: navigation, search

Go Up to Type Trait Functions (C++11) Index


Category

Type Trait Functions

Usage: bool _is_enum ( typename T )

Returns true if and only if T is an enum type.

Returns true for the C++11 strongly typed enums as well.

Returns false for reference/pointer to enum type.

See Also