|
dune-common
2.2.0
|
Checks wether a type is derived from another. More...
#include <dune/common/typetraits.hh>
Classes | |
| struct | Big |
Public Types | |
| enum | { value = sizeof(test(makePtr())) == sizeof(Small) } |
Public Member Functions | |
| IsBaseOf () | |
Checks wether a type is derived from another.
| Base | the potential base class you want to test for |
| Derived | type you want to test |
Similar idea to this website
| anonymous enum |
| Dune::IsBaseOf< Base, Derived >::IsBaseOf | ( | ) | [inline] |
1.7.6.1