Remove C++14-ism

This commit is contained in:
Peter Dimov
2023-10-29 01:41:50 +03:00
parent d38e54d4c3
commit 0cd351014b

View File

@ -897,7 +897,7 @@ template<class T, class U> struct is_value_convertible_to: std::is_convertible<T
template<class T, class U> struct is_value_convertible_to<T, U&>:
std::integral_constant<bool,
std::is_lvalue_reference<T>::value &&
std::is_convertible<std::remove_reference_t<T>*, U*>::value>
std::is_convertible<typename std::remove_reference<T>::type*, U*>::value>
{
};