3 #ifndef DUNE_COMMON_TYPEUTILITIES_HH 4 #define DUNE_COMMON_TYPEUTILITIES_HH 23 template<
class This,
class... T>
24 struct disableCopyMoveHelper :
public std::is_base_of<This, std::tuple_element_t<0, std::tuple<std::decay_t<T>...>>>
28 struct disableCopyMoveHelper<This> :
public std::false_type
42 template<
class This,
class... T>
43 using disableCopyMove = std::enable_if_t< not Impl::disableCopyMoveHelper<This, T...>::value,
int>;
69 template<std::
size_t priority>
91 #endif // DUNE_COMMON_TYPEUTILITIES_HH std::enable_if_t< not Impl::disableCopyMoveHelper< This, T... >::value, int > disableCopyMove
Helper to disable constructor as copy and move constructor.
Definition: typeutilities.hh:43
Dune namespace.
Definition: alignedallocator.hh:9
Helper class for tagging priorities.
Definition: typeutilities.hh:70