Template Class StreamConcept

Class Documentation

template<typename Implementation>
class StreamConcept

Defines validating functionality for the streams concept.

This only requires very minimal level functionality for streams, most std io streams as well as the ecl streams will work with it.

Public Functions

inline ecl_compile_time_concept_test(StreamConcept)

Implements a concept test for streams.

The following conditions are required by streams:

  • operator<< : a streaming operator which works on at least, chars.

  • flush() : a method for flushing the stream to the underlying device.