Sink implementation with no-op write method.
More...
#include <staticlib/io/null_sink.hpp>
Detailed Description
Sink implementation with no-op write method.
Constructor & Destructor Documentation
| staticlib::io::null_sink::null_sink |
( |
| ) |
|
|
inline |
| staticlib::io::null_sink::null_sink |
( |
const null_sink & |
| ) |
|
|
inline |
Copy constructor.
- Parameters
-
| staticlib::io::null_sink::null_sink |
( |
null_sink && |
| ) |
|
|
inline |
Move constructor.
- Parameters
-
Member Function Documentation
| std::streamsize staticlib::io::null_sink::flush |
( |
| ) |
|
|
inline |
No-op flush implementation.
- Returns
- 0
Copy assignment operator.
- Parameters
-
- Returns
- this instance
Move assignment operator.
- Parameters
-
- Returns
- this instance
| std::streamsize staticlib::io::null_sink::write |
( |
span< const char > |
span | ) |
|
|
inline |
No-op write implementation.
- Parameters
-
- Returns
- specified length
The documentation for this class was generated from the following file: