RAD Studio |  |

__is_polymorphic
See Also
Collapse All

Category

Type Trait Functions

Syntax

bool __is_polymorphic( typename T )

Returns true if and only if T is a poiymorphic class type.

Error if T is an incomplete type.

Polymorphic classes are defined in Section 10.3 of the Working Draft.

"A class that declares or inherits a virtual function is called a polymorphic class."

See Also

C++0x Features (C++Builder 2009)

Type Trait Functions Overview

Working Draft — Standard for Programming Language C++ - http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2588.pdf

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!