Template Class InputCharDeviceConcept

Class Documentation

template<typename Implementation>
class InputCharDeviceConcept

Validates functionality for the input char device concept.

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

Public Functions

inline ecl_compile_time_concept_test(InputCharDeviceConcept)

Implements a concept test for input devices.

The following conditions are required by input devices:

  • long read(char &c) : read a single character from the device buffer.

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