Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct template inline_chars

boost::container::inline_chars

Synopsis

// In header: <boost/container/options.hpp>

template<std::size_t InlineChars> 
struct inline_chars {
};

Description

This option specifies the desired number of characters to be hold inline in the container.

A value zero represents the default value (typically 10 chars in 32-bit systems and 22 chars in 64-bit systems).

The internal buffer holds the inline characters plus the null terminator, and it can be bigger than requested to use the padding bytes. If the stored_size option is also specified, the internal buffer must be representable by stored_size For example, stored_size<unsigned char> supports up to 126 inline characters.

Template Parameters

  1. std::size_t InlineChars

    An unsigned integer value. Values greater than 127 are not supported due to the internal data structure design.


PrevUpHomeNext