Template validateInputStream
Verifies that the given type is a valid input stream.
template validateInputStream(T)
;
A valid input stream type must implement all methods of the InputStream
interface. Inheriting
form InputStream
is not strictly necessary, which also enables struct types to be considered
as stream implementations.