boost::capy::any_buffer_source::any_buffer_source

Constructors

Synopses

Default constructor.

constexpr
any_buffer_source() = default;

Non‐copyable.

any_buffer_source(any_buffer_source const& other) = delete;

Move constructor.

Construct by taking ownership of a BufferSource.

template<BufferSource S>
requires (!std::same_as<std::decay_t<S>, any_buffer_source>)
any_buffer_source(S s);

Construct by wrapping a BufferSource without ownership.

template<BufferSource S>
any_buffer_source(S* s);

Parameters

Name Description

other

The wrapper to move from.

s

The source to take ownership of.

Created with MrDocs