__is_fundamental

From RAD Studio
Jump to: navigation, search

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


Category

Type Trait Functions

Syntax

bool __is_fundamental( typename T )

Returns true if and only if T is a fundamental type.

Fundamental types are defined in Section 3.9.1 of the Working Draft.

Definition is essentially __is_arithmetic(T) || __is_void(T)

Alternative is a compound type, such as pointer, reference, enum, class or array.

See Also