tmp/tmpm13s5peq/{from.md → to.md}
RENAMED
|
@@ -36,16 +36,16 @@ template<class charT, class traits, class Allocator>
|
|
| 36 |
operator<<(basic_ostream<charT, traits>& os,
|
| 37 |
const basic_string<charT,traits,Allocator>& str);
|
| 38 |
```
|
| 39 |
|
| 40 |
*Effects:* Behaves as a formatted output
|
| 41 |
-
function ([[ostream.formatted.reqmts]])
|
| 42 |
-
|
| 43 |
-
`
|
| 44 |
-
|
| 45 |
-
`os.rdbuf()->sputn(seq, n)`, where `n` is the larger of
|
| 46 |
-
`str.size()`; then calls `os.width(0)`.
|
| 47 |
|
| 48 |
*Returns:* `os`
|
| 49 |
|
| 50 |
``` cpp
|
| 51 |
template<class charT, class traits, class Allocator>
|
|
|
|
| 36 |
operator<<(basic_ostream<charT, traits>& os,
|
| 37 |
const basic_string<charT,traits,Allocator>& str);
|
| 38 |
```
|
| 39 |
|
| 40 |
*Effects:* Behaves as a formatted output
|
| 41 |
+
function ([[ostream.formatted.reqmts]]) of `os`. Forms a character
|
| 42 |
+
sequence `seq`, initially consisting of the elements defined by the
|
| 43 |
+
range \[`str.begin(), str.end()`). Determines padding for `seq` as
|
| 44 |
+
described in [[ostream.formatted.reqmts]]. Then inserts `seq` as if by
|
| 45 |
+
calling `os.rdbuf()->sputn(seq, n)`, where `n` is the larger of
|
| 46 |
+
`os.width()` and `str.size()`; then calls `os.width(0)`.
|
| 47 |
|
| 48 |
*Returns:* `os`
|
| 49 |
|
| 50 |
``` cpp
|
| 51 |
template<class charT, class traits, class Allocator>
|