basic_spanstream( basic_spanstream&& rhs );
basic_spanstream( const basic_spanstream& ) = delete;
Constructs a new
1) Uses the storage referenced by s as initial underlying buffer of the wrapped std::basic_spanbuf device. The wrapped std::basic_spanbuf object is constructed as basic_spanbuf<Char, Traits>(s, mode).
2) Move constructor. Move constructs the std::basic_iostream base subobject and the wrapped std::basic_spanbuf from those of rhs, and then calls set_rdbuf with the address of the wrapped std::basic_spanbuf in *this to install it.
3) Copy constructor is deleted.
basic_spanstreamis not copyable.
|s||-||std::span referencing the storage to be use as initial underlying buffer of stream|
|mode||-|| specifies stream open mode. Following constants and bit-wise OR between them may be used:
|other||-|| another |
May throw implementation-defined exceptions.
|This section is incomplete|
Reason: no example
 See also
| constructs a |
(public member function of