boost::capy::buffer_array::buffer_array

Construct from a buffer sequence with overflow checking.

Synopsis

template<class BS>
requires (IsConst ? ConstBufferSequence<BS> : MutableBufferSequence<BS>)
buffer_array(
    std::in_place_t,
    BS const& bs);

Description

Copies buffer descriptors from the source sequence into the internal array.

Exceptions

Name

Thrown on

std::length_error

if the sequence contains more than N non‐empty buffers.

Parameters

Name Description

bs

The buffer sequence to copy from.

Created with MrDocs