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