From Jason Turner

[string.io]

Diff to HTML by rtfpessoa

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]]). After constructing a `sentry`
42
- object, if this object returns `true` when converted to a value of type
43
- `bool`, determines padding as described in  [[facet.num.put.virtuals]],
44
- then inserts the resulting sequence of characters `seq` as if by calling
45
- `os.rdbuf()->sputn(seq, n)`, where `n` is the larger of `os.width()` and
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>