tmp/tmpgcahymvw/{from.md → to.md}
RENAMED
|
@@ -3,19 +3,51 @@
|
|
| 3 |
``` cpp
|
| 4 |
basic_stringbuf<charT, traits, Allocator>* rdbuf() const;
|
| 5 |
```
|
| 6 |
|
| 7 |
*Returns:*
|
| 8 |
-
`const_cast<basic_stringbuf<charT, traits, Allocator>*>(
|
| 9 |
|
| 10 |
``` cpp
|
| 11 |
-
basic_string<charT, traits, Allocator> str() const;
|
| 12 |
```
|
| 13 |
|
| 14 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
``` cpp
|
| 17 |
void str(const basic_string<charT, traits, Allocator>& s);
|
| 18 |
```
|
| 19 |
|
| 20 |
-
*Effects:*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
|
|
|
|
| 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 |
|