__is_abstract

From Appmethod Topics
Jump to: navigation, search

Go Up to Type Trait Functions (C++0x) Index


Category

Type Trait Functions

Syntax

bool __is_abstract( typename T )

Returns true if and only if T is an abstract class type.

Error if T is an incomplete type.

Note: An abstract class is one that contains or inherits (without overriding) at least one pure virtual function, according to Section 10.4 of the Working Draft.

See Also