5 #ifndef DUNE_COMMON_CONCEPTS_HASHABLE_HH 6 #define DUNE_COMMON_CONCEPTS_HASHABLE_HH 9 #if __has_include(<version>) && __has_include(<concepts>) 11 #if __cpp_concepts >= 201907L && __cpp_lib_concepts >= 202002L 12 #ifndef DUNE_ENABLE_CONCEPTS 13 #define DUNE_ENABLE_CONCEPTS 1 18 #if DUNE_ENABLE_CONCEPTS 50 { std::hash<T>{}(a) } -> std::convertible_to<std::size_t>;
55 #endif // DUNE_ENABLE_CONCEPTS 57 #endif // DUNE_COMMON_CONCEPTS_HASHABLE_HH requires(((std::is_integral_v< I > or Dune::IsIntegralConstant< I >::value) &&...)) HybridMultiIndex(I... i) -> HybridMultiIndex< decltype(Impl::castToHybridSizeT(i))... >
Namespace for concepts.
Definition: concept.hh:33