Replicates the well known end of line/flush combination. More...
#include <end_of_line.hpp>
Public Member Functions | |
template<typename ODevice > | |
void | action (interfaces::OutputTextStream< ODevice, true > &ostream) |
Forces an end of line character/flush combination. More... | |
virtual | ~EndOfLine () |
Public Member Functions inherited from ecl::Manipulator< EndOfLine > | |
void | insert (interfaces::OutputTextStream< ODevice, true > &ostream) |
The static crtp virtual parent call. More... | |
virtual | ~Manipulator () |
Replicates the well known end of line/flush combination.
This replicates the well known std::endl function as an ecl class based manipulator. The library instantiates a variable of this class under the name 'endl', so you need only refer to ecl::streams::endl to directly use it with your streams.
Definition at line 49 of file end_of_line.hpp.
|
inlinevirtual |
Definition at line 74 of file end_of_line.hpp.
|
inline |
Forces an end of line character/flush combination.
Forces an end of line character/flush combination.
OutputStream | : the output stream type. |
ostream | : the stream to use for manipulation. |
Definition at line 69 of file end_of_line.hpp.