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,
52 explicit basic_stringbuf(const T& t,
55basic_stringbuf(const T& t, const Allocator& a); // Since C++26
57basic_stringbuf(const T& t, ios_base::openmode which, const Allocator& a); // Since C++26
58 basic_stringbuf(const basic_stringbuf&) = delete;
59 basic_stringbuf(basic_stringbuf&& rhs);
60 basic_stringbuf(basic_stringbuf&& rhs, const allocator_type& a); // C++20
63 basic_stringbuf& operator=(const basic_stringbuf&) = delete;
64 basic_stringbuf& operator=(basic_stringbuf&& rhs);
65 …void swap(basic_stringbuf& rhs) noexcept(see below); // conditionall…
96 void swap(basic_stringbuf<charT, traits, Allocator>& x,
97 basic_stringbuf<charT, traits, Allocator>& y); // conditionally noexcept since C++20
99 typedef basic_stringbuf<char> stringbuf;
100 typedef basic_stringbuf<wchar_t> wstringbuf;
148 basic_stringbuf<char_type, traits_type, allocator_type>* rdbuf() const;
217 basic_stringbuf<char_type, traits_type, allocator_type>* rdbuf() const;
287 basic_stringbuf<char_type, traits_type, allocator_type>* rdbuf() const;
334 // Class template basic_stringbuf [stringbuf]
337 class _LIBCPP_TEMPLATE_VIS basic_stringbuf : public basic_streambuf<_CharT, _Traits> {
353 _LIBCPP_HIDE_FROM_ABI void __move_init(basic_stringbuf&& __rhs);
357 _LIBCPP_HIDE_FROM_ABI basic_stringbuf() : __hm_(nullptr), __mode_(ios_base::in | ios_base::out) {}
359 …_LIBCPP_HIDE_FROM_ABI explicit basic_stringbuf(ios_base::openmode __wch) : __hm_(nullptr), __mode_…
361 _LIBCPP_HIDE_FROM_ABI explicit basic_stringbuf(const string_type& __s,
367 basic_stringbuf(const basic_stringbuf&) = delete;
368basic_stringbuf(basic_stringbuf&& __rhs) : __mode_(__rhs.__mode_) { __move_init(std::move(__rhs));…
371 basic_stringbuf& operator=(const basic_stringbuf&) = delete;
372 basic_stringbuf& operator=(basic_stringbuf&& __rhs);
373 void swap(basic_stringbuf& __rhs);
398 _LIBCPP_HIDE_FROM_ABI void basic_stringbuf<_CharT, _Traits, _Allocator>::__move_init(basic_stringbu…
434 basic_stringbuf<_CharT, _Traits, _Allocator>&
435 basic_stringbuf<_CharT, _Traits, _Allocator>::operator=(basic_stringbuf&& __rhs) {
477 void basic_stringbuf<_CharT, _Traits, _Allocator>::swap(basic_stringbuf& __rhs) {
545 swap(basic_stringbuf<_CharT, _Traits, _Allocator>& __x, basic_stringbuf<_CharT, _Traits, _Allocator…
550 basic_string<_CharT, _Traits, _Allocator> basic_stringbuf<_CharT, _Traits, _Allocator>::str() const…
561 _LIBCPP_HIDE_FROM_ABI void basic_stringbuf<_CharT, _Traits, _Allocator>::__init_buf_ptrs() {
585 typename basic_stringbuf<_CharT, _Traits, _Allocator>::int_type
586 basic_stringbuf<_CharT, _Traits, _Allocator>::underflow() {
599 typename basic_stringbuf<_CharT, _Traits, _Allocator>::int_type
600 basic_stringbuf<_CharT, _Traits, _Allocator>::pbackfail(int_type __c) {
618 typename basic_stringbuf<_CharT, _Traits, _Allocator>::int_type
619 basic_stringbuf<_CharT, _Traits, _Allocator>::overflow(int_type __c) {
653 typename basic_stringbuf<_CharT, _Traits, _Allocator>::pos_type basic_stringbuf<_CharT, _Traits, _A…
712 basic_stringbuf<char_type, traits_type, allocator_type> __sb_;
743 _LIBCPP_HIDE_FROM_ABI basic_stringbuf<char_type, traits_type, allocator_type>* rdbuf() const {
744 return const_cast<basic_stringbuf<char_type, traits_type, allocator_type>*>(&__sb_);
773 basic_stringbuf<char_type, traits_type, allocator_type> __sb_;
805 _LIBCPP_HIDE_FROM_ABI basic_stringbuf<char_type, traits_type, allocator_type>* rdbuf() const {
806 return const_cast<basic_stringbuf<char_type, traits_type, allocator_type>*>(&__sb_);
834 basic_stringbuf<char_type, traits_type, allocator_type> __sb_;
867 _LIBCPP_HIDE_FROM_ABI basic_stringbuf<char_type, traits_type, allocator_type>* rdbuf() const {
868 return const_cast<basic_stringbuf<char_type, traits_type, allocator_type>*>(&__sb_);
883 extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS basic_stringbuf<char>;