Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

const_buffers_1

Adapts a single non-modifiable buffer so that it meets the requirements of the ConstBufferSequence concept.

class const_buffers_1 :
  public const_buffer
Types

Name

Description

const_iterator

A random-access iterator type that may be used to read elements.

value_type

The type for each element in the list of buffers.

Member Functions

Name

Description

begin

Get a random-access iterator to the first element.

const_buffers_1

Construct to represent a given memory range.

Construct to represent a single non-modifiable buffer.

end

Get a random-access iterator for one past the last element.

Related Functions

Name

Description

buffer_cast

Cast a non-modifiable buffer to a specified pointer to POD type.

buffer_size

Get the number of bytes in a non-modifiable buffer.

operator+

Create a new non-modifiable buffer that is offset from the start of another.


PrevUpHomeNext