diff --git a/hipamd/include/hip/hcc_detail/helpers.hpp b/hipamd/include/hip/hcc_detail/helpers.hpp index 1916945c1a..9366885f8b 100644 --- a/hipamd/include/hip/hcc_detail/helpers.hpp +++ b/hipamd/include/hip/hcc_detail/helpers.hpp @@ -84,12 +84,21 @@ struct is_callable_impl()(std::de // Not callable. template struct is_callable_impl : std::false_type {}; -#else +#elif (__cplusplus < 201703L) template struct is_callable_impl : std::false_type {}; template struct is_callable_impl > > : std::true_type {}; +#else + +// C++17 + +template +struct is_callable_impl : std::false_type {}; + +template +struct is_callable_impl > > : std::true_type {}; #endif template struct is_callable : is_callable_impl {};