Public Member Functions | |
| OptionalStream () | |
| Nothing to stream to. | |
| OptionalStream (std::ostream &os) | |
| Construct with a stream for use. | |
| OptionalStream (OptionalStream const &)=delete | |
| OptionalStream | operator= (OptionalStream const &)=delete |
| OptionalStream (OptionalStream &&other) | |
| ~OptionalStream () | |
| template<typename T > | |
| OptionalStream & | operator<< (T &&rhs) |
| template<typename T > | |
| OptionalStream & | operator<< (T const &rhs) |
| Stream me anything! (I might do nothing with it, but...) | |
Definition at line 41 of file OptionalStream.h.
|
inline |
clear the moved-from stream pointer
Definition at line 53 of file OptionalStream.h.
|
inline |
If we had a stream, put an endl on it.
Definition at line 58 of file OptionalStream.h.
|
inline |
Stream me anything! (I might do nothing with it, but...)
Definition at line 68 of file OptionalStream.h.