From Jason Turner

[spanstream.cons]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp0w4ui6kd/{from.md → to.md} +20 -0
tmp/tmp0w4ui6kd/{from.md → to.md} RENAMED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #### Constructors <a id="spanstream.cons">[[spanstream.cons]]</a>
2
+
3
+ ``` cpp
4
+ explicit basic_spanstream(std::span<charT> s,
5
+ ios_base::openmode which = ios_base::out | ios_bas::in);
6
+ ```
7
+
8
+ *Effects:* Initializes the base class with
9
+ `basic_iostream<charT, traits>(addressof(sb))` and `sb` with
10
+ `basic_spanbuf<charT, traits>(s, which)` [[spanbuf.cons]].
11
+
12
+ ``` cpp
13
+ basic_spanstream(basic_spanstream&& rhs);
14
+ ```
15
+
16
+ *Effects:* Initializes the base class with `std::move(rhs)` and `sb`
17
+ with `std::move(rhs.sb)`. Next,
18
+ `basic_iostream<charT, traits>::set_rdbuf(addressof(sb))` is called to
19
+ install the contained `basic_spanbuf`.
20
+