diff --git a/btas/type_traits.h b/btas/type_traits.h index af466612..1c5942d5 100644 --- a/btas/type_traits.h +++ b/btas/type_traits.h @@ -131,29 +131,29 @@ namespace btas { constexpr static bool has_data_v().data())>> = true; template - constexpr static bool has_size_v = false; + inline constexpr bool has_size_v = false; template - constexpr static bool has_size_v().size())>> = true; + inline constexpr bool has_size_v().size())>> = true; template - constexpr static bool has_nonmember_begin_v = has_begin_v; // if have member begin, std::begin will apply + inline constexpr bool has_nonmember_begin_v = has_begin_v; // if have member begin, std::begin will apply template - constexpr static bool has_nonmember_begin_v()))>> = true; + inline constexpr bool has_nonmember_begin_v()))>> = true; template - constexpr static bool has_nonmember_end_v = has_end_v; // if have member end, std::end will apply + inline constexpr bool has_nonmember_end_v = has_end_v; // if have member end, std::end will apply template - constexpr static bool has_nonmember_end_v()))>> = true; + inline constexpr bool has_nonmember_end_v()))>> = true; template - constexpr static bool has_nonmember_data_v = has_data_v; // if have member data, std::data will apply + inline constexpr bool has_nonmember_data_v = has_data_v; // if have member data, std::data will apply template - constexpr static bool has_nonmember_data_v()))>> = true; + inline constexpr bool has_nonmember_data_v()))>> = true; template - constexpr static bool has_nonmember_size_v = has_end_v; // if have member size, std::size will apply + inline constexpr bool has_nonmember_size_v = has_end_v; // if have member size, std::size will apply template - constexpr static bool has_nonmember_size_v()))>> = true; + inline constexpr bool has_nonmember_size_v()))>> = true; // Checks if an iterator is random access template