Source implementation that wraps a pointer to the "std::streambuf". More...
#include <staticlib/io/streambuf_source.hpp>
Public Member Functions | |
| streambuf_source (std::streambuf *streambuf) | |
| Constructor. | |
| streambuf_source (const streambuf_source &) | |
| Deleted copy constructor. | |
| streambuf_source & | operator= (const streambuf_source &) |
| Deleted copy assignment operator. | |
| streambuf_source (streambuf_source &&other) STATICLIB_NOEXCEPT | |
| Move constructor. | |
| streambuf_source & | operator= (streambuf_source &&other) STATICLIB_NOEXCEPT |
| Move assignment operator. | |
| std::streamsize | read (span< char > span) |
| Read implementation delegated to the underlying streambuf. | |
Source implementation that wraps a pointer to the "std::streambuf".
|
inlineexplicit |
Constructor.
| streambuf | input streambuf |
| staticlib::io::streambuf_source::streambuf_source | ( | const streambuf_source & | ) |
Deleted copy constructor.
| other | instance |
|
inline |
Move constructor.
| other | other instance |
| streambuf_source& staticlib::io::streambuf_source::operator= | ( | const streambuf_source & | ) |
Deleted copy assignment operator.
| other | instance |
|
inline |
Move assignment operator.
| other | other instance |
|
inline |
Read implementation delegated to the underlying streambuf.
| span | buffer span |
1.8.1.2