Category
Type Trait Functions
Syntax
bool __has_virtual_destructor (typename T )
Returns true if and only if T is a class type and the destructor is declared virtual.
Error if T is an incomplete type.
Derived classes have a virtual destructor if the a base class destructor is declared virtual, even if not explicitly declared as virtual in the derived class.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|