__is_fundamental

From Appmethod Topics
Jump to: navigation, search

Go Up to Type Trait Functions (C++0x) 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