boost::capy::mutable_buffer::mutable_buffer

Constructors

Synopses

Declared in <boost/capy/buffers.hpp>

Construct an empty buffer.

constexpr
mutable_buffer() = default;

Copy constructor.

constexpr
mutable_buffer(mutable_buffer const& other) = default;

Construct from Asio mutable_buffer.

template<class MutableBuffer>
requires std::same_as<MutableBuffer, asio::mutable_buffer>
constexpr
mutable_buffer(MutableBuffer const& b) noexcept;

Construct from pointer and size.

constexpr
mutable_buffer(
    void* data,
    std::size_t size) noexcept;

Created with MrDocs