boost::capy::dynamic_buffer

Create a dynamic buffer from a string.

Synopsis

template<
    class CharT,
    class Traits,
    class Allocator>
basic_string_dynamic_buffer<CharT, Traits, Allocator>
dynamic_buffer(
    std::basic_string<CharT, Traits, Allocator>& s,
    std::size_t max_size = std::size_t(‐1));

Return Value

A string_dynamic_buffer wrapping the string.

Parameters

Name Description

s

The string to wrap.

max_size

Optional maximum size limit.

Created with MrDocs