boost::capy::any_buffer_sink::any_buffer_sink

Constructors

Synopses

Default constructor.

constexpr
any_buffer_sink() = default;

Non‐copyable.

any_buffer_sink(any_buffer_sink const& other) = delete;

Move constructor.

any_buffer_sink(any_buffer_sink&& other) noexcept;

Construct by taking ownership of a BufferSink.

template<BufferSink S>
requires (!std::same_as<std::decay_t<S>, any_buffer_sink>)
any_buffer_sink(S s);

Construct by wrapping a BufferSink without ownership.

template<BufferSink S>
any_buffer_sink(S* s);

Parameters

Name Description

other

The wrapper to move from.

s

The sink to take ownership of.

Created with MrDocs