Lines Matching refs:basic_stringbuf
18 // Class template basic_stringbuf [stringbuf]
20 class basic_stringbuf
32 … explicit basic_stringbuf(ios_base::openmode which = ios_base::in | ios_base::out); // before C++20
33 basic_stringbuf() : basic_stringbuf(ios_base::in | ios_base::out) {} // C++20
34 explicit basic_stringbuf(ios_base::openmode which); // C++20
35 explicit basic_stringbuf(const basic_string<char_type, traits_type, allocator_type>& s,
37 explicit basic_stringbuf(const allocator_type& a)
38 : basic_stringbuf(ios_base::in | ios_base::out, a) {} // C++20
39 basic_stringbuf(ios_base::openmode which, const allocator_type& a); // C++20
40 explicit basic_stringbuf(basic_string<char_type, traits_type, allocator_type>&& s,
43 basic_stringbuf(const basic_string<char_type, traits_type, SAlloc>& s, const allocator_type& a)
44 : basic_stringbuf(s, ios_base::in | ios_base::out, a) {} // C++20
46 basic_stringbuf(const basic_string<char_type, traits_type, SAlloc>& s,
49 explicit basic_stringbuf(const basic_string<char_type, traits_type, SAlloc>& s,
51 basic_stringbuf(basic_stringbuf&& rhs);
52 basic_stringbuf(basic_stringbuf&& rhs, const allocator_type& a); // C++20
55 basic_stringbuf& operator=(basic_stringbuf&& rhs);
56 …void swap(basic_stringbuf& rhs) noexcept(see below); // conditionall…
85 void swap(basic_stringbuf<charT, traits, Allocator>& x,
86 basic_stringbuf<charT, traits, Allocator>& y); // conditionally noexcept since C++20
88 typedef basic_stringbuf<char> stringbuf;
89 typedef basic_stringbuf<wchar_t> wstringbuf;
129 basic_stringbuf<char_type, traits_type, allocator_type>* rdbuf() const;
188 basic_stringbuf<char_type, traits_type, allocator_type>* rdbuf() const;
247 basic_stringbuf<char_type, traits_type, allocator_type>* rdbuf() const;
300 // Class template basic_stringbuf [stringbuf]
303 class _LIBCPP_TEMPLATE_VIS basic_stringbuf : public basic_streambuf<_CharT, _Traits> {
319 _LIBCPP_HIDE_FROM_ABI void __move_init(basic_stringbuf&& __rhs);
323 _LIBCPP_HIDE_FROM_ABI basic_stringbuf() : __hm_(nullptr), __mode_(ios_base::in | ios_base::out) {}
325 …_LIBCPP_HIDE_FROM_ABI explicit basic_stringbuf(ios_base::openmode __wch) : __hm_(nullptr), __mode_…
327 _LIBCPP_HIDE_FROM_ABI explicit basic_stringbuf(const string_type& __s,
334 _LIBCPP_HIDE_FROM_ABI explicit basic_stringbuf(const allocator_type& __a)
335 : basic_stringbuf(ios_base::in | ios_base::out, __a) {}
337 _LIBCPP_HIDE_FROM_ABI basic_stringbuf(ios_base::openmode __wch, const allocator_type& __a)
340 _LIBCPP_HIDE_FROM_ABI explicit basic_stringbuf(string_type&& __s,
348 …basic_stringbuf(const basic_string<char_type, traits_type, _SAlloc>& __s, const allocator_type& __…
349 : basic_stringbuf(__s, ios_base::in | ios_base::out, __a) {}
352 _LIBCPP_HIDE_FROM_ABI basic_stringbuf(
360 …_LIBCPP_HIDE_FROM_ABI explicit basic_stringbuf(const basic_string<char_type, traits_type, _SAlloc>…
367 …basic_stringbuf(basic_stringbuf&& __rhs) : __mode_(__rhs.__mode_) { __move_init(std::move(__rhs));…
370 _LIBCPP_HIDE_FROM_ABI basic_stringbuf(basic_stringbuf&& __rhs, const allocator_type& __a)
371 : basic_stringbuf(__rhs.__mode_, __a) {
377 basic_stringbuf& operator=(basic_stringbuf&& __rhs);
378 void swap(basic_stringbuf& __rhs)
452 _LIBCPP_HIDE_FROM_ABI void basic_stringbuf<_CharT, _Traits, _Allocator>::__move_init(basic_stringbu…
488 basic_stringbuf<_CharT, _Traits, _Allocator>&
489 basic_stringbuf<_CharT, _Traits, _Allocator>::operator=(basic_stringbuf&& __rhs) {
531 void basic_stringbuf<_CharT, _Traits, _Allocator>::swap(basic_stringbuf& __rhs)
604 swap(basic_stringbuf<_CharT, _Traits, _Allocator>& __x, basic_stringbuf<_CharT, _Traits, _Allocator…
614 basic_string<_CharT, _Traits, _Allocator> basic_stringbuf<_CharT, _Traits, _Allocator>::str() const…
626 _LIBCPP_HIDE_FROM_ABI void basic_stringbuf<_CharT, _Traits, _Allocator>::__init_buf_ptrs() {
652 basic_stringbuf<_CharT, _Traits, _Allocator>::view() const noexcept {
664 typename basic_stringbuf<_CharT, _Traits, _Allocator>::int_type
665 basic_stringbuf<_CharT, _Traits, _Allocator>::underflow() {
678 typename basic_stringbuf<_CharT, _Traits, _Allocator>::int_type
679 basic_stringbuf<_CharT, _Traits, _Allocator>::pbackfail(int_type __c) {
697 typename basic_stringbuf<_CharT, _Traits, _Allocator>::int_type
698 basic_stringbuf<_CharT, _Traits, _Allocator>::overflow(int_type __c) {
732 typename basic_stringbuf<_CharT, _Traits, _Allocator>::pos_type basic_stringbuf<_CharT, _Traits, _A…
791 basic_stringbuf<char_type, traits_type, allocator_type> __sb_;
842 _LIBCPP_HIDE_FROM_ABI basic_stringbuf<char_type, traits_type, allocator_type>* rdbuf() const {
843 return const_cast<basic_stringbuf<char_type, traits_type, allocator_type>*>(&__sb_);
897 basic_stringbuf<char_type, traits_type, allocator_type> __sb_;
950 _LIBCPP_HIDE_FROM_ABI basic_stringbuf<char_type, traits_type, allocator_type>* rdbuf() const {
951 return const_cast<basic_stringbuf<char_type, traits_type, allocator_type>*>(&__sb_);
1005 basic_stringbuf<char_type, traits_type, allocator_type> __sb_;
1060 _LIBCPP_HIDE_FROM_ABI basic_stringbuf<char_type, traits_type, allocator_type>* rdbuf() const {
1061 return const_cast<basic_stringbuf<char_type, traits_type, allocator_type>*>(&__sb_);
1101 extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS basic_stringbuf<char>;