Template Class InputByteDeviceConcept
Defined in File devices.hpp
Class Documentation
-
template<typename Implementation>
class InputByteDeviceConcept Validates functionality for the input byte device concept.
This checks if a device can handle input of all char types (char, signed char, unsigned char).
Public Functions
-
inline ecl_compile_time_concept_test(InputByteDeviceConcept)
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.
Along with the same function implemented for signed and unsigned char types.
-
inline ecl_compile_time_concept_test(InputByteDeviceConcept)