Init
This commit is contained in:
117
cppdraft/stringstream/members.md
Normal file
117
cppdraft/stringstream/members.md
Normal file
@@ -0,0 +1,117 @@
|
||||
[stringstream.members]
|
||||
|
||||
# 31 Input/output library [[input.output]](./#input.output)
|
||||
|
||||
## 31.8 String-based streams [[string.streams]](string.streams#stringstream.members)
|
||||
|
||||
### 31.8.5 Class template basic_stringstream [[stringstream]](stringstream#members)
|
||||
|
||||
#### 31.8.5.4 Member functions [stringstream.members]
|
||||
|
||||
[ð](#lib:rdbuf,basic_stringstream)
|
||||
|
||||
`basic_stringbuf<charT, traits, Allocator>* rdbuf() const;
|
||||
`
|
||||
|
||||
[1](#1)
|
||||
|
||||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L9896)
|
||||
|
||||
*Returns*: const_cast<basic_stringbuf<charT, traits, Allocator>*>(addressof(*sb*))[.](#1.sentence-1)
|
||||
|
||||
[ð](#lib:str,basic_stringstream)
|
||||
|
||||
`basic_string<charT, traits, Allocator> str() const &;
|
||||
`
|
||||
|
||||
[2](#2)
|
||||
|
||||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L9907)
|
||||
|
||||
*Effects*: Equivalent to: return rdbuf()->str();
|
||||
|
||||
[ð](#lib:str,basic_stringstream_)
|
||||
|
||||
`template<class SAlloc>
|
||||
basic_string<charT,traits,SAlloc> str(const SAlloc& sa) const;
|
||||
`
|
||||
|
||||
[3](#3)
|
||||
|
||||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L9919)
|
||||
|
||||
*Effects*: Equivalent to: return rdbuf()->str(sa);
|
||||
|
||||
[ð](#lib:str,basic_stringstream__)
|
||||
|
||||
`basic_string<charT,traits,Allocator> str() &&;
|
||||
`
|
||||
|
||||
[4](#4)
|
||||
|
||||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L9930)
|
||||
|
||||
*Effects*: Equivalent to: return std::move(*rdbuf()).str();
|
||||
|
||||
[ð](#lib:view,basic_stringstream)
|
||||
|
||||
`basic_string_view<charT, traits> view() const noexcept;
|
||||
`
|
||||
|
||||
[5](#5)
|
||||
|
||||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L9941)
|
||||
|
||||
*Effects*: Equivalent to: return rdbuf()->view();
|
||||
|
||||
[ð](#lib:str,basic_stringstream___)
|
||||
|
||||
`void str(const basic_string<charT, traits, Allocator>& s);
|
||||
`
|
||||
|
||||
[6](#6)
|
||||
|
||||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L9952)
|
||||
|
||||
*Effects*: Equivalent to: rdbuf()->str(s);
|
||||
|
||||
[ð](#lib:str,basic_stringstream____)
|
||||
|
||||
`template<class SAlloc>
|
||||
void str(const basic_string<charT, traits, SAlloc>& s);
|
||||
`
|
||||
|
||||
[7](#7)
|
||||
|
||||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L9964)
|
||||
|
||||
*Effects*: Equivalent to: rdbuf()->str(s);
|
||||
|
||||
[ð](#lib:str,basic_stringstream_____)
|
||||
|
||||
`void str(basic_string<charT, traits, Allocator>&& s);
|
||||
`
|
||||
|
||||
[8](#8)
|
||||
|
||||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L9975)
|
||||
|
||||
*Effects*: Equivalent to: rdbuf()->str(std::move(s));
|
||||
|
||||
[ð](#lib:str,basic_stringstream______)
|
||||
|
||||
`template<class T>
|
||||
void str(const T& t);
|
||||
`
|
||||
|
||||
[9](#9)
|
||||
|
||||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L9987)
|
||||
|
||||
*Constraints*: is_convertible_v<const T&, basic_string_view<charT, traits>> is true[.](#9.sentence-1)
|
||||
|
||||
[10](#10)
|
||||
|
||||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L9992)
|
||||
|
||||
*Effects*: Equivalent to: rdbuf()->str(t);
|
||||
Reference in New Issue
Block a user