Class EndOfLine
Defined in File end_of_line.hpp
Inheritance Relationships
Base Type
public ecl::Manipulator< EndOfLine >
(Template Class Manipulator)
Class Documentation
-
class EndOfLine : public ecl::Manipulator<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.
See also
Public Functions
-
template<typename ODevice>
inline void action(interfaces::OutputTextStream<ODevice, true> &ostream) Forces an end of line character/flush combination.
Forces an end of line character/flush combination.
- Template Parameters:
OutputStream – : the output stream type.
- Parameters:
ostream – : the stream to use for manipulation.
-
inline virtual ~EndOfLine()
-
template<typename ODevice>