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

Click here to view the latest version of this page.

Struct template optimize_multikey



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

template<bool Enabled> 
struct optimize_multikey {
  // member classes/structs/unions

  // @ template<class Base>

  struct pack {
    static const bool optimize_multikey;


This option setter specifies if the unordered hook should offer room to store another link to another node with the same key. Storing this link will speed up lookups and insertions on unordered_multiset containers with a great number of elements with the same key.