diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-01-22 16:52:53 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-01-22 16:52:53 +0000 |
| commit | 375122a03b870ed00f2c4c452d8c939e2039ffec (patch) | |
| tree | 6f60e84686771f39ed56f3a3ac78871340a9097a /include/string | |
| parent | fd857c8184809f0fac54f7ec9d9e91477beb1b7d (diff) | |
Notes
Diffstat (limited to 'include/string')
| -rw-r--r-- | include/string | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/string b/include/string index 136a5fb8949d..7d7994eaca1b 100644 --- a/include/string +++ b/include/string @@ -818,6 +818,7 @@ public: operator __self_view() const _NOEXCEPT { return __self_view(data(), size()); } basic_string& operator=(const basic_string& __str); + template <class = void> _LIBCPP_INLINE_VISIBILITY basic_string& operator=(__self_view __sv) {return assign(__sv);} #ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES |
