4 #ifndef DUNE_PDELAB_COMMON_TYPETRAITS_HH
5 #define DUNE_PDELAB_COMMON_TYPETRAITS_HH
7 #include <dune/common/typetraits.hh>
8 #include <dune/typetree/typetraits.hh>
14 using TypeTree::AlwaysVoid;
17 struct GridFunctionTag;
18 struct PowerGridFunctionTag;
19 struct CompositeGridFunctionTag;
21 template<
typename T,
typename =
void>
24 static const bool value =
false;
28 struct IsGridFunction<T, typename AlwaysVoid<typename T::ImplementationTag>::type >
30 typedef typename T::ImplementationTag
A;
39 #endif // DUNE_PDELAB_COMMON_TYPETRAITS_HH
Definition: typetraits.hh:22
T::ImplementationTag A
Definition: typetraits.hh:30
static const bool value
Definition: typetraits.hh:24
static const unsigned int value
Definition: gridfunctionspace/tags.hh:175