boost::capy::any_read_stream::any_read_stream

Construct by taking ownership of a ReadStream.

Synopsis

template<ReadStream S>
requires (!std::same_as<std::decay_t<S>, any_read_stream>)
any_read_stream(S s);

Description

Allocates storage and moves the stream into this wrapper. The wrapper owns the stream and will destroy it.

Parameters

Name Description

s

The stream to take ownership of.

Created with MrDocs