dune-common  2.4.1
Classes | Public Types | Public Member Functions | List of all members
Dune::IsBaseOf< Base, Derived > Class Template Reference

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

#include <dune/common/typetraits.hh>

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
Basethe potential base class you want to test for
Derivedtype you want to test

Similar idea to this website

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: