Checks wether a type is derived from another.
More...
#include <dune/common/typetraits.hh>
|
| enum | { value = sizeof(test(makePtr())) == sizeof(Small)
} |
| |
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
template<class Base , class Derived >
| Enumerator |
|---|
| value |
True if Base is a base class of Derived.
|
template<class Base , class Derived >
The documentation for this class was generated from the following file: