| Home | Libraries | People | FAQ | More

## Struct template relocate_on

boost::container::relocate_on

## Synopsis

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

    template<std::size_t Fraction>
    struct relocate_on {
    };

## Description

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.