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;
25 template<
typename T,
typename =
void>
28 static const bool value =
false;
32 struct IsGridFunction<T, typename AlwaysVoid<TypeTree::ImplementationTag<T>>::type >
34 using A = TypeTree::ImplementationTag<T>;
50 #endif // DUNE_PDELAB_COMMON_TYPETRAITS_HH For backward compatibility – Do not use this!
Definition: adaptivity.hh:27
static const unsigned int value
Definition: gridfunctionspace/tags.hh:139
std::integral_constant< bool, impl::IsGridFunction< std::decay_t< T >>::value > IsGridFunction
Definition: typetraits.hh:45