__is_floating_point

From RAD Studio
Jump to: navigation, search

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


Category

Type Trait Functions

Syntax

bool __is_floating_point(typename T)

Returns true if and only if T is a (potentially cv-qualified) floating point type.

The standard set of floating point types is:

  • floating
  • double
  • long double

Floating point types are defined in Section 3.9.1 p 7 of the Working Draft.

See Also