Source wrapper that holds a "std::reference_wrapper" to the underlying source. More...
#include <staticlib/io/reference_source.hpp>
Public Member Functions | |
| reference_source (Source &src) | |
| Constructor. | |
| reference_source (const reference_source &other) | |
| Copy constructor. | |
| reference_source & | operator= (const reference_source &other) |
| Copy assignment operator. | |
| reference_source (reference_source &&other) STATICLIB_NOEXCEPT | |
| Move constructor. | |
| reference_source & | operator= (reference_source &&other) STATICLIB_NOEXCEPT |
| Move assignment operator. | |
| std::streamsize | read (span< char > span) |
| Read implementation delegated to the underlying source. | |
| Source & | get_source () |
| Underlying source accessor. | |
Source wrapper that holds a "std::reference_wrapper" to the underlying source.
|
inlineexplicit |
Constructor.
| src | input source |
|
inline |
Copy constructor.
| other | instance |
|
inline |
Move constructor.
| other | other instance |
|
inline |
Underlying source accessor.
|
inline |
Copy assignment operator.
| other | instance |
|
inline |
Move assignment operator.
| other | other instance |
|
inline |
Read implementation delegated to the underlying source.
| span | buffer span |
1.8.1.2