I/O manipulators | ||||
Print functions(C++23) | ||||
C-style I/O | ||||
Buffers | ||||
(C++23) | ||||
(C++98/26*) | ||||
(C++20) | ||||
Streams | ||||
Abstractions | ||||
File I/O | ||||
String I/O | ||||
Array I/O | ||||
(C++23) | ||||
(C++23) | ||||
(C++23) | ||||
(C++98/26*) | ||||
(C++98/26*) | ||||
(C++98/26*) | ||||
Synchronized Output | ||||
(C++20) | ||||
Types | ||||
Error category interface | ||||
(C++11) | ||||
(C++11) |
explicit basic_spanstream(std::span<CharT> s,std::ios_base::openmode mode= std::ios_base::in|std::ios_base::out); | (1) | (since C++23) |
basic_spanstream( basic_spanstream&& rhs); | (2) | (since C++23) |
basic_spanstream(const basic_spanstream&)= delete; | (3) | (since C++23) |
Constructs a newbasic_spanstream
.
basic_spanstream
is not copyable.Contents |
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 | - | anotherbasic_spanstream to be moved from |
May throw implementation-defined exceptions.
This section is incomplete Reason: no example |
constructs abasic_spanbuf object(public member function of std::basic_spanbuf<CharT,Traits> )[edit] |