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.

Struct template block_bytes



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

template<std::size_t BlockBytes> 
struct block_bytes {


This option specifies the maximum size of a block in bytes: this delimites the number of contiguous elements that will be allocated by deque as min(1u, BlockBytes/sizeof(value_type)) A value zero represents the default value.

Template Parameters

  1. std::size_t BlockBytes

    An unsigned integer value.