__is_compound

From RAD Studio
Jump to: navigation, search

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


Category

Type Trait Functions

Syntax

bool __is_compound( typename T )

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

A compound type is essentially one item from the following list:

  • array
  • function
  • pointer
  • pointer-to-member
  • reference
  • class
  • union
  • enumeration

Compound types are defined in Section 3.92 of the Working Draft.

See Also