2016-12-07 Jonathan Wakely <jwakely@redhat.com>
+ * include/experimental/bits/fs_path.h (path::_S_convert): Replace
+ uses of C++14 std::remove_cv_t alias template.
+
* testsuite/28_regex/traits/char/user_defined.cc: Replace uses of
C++14 std::exchange function.
_S_convert(_Iter __first, _Iter __last)
{
using __value_type = typename std::iterator_traits<_Iter>::value_type;
- return _Cvt<remove_cv_t<__value_type>>::_S_convert(__first, __last);
+ return _Cvt<typename remove_cv<__value_type>::type>::
+ _S_convert(__first, __last);
}
template<typename _InputIterator>
_S_convert(_InputIterator __src, __null_terminated)
{
using _Tp = typename std::iterator_traits<_InputIterator>::value_type;
- std::basic_string<remove_cv_t<_Tp>> __tmp;
+ std::basic_string<typename remove_cv<_Tp>::type> __tmp;
for (; *__src != _Tp{}; ++__src)
__tmp.push_back(*__src);
return _S_convert(__tmp.c_str(), __tmp.c_str() + __tmp.size());