SNAP Library 2.0, Developer Reference
2013-05-13 16:33:57
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
Tests (at compile time) whether TDerivClass is derived from TBaseClass. More...
#include <gbase.h>
Classes | |
struct | No |
struct | Yes |
Public Types | |
enum | { Val = sizeof(Test(static_cast<TDerivClass*>(0))) == sizeof(Yes) ? 1 : 0 } |
Static Private Member Functions | |
static Yes | Test (TBaseClass *) |
static No | Test (...) |
Tests (at compile time) whether TDerivClass is derived from TBaseClass.
anonymous enum |
static Yes TSnap::IsDerivedFrom< TDerivClass, TBaseClass >::Test | ( | TBaseClass * | ) | [static, private] |
static No TSnap::IsDerivedFrom< TDerivClass, TBaseClass >::Test | ( | ... | ) | [static, private] |