Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct template reservable

boost::container::reservable

Synopsis

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

template<bool Reservable> 
struct reservable {
};

Description

This option specifies if the container has reserve/capacity-like features

For some containers (like deque) this option might change the internal representation or behavior so that memory for elements can be allocated in advance in order to improve performance.

Template Parameters

  1. bool Reservable

    An boolean value.


PrevUpHomeNext