diff options
author | Mikhail Borisov <borisov.mikhail@gmail.com> | 2022-02-10 16:45:40 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:40 +0300 |
commit | 5d50718e66d9c037dc587a0211110b7d25a66185 (patch) | |
tree | e98df59de24d2ef7c77baed9f41e4875a2fef972 /contrib/libs/cxxsupp/libcxx/include/sstream | |
parent | a6a92afe03e02795227d2641b49819b687f088f8 (diff) | |
download | ydb-5d50718e66d9c037dc587a0211110b7d25a66185.tar.gz |
Restoring authorship annotation for Mikhail Borisov <borisov.mikhail@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/cxxsupp/libcxx/include/sstream')
-rw-r--r-- | contrib/libs/cxxsupp/libcxx/include/sstream | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/include/sstream b/contrib/libs/cxxsupp/libcxx/include/sstream index a130aa97d7..fbe5ffcab4 100644 --- a/contrib/libs/cxxsupp/libcxx/include/sstream +++ b/contrib/libs/cxxsupp/libcxx/include/sstream @@ -256,7 +256,7 @@ protected: virtual pos_type seekpos(pos_type __sp, ios_base::openmode __wch = ios_base::in | ios_base::out) { return seekoff(__sp, ios_base::beg, __wch); - } + } }; template <class _CharT, class _Traits, class _Allocator> @@ -656,31 +656,31 @@ public: basic_istringstream(basic_istringstream&& __rhs) : basic_istream<_CharT, _Traits>(_VSTD::move(__rhs)) , __sb_(_VSTD::move(__rhs.__sb_)) - { - basic_istream<_CharT, _Traits>::set_rdbuf(&__sb_); - } + { + basic_istream<_CharT, _Traits>::set_rdbuf(&__sb_); + } // 27.8.2.2 Assign and swap: basic_istringstream& operator=(basic_istringstream&& __rhs) { - basic_istream<char_type, traits_type>::operator=(_VSTD::move(__rhs)); - __sb_ = _VSTD::move(__rhs.__sb_); - return *this; - } + basic_istream<char_type, traits_type>::operator=(_VSTD::move(__rhs)); + __sb_ = _VSTD::move(__rhs.__sb_); + return *this; + } _LIBCPP_INLINE_VISIBILITY void swap(basic_istringstream& __rhs) { - basic_istream<char_type, traits_type>::swap(__rhs); - __sb_.swap(__rhs.__sb_); - } + basic_istream<char_type, traits_type>::swap(__rhs); + __sb_.swap(__rhs.__sb_); + } // 27.8.2.3 Members: _LIBCPP_INLINE_VISIBILITY basic_stringbuf<char_type, traits_type, allocator_type>* rdbuf() const { - return const_cast<basic_stringbuf<char_type, traits_type, allocator_type>*>(&__sb_); - } + return const_cast<basic_stringbuf<char_type, traits_type, allocator_type>*>(&__sb_); + } _LIBCPP_INLINE_VISIBILITY string_type str() const { - return __sb_.str(); - } + return __sb_.str(); + } _LIBCPP_INLINE_VISIBILITY void str(const string_type& __s) { __sb_.str(__s); @@ -736,32 +736,32 @@ public: basic_ostringstream(basic_ostringstream&& __rhs) : basic_ostream<_CharT, _Traits>(_VSTD::move(__rhs)) , __sb_(_VSTD::move(__rhs.__sb_)) - { - basic_ostream<_CharT, _Traits>::set_rdbuf(&__sb_); - } + { + basic_ostream<_CharT, _Traits>::set_rdbuf(&__sb_); + } // 27.8.2.2 Assign and swap: basic_ostringstream& operator=(basic_ostringstream&& __rhs) { - basic_ostream<char_type, traits_type>::operator=(_VSTD::move(__rhs)); - __sb_ = _VSTD::move(__rhs.__sb_); - return *this; - } + basic_ostream<char_type, traits_type>::operator=(_VSTD::move(__rhs)); + __sb_ = _VSTD::move(__rhs.__sb_); + return *this; + } _LIBCPP_INLINE_VISIBILITY void swap(basic_ostringstream& __rhs) { - basic_ostream<char_type, traits_type>::swap(__rhs); - __sb_.swap(__rhs.__sb_); - } + basic_ostream<char_type, traits_type>::swap(__rhs); + __sb_.swap(__rhs.__sb_); + } // 27.8.2.3 Members: _LIBCPP_INLINE_VISIBILITY basic_stringbuf<char_type, traits_type, allocator_type>* rdbuf() const { - return const_cast<basic_stringbuf<char_type, traits_type, allocator_type>*>(&__sb_); - } + return const_cast<basic_stringbuf<char_type, traits_type, allocator_type>*>(&__sb_); + } _LIBCPP_INLINE_VISIBILITY string_type str() const { - return __sb_.str(); - } + return __sb_.str(); + } _LIBCPP_INLINE_VISIBILITY void str(const string_type& __s) { __sb_.str(__s); @@ -817,31 +817,31 @@ public: basic_stringstream(basic_stringstream&& __rhs) : basic_iostream<_CharT, _Traits>(_VSTD::move(__rhs)) , __sb_(_VSTD::move(__rhs.__sb_)) - { - basic_istream<_CharT, _Traits>::set_rdbuf(&__sb_); - } + { + basic_istream<_CharT, _Traits>::set_rdbuf(&__sb_); + } // 27.8.2.2 Assign and swap: basic_stringstream& operator=(basic_stringstream&& __rhs) { - basic_iostream<char_type, traits_type>::operator=(_VSTD::move(__rhs)); - __sb_ = _VSTD::move(__rhs.__sb_); - return *this; - } + basic_iostream<char_type, traits_type>::operator=(_VSTD::move(__rhs)); + __sb_ = _VSTD::move(__rhs.__sb_); + return *this; + } _LIBCPP_INLINE_VISIBILITY void swap(basic_stringstream& __rhs) { - basic_iostream<char_type, traits_type>::swap(__rhs); - __sb_.swap(__rhs.__sb_); - } + basic_iostream<char_type, traits_type>::swap(__rhs); + __sb_.swap(__rhs.__sb_); + } // 27.8.2.3 Members: _LIBCPP_INLINE_VISIBILITY basic_stringbuf<char_type, traits_type, allocator_type>* rdbuf() const { - return const_cast<basic_stringbuf<char_type, traits_type, allocator_type>*>(&__sb_); - } + return const_cast<basic_stringbuf<char_type, traits_type, allocator_type>*>(&__sb_); + } _LIBCPP_INLINE_VISIBILITY string_type str() const { - return __sb_.str(); - } + return __sb_.str(); + } _LIBCPP_INLINE_VISIBILITY void str(const string_type& __s) { __sb_.str(__s); |