From Jason Turner

[ostringstream.members]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpjr3i8ifq/{from.md → to.md} +12 -1
tmp/tmpjr3i8ifq/{from.md → to.md} RENAMED
@@ -3,11 +3,11 @@
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
 
@@ -49,5 +49,16 @@ template<class SAlloc>
49
  void str(basic_string<charT, traits, Allocator>&& s);
50
  ```
51
 
52
  *Effects:* Equivalent to: `rdbuf()->str(std::move(s));`
53
 
 
 
 
 
 
 
 
 
 
 
 
 
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
 
 
49
  void str(basic_string<charT, traits, Allocator>&& s);
50
  ```
51
 
52
  *Effects:* Equivalent to: `rdbuf()->str(std::move(s));`
53
 
54
+ ``` cpp
55
+ template<class T>
56
+ void str(const T& t);
57
+ ```
58
+
59
+ *Constraints:*
60
+ `is_convertible_v<const T&, basic_string_view<charT, traits>>` is
61
+ `true`.
62
+
63
+ *Effects:* Equivalent to: `rdbuf()->str(t);`
64
+