Fix GCC C++03 build by hiding default template argument in C++03

llvm-svn: 292830
This commit is contained in:
Eric Fiselier 2017-01-23 21:24:58 +00:00
parent c3a035d86f
commit 5363be7a9c
1 changed files with 3 additions and 0 deletions

View File

@ -818,7 +818,10 @@ public:
operator __self_view() const _NOEXCEPT { return __self_view(data(), size()); }
basic_string& operator=(const basic_string& __str);
#ifndef _LIBCPP_CXX03_LANG
template <class = void>
#endif
_LIBCPP_INLINE_VISIBILITY
basic_string& operator=(__self_view __sv) {return assign(__sv);}
#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES