mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-24 20:29:39 +08:00
Fix GCC C++03 build by hiding default template argument in C++03
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@292830 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -818,7 +818,10 @@ public:
|
|||||||
operator __self_view() const _NOEXCEPT { return __self_view(data(), size()); }
|
operator __self_view() const _NOEXCEPT { return __self_view(data(), size()); }
|
||||||
|
|
||||||
basic_string& operator=(const basic_string& __str);
|
basic_string& operator=(const basic_string& __str);
|
||||||
|
|
||||||
|
#ifndef _LIBCPP_CXX03_LANG
|
||||||
template <class = void>
|
template <class = void>
|
||||||
|
#endif
|
||||||
_LIBCPP_INLINE_VISIBILITY
|
_LIBCPP_INLINE_VISIBILITY
|
||||||
basic_string& operator=(__self_view __sv) {return assign(__sv);}
|
basic_string& operator=(__self_view __sv) {return assign(__sv);}
|
||||||
#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
|
#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
|
||||||
|
|||||||
Reference in New Issue
Block a user