Template Class OutputCharDeviceConcept

Class Documentation

template<typename Implementation>
class OutputCharDeviceConcept

Validates functionality for the output char device concept.

This checks if a device can handle output of char types.

Public Functions

inline ecl_compile_time_concept_test(OutputCharDeviceConcept)

Implements a concept test for output char devices.

The following conditions are required by output char devices:

  • long write(char &c) : write a single character to the device buffer.

  • long write(char *s, unsigned long n) : write a char buffer to the device buffer.

  • void flush() : a method for flushing the output device buffer to the device.