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