diff options
Diffstat (limited to 'libstdc++-v3/include/bits/streambuf_iterator.h')
-rw-r--r-- | libstdc++-v3/include/bits/streambuf_iterator.h | 39 |
1 files changed, 20 insertions, 19 deletions
diff --git a/libstdc++-v3/include/bits/streambuf_iterator.h b/libstdc++-v3/include/bits/streambuf_iterator.h index 4691531..8c76013 100644 --- a/libstdc++-v3/include/bits/streambuf_iterator.h +++ b/libstdc++-v3/include/bits/streambuf_iterator.h @@ -44,8 +44,8 @@ _GLIBCXX_BEGIN_NAMESPACE(std) template<typename _CharT> - typename __enable_if<ostreambuf_iterator<_CharT>, - __is_char<_CharT>::__value>::__type + typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, + ostreambuf_iterator<_CharT> >::__type copy(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>, ostreambuf_iterator<_CharT>); @@ -68,20 +68,20 @@ _GLIBCXX_BEGIN_NAMESPACE(std) //@} template<typename _CharT2> - friend typename __enable_if<ostreambuf_iterator<_CharT2>, - __is_char<_CharT2>::__value>::__type + friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, + ostreambuf_iterator<_CharT2> >::__type copy(istreambuf_iterator<_CharT2>, istreambuf_iterator<_CharT2>, ostreambuf_iterator<_CharT2>); template<typename _CharT2> - friend typename __enable_if<_CharT2*, - __is_char<_CharT2>::__value>::__type + friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, + _CharT2*>::__type __copy_aux(istreambuf_iterator<_CharT2>, istreambuf_iterator<_CharT2>, _CharT2*); template<typename _CharT2> - friend typename __enable_if<istreambuf_iterator<_CharT2>, - __is_char<_CharT2>::__value>::__type + friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, + istreambuf_iterator<_CharT2> >::__type find(istreambuf_iterator<_CharT2>, istreambuf_iterator<_CharT2>, const _CharT2&); @@ -224,8 +224,8 @@ _GLIBCXX_BEGIN_NAMESPACE(std) //@} template<typename _CharT2> - friend typename __enable_if<ostreambuf_iterator<_CharT2>, - __is_char<_CharT2>::__value>::__type + friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, + ostreambuf_iterator<_CharT2> >::__type copy(istreambuf_iterator<_CharT2>, istreambuf_iterator<_CharT2>, ostreambuf_iterator<_CharT2>); @@ -285,8 +285,8 @@ _GLIBCXX_BEGIN_NAMESPACE(std) // Overloads for streambuf iterators. template<typename _CharT> - typename __enable_if<ostreambuf_iterator<_CharT>, - __is_char<_CharT>::__value>::__type + typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, + ostreambuf_iterator<_CharT> >::__type copy(istreambuf_iterator<_CharT> __first, istreambuf_iterator<_CharT> __last, ostreambuf_iterator<_CharT> __result) @@ -302,8 +302,8 @@ _GLIBCXX_BEGIN_NAMESPACE(std) } template<typename _CharT> - typename __enable_if<ostreambuf_iterator<_CharT>, - __is_char<_CharT>::__value>::__type + typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, + ostreambuf_iterator<_CharT> >::__type __copy_aux(_CharT* __first, _CharT* __last, ostreambuf_iterator<_CharT> __result) { @@ -314,8 +314,8 @@ _GLIBCXX_BEGIN_NAMESPACE(std) } template<typename _CharT> - typename __enable_if<ostreambuf_iterator<_CharT>, - __is_char<_CharT>::__value>::__type + typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, + ostreambuf_iterator<_CharT> >::__type __copy_aux(const _CharT* __first, const _CharT* __last, ostreambuf_iterator<_CharT> __result) { @@ -326,7 +326,8 @@ _GLIBCXX_BEGIN_NAMESPACE(std) } template<typename _CharT> - typename __enable_if<_CharT*, __is_char<_CharT>::__value>::__type + typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, + _CharT*>::__type __copy_aux(istreambuf_iterator<_CharT> __first, istreambuf_iterator<_CharT> __last, _CharT* __result) { @@ -360,8 +361,8 @@ _GLIBCXX_BEGIN_NAMESPACE(std) } template<typename _CharT> - typename __enable_if<istreambuf_iterator<_CharT>, - __is_char<_CharT>::__value>::__type + typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, + istreambuf_iterator<_CharT> >::__type find(istreambuf_iterator<_CharT> __first, istreambuf_iterator<_CharT> __last, const _CharT& __val) { |