diff --git a/include/boost/unordered/detail/foa/takes_arg_as_const_reference.hpp b/include/boost/unordered/detail/foa/takes_arg_as_const_reference.hpp index 26cc7a57..a5174273 100644 --- a/include/boost/unordered/detail/foa/takes_arg_as_const_reference.hpp +++ b/include/boost/unordered/detail/foa/takes_arg_as_const_reference.hpp @@ -61,9 +61,7 @@ struct takes_arg_as_const_reference0:std::false_type{}; template struct takes_arg_as_const_reference0< F,Arg, - boost::void_t< - decltype(check_function_1st_arg(std::declval())) - > + decltype(check_function_1st_arg(std::declval())) >:std::true_type{}; template @@ -83,13 +81,13 @@ template< typename RawF= typename std::remove_cv::type>::type > -using check_operator_call_takes_arg_as_reference= - decltype(check_memfun_1st_arg(&RawF::operator())); +decltype(check_memfun_1st_arg(&RawF::operator())) +check_operator_call_takes_arg_as_reference(); template struct takes_arg_as_const_reference< F,Arg, - boost::void_t> + decltype(check_operator_call_takes_arg_as_reference()) >:std::false_type{}; } /* namespace foa */