Boost C++ Libraries 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.
dynamic_string_buffer::data (1 of 3 overloads)

DynamicBuffer_v1: Get a list of buffers that represents the input sequence.

const_buffers_type data() const;
Return Value

An object of type const_buffers_type that satisfies ConstBufferSequence requirements, representing the basic_string memory in the input sequence.


The returned object is invalidated by any dynamic_string_buffer or basic_string member function that resizes or erases the string.