SNAP Library, User Reference  2012-10-02 12:56:23
SNAP, a general purpose network analysis and graph mining library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
TSnap::IsDerivedFrom< TDerivClass, TBaseClass > Class Template Reference

Tests (at complile time) whether TDerivClass is derived from TBaseClass. More...

List of all members.

Classes

struct  No
struct  Yes

Public Types

enum  { Val = sizeof(Test(static_cast<TDerivClass*>(0))) == sizeof(Yes) ? 1 : 0 }

Detailed Description

template<class TDerivClass, class TBaseClass>
class TSnap::IsDerivedFrom< TDerivClass, TBaseClass >

Tests (at complile time) whether TDerivClass is derived from TBaseClass.


Member Enumeration Documentation

template<class TDerivClass , class TBaseClass >
anonymous enum
Enumerator:
Val 

The documentation for this class was generated from the following file: