__is_same

From RAD Studio
Jump to: navigation, search

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


Category

Type Trait Functions

Syntax

bool __is_same( typename T, typename U )

Returns true if and only if T and U are the same type, with identical CV qualifiers.

Names of types when calling __is_same may be different aliases for the same type, if called with typedefs or template type parameters.

Ox interaction: template aliases will allow another way to alias the same type name.

See Also