boost::capy::any_stream::any_stream
Construct by wrapping a bidirectional stream without ownership.
Synopsis
Declared in <boost/capy/io/any_stream.hpp>
template<class S>
requires ReadStream<S> && WriteStream<S>
any_stream(S* s);
Description
Wraps the given stream by pointer. The stream must remain valid for the lifetime of this wrapper.
Parameters
| Name | Description |
|---|---|
s |
Pointer to the stream to wrap. Must satisfy both ReadStream and WriteStream concepts. |
Created with MrDocs