__is_pod

From RAD Studio
Jump to: navigation, search

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


Category

Type Trait Functions

Syntax

bool __is_pod( typename T )

Returns true if and only if T is a POD (plain ol' data) type.

Error if T is an incomplete type.

POD types are defined in Section 3.9 p10 of the Working Draft.

POD classes are defined in Section 9 p9 of the Working Draft.

Effectively __is_trivial_type(T) && __is_standard_layout(T)

See Also