Dune::IsBaseOf< Base, Derived > Class Template Reference
[Common (foundation classes)]

Checks wether a type is derived from another. More...

#include <dune/common/typetraits.hh>

List of all members.

Classes

struct  Big

Public Types

enum  { value = sizeof(test(makePtr())) == sizeof(Small) }

Public Member Functions

 IsBaseOf ()

Detailed Description

template<class Base, class Derived>
class Dune::IsBaseOf< Base, Derived >

Checks wether a type is derived from another.

Template Parameters:
Base the potential base class you want to test for
Derived type you want to test

Similar idea to this website


Member Enumeration Documentation

template<class Base , class Derived >
anonymous enum
Enumerator:
value 

True if Base is a base class of Derived.


Constructor & Destructor Documentation

template<class Base , class Derived >
Dune::IsBaseOf< Base, Derived >::IsBaseOf (  )  [inline]

The documentation for this class was generated from the following file:
Generated on Mon Apr 26 10:45:24 2010 for dune-common by  doxygen 1.6.3