isSomeInputStream

Determines if the given template argument is some form of input stream, where an input stream is anything with a read method that takes a single array parameter, and returns an integer number of elements that were read, or -1 in case of error. This method does not care about the type of elements that can be read by the stream.

bool
isSomeInputStream
(
StreamType
)
()

Return Value

Type: bool

true if the given argument is an input stream type.

Meta