boost::capy::any_read_source::any_read_source

Constructors

Synopses

Default constructor.

constexpr
any_read_source() = default;

Non‐copyable.

any_read_source(any_read_source const& other) = delete;

Move constructor.

any_read_source(any_read_source&& other) noexcept;

Construct by taking ownership of a ReadSource.

template<ReadSource S>
requires (!std::same_as<std::decay_t<S>, any_read_source>)
any_read_source(S s);

Construct by wrapping a ReadSource without ownership.

template<ReadSource S>
any_read_source(S* s);

Parameters

Name Description

other

The wrapper to move from.

s

The source to take ownership of.

Created with MrDocs