__is_polymorphic
Go Up to Type Trait Functions (C++11) Index
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."