boost::capy::any_read_stream::any_read_stream

Constructors

Synopses

Default constructor.

constexpr
any_read_stream() = default;

Non‐copyable.

any_read_stream(any_read_stream const& other) = delete;

Move constructor.

any_read_stream(any_read_stream&& other) noexcept;

Construct by taking ownership of a ReadStream.

template<ReadStream S>
requires (!std::same_as<std::decay_t<S>, any_read_stream>)
any_read_stream(S s);

Construct by wrapping a ReadStream without ownership.

template<ReadStream S>
any_read_stream(S* s);

Parameters

Name Description

other

The wrapper to move from.

s

The stream to take ownership of.

Created with MrDocs