IO Streams
License
Boost License 1.0.
Authors
Jason White

enum auto  isSource(Stream);

Checks if a type is a source. A source is a stream that can be read from and must define the member function read. The stream can be either a class or a struct.


enum auto  isSink(Stream);

Checks if a type is a sink. A sink is a stream that can be written to and must define the member function write. The stream can be either a class or a struct.


enum auto  isSeekable(Stream);

Checks if a type is seekable. A seekable stream must define the member function seek. The stream can be either a class or a struct.


enum auto  isSourceSink(Stream);

Checks if the type is both a source and a sink.


enum auto  isStream(Stream);

Checks if the type is either a source or a sink (i.e., a stream).