Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This version of Boost is under active development. You are currently in the develop branch. The current version is 1.91.0.
boost::container::relocate_on
// In header: <boost/container/options.hpp> template<std::size_t Fraction> struct relocate_on { };
These options specify the relocation strategy of devector.
Predefined relocation limits that can be passed as arguments to this option are: boost::container::relocate_on_66 boost::container::relocate_on_75 boost::container::relocate_on_80 boost::container::relocate_on_85 boost::container::relocate_on_90
If this option is not specified, a default will be used by the container.
Note: Repeated insertions at only one end (only back insertions or only front insertions) usually will lead to a single relocation when relocate_on_66 is used and two relocations when relocate_on_90 is used.