vibe.d beta banner
get vibe.d
0.10.0

Asynchronous I/O that doesn’t get in your way, written in D

Template validateStream

Verifies that the given type is a valid bidirectional stream.

template validateStream(T) ;

A valid stream type must implement all methods of the Stream interface. Inheriting form Stream is not strictly necessary, which also enables struct types to be considered as stream implementations.

See Also

isStream

Authors

Sönke Ludwig

Copyright

© 2012-2016 Sönke Ludwig

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.