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. | |
virtual | ~EndOfLine () |
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 43 of file end_of_line.hpp.
virtual ecl::EndOfLine::~EndOfLine | ( | ) | [inline, virtual] |
Definition at line 60 of file end_of_line.hpp.
void ecl::EndOfLine::action | ( | interfaces::OutputTextStream< ODevice, true > & | ostream | ) | [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 55 of file end_of_line.hpp.