From Jason Turner

[stringstream.members]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmprt_2fh1u/{from.md → to.md} +38 -5
tmp/tmprt_2fh1u/{from.md → to.md} RENAMED
@@ -2,19 +2,52 @@
2
 
3
  ``` cpp
4
  basic_stringbuf<charT, traits, Allocator>* rdbuf() const;
5
  ```
6
 
7
- *Returns:* `const_cast<basic_stringbuf<charT, traits, Allocator>*>(&sb)`
 
8
 
9
  ``` cpp
10
- basic_string<charT, traits, Allocator> str() const;
11
  ```
12
 
13
- *Returns:* `rdbuf()->str()`.
14
 
15
  ``` cpp
16
- void str(const basic_string<charT, traits, Allocator>& str);
 
17
  ```
18
 
19
- *Effects:* Calls `rdbuf()->str(str)`.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
 
 
2
 
3
  ``` cpp
4
  basic_stringbuf<charT, traits, Allocator>* rdbuf() const;
5
  ```
6
 
7
+ *Returns:*
8
+ `const_cast<basic_stringbuf<charT, traits, Allocator>*>(addressof(sb))`.
9
 
10
  ``` cpp
11
+ basic_string<charT, traits, Allocator> str() const &;
12
  ```
13
 
14
+ *Effects:* Equivalent to: `return rdbuf()->str();`
15
 
16
  ``` cpp
17
+ template<class SAlloc>
18
+ basic_string<charT,traits,SAlloc> str(const SAlloc& sa) const;
19
  ```
20
 
21
+ *Effects:* Equivalent to: `return rdbuf()->str(sa);`
22
+
23
+ ``` cpp
24
+ basic_string<charT,traits,Allocator> str() &&;
25
+ ```
26
+
27
+ *Effects:* Equivalent to: `return std::move(*rdbuf()).str();`
28
+
29
+ ``` cpp
30
+ basic_string_view<charT, traits> view() const noexcept;
31
+ ```
32
+
33
+ *Effects:* Equivalent to: `return rdbuf()->view();`
34
+
35
+ ``` cpp
36
+ void str(const basic_string<charT, traits, Allocator>& s);
37
+ ```
38
+
39
+ *Effects:* Equivalent to: `rdbuf()->str(s);`
40
+
41
+ ``` cpp
42
+ template<class SAlloc>
43
+ void str(const basic_string<charT, traits, SAlloc>& s);
44
+ ```
45
+
46
+ *Effects:* Equivalent to: `rdbuf()->str(s);`
47
+
48
+ ``` cpp
49
+ void str(basic_string<charT, traits, Allocator>&& s);
50
+ ```
51
+
52
+ *Effects:* Equivalent to: `rdbuf()->str(std::move(s));`
53