dune-common 2.1.1
|
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] |