dune-common  2.5.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | List of all members
Dune::IsBaseOf< Base, Derived > Struct Template Reference

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

#include <dune/common/typetraits.hh>

Public Types

enum  { value = std::is_base_of<Base, Derived>::value }
 

Detailed Description

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

Checks whether a type is derived from another.

Template Parameters
Basethe potential base class you want to test for
Derivedtype you want to test

Member Enumeration Documentation

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

True if Base is a base class of Derived.


The documentation for this struct was generated from the following file: