boost::double_ended::batch_deque_policy
// In header: <boost/double_ended/batch_deque.hpp> template<std::size_t SegmentSize> struct batch_deque_policy { // public data members static constexpr std::size_t segment_size; };
Controls the batch_deques implementation defined behavior
batch_deque_policy
static constexpr std::size_t segment_size;
The size of the allocated chunks in elements
Remark: Using a power of two increases performance because of the cheaper division and modulo operations.