boost::capy::any_write_stream::any_write_stream

Construct by taking ownership of a WriteStream.

Synopsis

template<WriteStream S>
requires (!std::same_as<std::decay_t<S>, any_write_stream>)
any_write_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