From Jason Turner

[string.view.io]

Diff to HTML by rtfpessoa

tmp/tmpwsd4tcxn/{from.md → to.md} RENAMED
@@ -1,16 +1,15 @@
1
  ### Inserters and extractors <a id="string.view.io">[[string.view.io]]</a>
2
 
3
  ``` cpp
4
  template<class charT, class traits>
5
  basic_ostream<charT, traits>&
6
- operator<<(basic_ostream<charT, traits>& os,
7
- basic_string_view<charT, traits> str);
8
  ```
9
 
10
  *Effects:* Behaves as a formatted output
11
- function ([[ostream.formatted.reqmts]]) of `os`. Forms a character
12
  sequence `seq`, initially consisting of the elements defined by the
13
  range \[`str.begin()`, `str.end()`). Determines padding for `seq` as
14
  described in  [[ostream.formatted.reqmts]]. Then inserts `seq` as if by
15
  calling `os.rdbuf()->sputn(seq, n)`, where `n` is the larger of
16
  `os.width()` and `str.size()`; then calls `os.width(0)`.
 
1
  ### Inserters and extractors <a id="string.view.io">[[string.view.io]]</a>
2
 
3
  ``` cpp
4
  template<class charT, class traits>
5
  basic_ostream<charT, traits>&
6
+ operator<<(basic_ostream<charT, traits>& os, basic_string_view<charT, traits> str);
 
7
  ```
8
 
9
  *Effects:* Behaves as a formatted output
10
+ function [[ostream.formatted.reqmts]] of `os`. Forms a character
11
  sequence `seq`, initially consisting of the elements defined by the
12
  range \[`str.begin()`, `str.end()`). Determines padding for `seq` as
13
  described in  [[ostream.formatted.reqmts]]. Then inserts `seq` as if by
14
  calling `os.rdbuf()->sputn(seq, n)`, where `n` is the larger of
15
  `os.width()` and `str.size()`; then calls `os.width(0)`.