boost::capy::any_write_stream::any_write_stream

Constructors

Synopses

Default constructor.

constexpr
any_write_stream() = default;

Non‐copyable.

any_write_stream(any_write_stream const& other) = delete;

Move constructor.

any_write_stream(any_write_stream&& other) noexcept;

Construct by taking ownership of a WriteStream.

template<WriteStream S>
requires (!std::same_as<std::decay_t<S>, any_write_stream>)
any_write_stream(S s);

Construct by wrapping a WriteStream without ownership.

template<WriteStream S>
any_write_stream(S* s);

Parameters

Name Description

other

The wrapper to move from.

s

The stream to take ownership of.

Created with MrDocs