22 #ifndef RAJA_util_EnableIf_HPP
23 #define RAJA_util_EnableIf_HPP
25 #include "RAJA/config.hpp"
27 #include <type_traits>
29 #include "camp/list.hpp"
30 #include "camp/type_traits.hpp"
40 template<
typename T,
typename TypeList>
43 template<
typename T,
typename... Types>
45 : ::RAJA::concepts::any_of<::camp::is_same<T, Types>...>
48 template<
typename T,
typename TypeList>
51 template<
typename T,
typename TypeList>
53 std::enable_if_t<::RAJA::concepts::negate<is_any_of<T, TypeList>>::value,
Header file for RAJA concept definitions.
std::enable_if_t< is_any_of< T, TypeList >::value, T > enable_if_is_any_of
Definition: EnableIf.hpp:49
std::enable_if_t<::RAJA::concepts::negate< is_any_of< T, TypeList > >::value, T > enable_if_is_none_of
Definition: EnableIf.hpp:54
Definition: AlignedRangeIndexSetBuilders.cpp:35
Definition: EnableIf.hpp:41