boost::capy::any_write_sink::any_write_sink

Constructors

Synopses

Default constructor.

constexpr
any_write_sink() = default;

Non‐copyable.

any_write_sink(any_write_sink const& other) = delete;

Move constructor.

any_write_sink(any_write_sink&& other) noexcept;

Construct by taking ownership of a WriteSink.

template<WriteSink S>
requires (!std::same_as<std::decay_t<S>, any_write_sink>)
any_write_sink(S s);

Construct by wrapping a WriteSink without ownership.

template<WriteSink S>
any_write_sink(S* s);

Parameters

Name Description

other

The wrapper to move from.

s

The sink to take ownership of.

Created with MrDocs