<?xml version="1.0" standalone="yes"?>
<library-reference><header id="doxygen.any__hook_8hpp" name="boost/intrusive/any_hook.hpp">
<namespace name="boost">
<namespace name="intrusive">
<class id="doxygen.classboost_1_1intrusive_1_1any__base__hook" name="any_base_hook"><template>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><inherit access="public">make_any_base_hook::type</inherit><description><para>Derive a class from this hook in order to store objects of that class in an intrusive container.</para><para>The hook admits the following options: <computeroutput>tag&lt;&gt;</computeroutput>, <computeroutput>void_pointer&lt;&gt;</computeroutput> and <computeroutput>link_mode&lt;&gt;</computeroutput>.</para><para><computeroutput>tag&lt;&gt;</computeroutput> defines a tag to identify the node. The same tag value can be used in different classes, but if a class is derived from more than one <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1any__base__hook">any_base_hook</link></computeroutput>, then each <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1any__base__hook">any_base_hook</link></computeroutput> needs its unique tag.</para><para><computeroutput>link_mode&lt;&gt;</computeroutput> will specify the linking mode of the hook (<computeroutput>normal_link</computeroutput>, <computeroutput>safe_link</computeroutput>).</para><para><computeroutput>void_pointer&lt;&gt;</computeroutput> is the pointer type that will be used internally in the hook and the container configured to use this hook. </para></description><method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1any__base__hook_1a843a6da2683093283057dd1e83d996db"><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is or <computeroutput>safe_link</computeroutput> initializes the node to an unlinked state.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1any__base__hook_1ac00d96fef2fb9ed690c7cf26098b94ee"><parameter name=""><paramtype>const <classname>any_base_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is or <computeroutput>safe_link</computeroutput> initializes the node to an unlinked state. The argument is ignored.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Rationale</emphasis>: Providing a copy-constructor makes classes using the hook STL-compliant without forcing the user to do some additional work. <computeroutput>swap</computeroutput> can be used to emulate move-semantics. </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1any__base__hook_1a5b62a7e7cb372dc4739269cf6ede464d"><type><classname>any_base_hook</classname> &amp;</type><parameter name=""><paramtype>const <classname>any_base_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Empty function. The argument is ignored.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Rationale</emphasis>: Providing an assignment operator makes classes using the hook STL-compliant without forcing the user to do some additional work. <computeroutput>swap</computeroutput> can be used to emulate move-semantics. </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1any__base__hook_1a35402d407afd89c6ed60ee342b1a30c7"><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>normal_link</computeroutput>, the destructor does nothing (ie. no code is generated). If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>safe_link</computeroutput> and the object is stored in a container an assertion is raised.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1any__base__hook_1abc821355cd861c26308deaed6d3b048a" name="is_linked" cv="const"><type>bool</type><description><para><emphasis role="bold">Precondition</emphasis>: <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> must be <computeroutput>safe_link</computeroutput>.</para><para><emphasis role="bold">Returns</emphasis>: true, if the node belongs to a container, false otherwise. This function can be used to test whether <computeroutput>container::iterator_to</computeroutput> will return a valid iterator.</para><para><emphasis role="bold">Complexity</emphasis>: Constant </para></description></method>
</method-group>
</class><class id="doxygen.classboost_1_1intrusive_1_1any__member__hook" name="any_member_hook"><template>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><inherit access="public">make_any_member_hook::type</inherit><description><para>Store this hook in a class to be inserted in an intrusive container.</para><para>The hook admits the following options: <computeroutput>void_pointer&lt;&gt;</computeroutput> and <computeroutput>link_mode&lt;&gt;</computeroutput>.</para><para><computeroutput>link_mode&lt;&gt;</computeroutput> will specify the linking mode of the hook (<computeroutput>normal_link</computeroutput> or <computeroutput>safe_link</computeroutput>).</para><para><computeroutput>void_pointer&lt;&gt;</computeroutput> is the pointer type that will be used internally in the hook and the container configured to use this hook. </para></description><method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1any__member__hook_1ab332bc739c558dce94f5334edec9e0b2" cv="noexcept"><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is or <computeroutput>safe_link</computeroutput> initializes the node to an unlinked state.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1any__member__hook_1ac1380ac6e9e94a8db75292dd7655820b" cv="noexcept"><parameter name=""><paramtype>const <classname>any_member_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is or <computeroutput>safe_link</computeroutput> initializes the node to an unlinked state. The argument is ignored.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Rationale</emphasis>: Providing a copy-constructor makes classes using the hook STL-compliant without forcing the user to do some additional work. <computeroutput>swap</computeroutput> can be used to emulate move-semantics. </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1any__member__hook_1a85bfe70bb413f95c92b15568089eebfb" cv="noexcept"><type><classname>any_member_hook</classname> &amp;</type><parameter name=""><paramtype>const <classname>any_member_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Empty function. The argument is ignored.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Rationale</emphasis>: Providing an assignment operator makes classes using the hook STL-compliant without forcing the user to do some additional work. <computeroutput>swap</computeroutput> can be used to emulate move-semantics. </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1any__member__hook_1a566c821e13ca0ef7a2258ff671bb7ce1"><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>normal_link</computeroutput>, the destructor does nothing (ie. no code is generated). If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>safe_link</computeroutput> and the object is stored in a container an assertion is raised.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1any__member__hook_1a5c8cd74111ffab880999144c70df148d" name="is_linked" cv="const noexcept"><type>bool</type><description><para><emphasis role="bold">Precondition</emphasis>: <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> must be <computeroutput>safe_link</computeroutput>.</para><para><emphasis role="bold">Returns</emphasis>: true, if the node belongs to a container, false otherwise. This function can be used to test whether <computeroutput>container::iterator_to</computeroutput> will return a valid iterator.</para><para><emphasis role="bold">Complexity</emphasis>: Constant </para></description></method>
</method-group>
</class><struct id="doxygen.structboost_1_1intrusive_1_1any__to__avl__set__hook" name="any_to_avl_set_hook"><template>
      <template-type-parameter name="BasicHook"/>
    </template><description><para>This option setter specifies that any hook should behave as an <link linkend="doxygen.classboost_1_1intrusive_1_1avl__set">avl_set</link> hook </para></description></struct><struct id="doxygen.structboost_1_1intrusive_1_1any__to__bs__set__hook" name="any_to_bs_set_hook"><template>
      <template-type-parameter name="BasicHook"/>
    </template><description><para>This option setter specifies that any hook should behave as a <link linkend="doxygen.classboost_1_1intrusive_1_1bs__set">bs_set</link> hook </para></description></struct><struct id="doxygen.structboost_1_1intrusive_1_1any__to__list__hook" name="any_to_list_hook"><template>
      <template-type-parameter name="BasicHook"/>
    </template><description><para>This option setter specifies that any hook should behave as an list hook </para></description></struct><struct id="doxygen.structboost_1_1intrusive_1_1any__to__set__hook" name="any_to_set_hook"><template>
      <template-type-parameter name="BasicHook"/>
    </template><description><para>This option setter specifies that any hook should behave as a set hook </para></description></struct><struct id="doxygen.structboost_1_1intrusive_1_1any__to__slist__hook" name="any_to_slist_hook"><template>
      <template-type-parameter name="BasicHook"/>
    </template><description><para>This option setter specifies that any hook should behave as an slist hook </para></description></struct><struct id="doxygen.structboost_1_1intrusive_1_1any__to__unordered__set__hook" name="any_to_unordered_set_hook"><template>
      <template-type-parameter name="BasicHook"/>
    </template><description><para>This option setter specifies that any hook should behave as an unordered set hook </para></description></struct><struct id="doxygen.structboost_1_1intrusive_1_1make__any__base__hook" name="make_any_base_hook"><template>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define a <computeroutput><computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1any__base__hook">any_base_hook</link></computeroutput> that</computeroutput> yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__any__base__hook_1af7721b96209e3377f982cfa24c2953ae" name="type"><type>implementation_defined</type></typedef>
</struct><struct id="doxygen.structboost_1_1intrusive_1_1make__any__member__hook" name="make_any_member_hook"><template>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define a <computeroutput><computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1any__member__hook">any_member_hook</link></computeroutput> that</computeroutput> yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__any__member__hook_1a4932b4d83c888daa56b51e329bdba57a" name="type"><type>implementation_defined</type></typedef>
</struct>



























































</namespace>
</namespace>
</header>
<header id="doxygen.avl__set_8hpp" name="boost/intrusive/avl_set.hpp">
<namespace name="boost">
<namespace name="intrusive">
<class id="doxygen.classboost_1_1intrusive_1_1avl__multiset" name="avl_multiset"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>The class template <link linkend="doxygen.classboost_1_1intrusive_1_1avl__multiset">avl_multiset</link> is an intrusive container, that mimics most of the interface of std::_multiset as described in the C++ standard.</para><para>The template parameter <computeroutput>T</computeroutput> is the type to be managed by the container. The user can specify additional options and if no options are provided default options are used.</para><para>The container supports the following options: <computeroutput>base_hook&lt;&gt;/member_hook&lt;&gt;/value_traits&lt;&gt;</computeroutput>, <computeroutput>constant_time_size&lt;&gt;</computeroutput>, <computeroutput>size_type&lt;&gt;</computeroutput> and <computeroutput>compare&lt;&gt;</computeroutput>. </para></description><typedef id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a8ae4d47b090d690fa5dbb644e6787594" name="value_type"><type>implementation_defined::value_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1ac43352e730ed6bcc6b4263abfc559146" name="key_type"><type>implementation_defined::key_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a8e0110f56bd7d63a2568b09050c57633" name="key_of_value"><type>implementation_defined::key_of_value</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a4b043546918e90c016d3074af9a07950" name="value_traits"><type>implementation_defined::value_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1aa5f1f25301e0311fd7226a5de2662e89" name="pointer"><type>implementation_defined::pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a5a8f89b695116d9d6d1584ec3a7bc40c" name="const_pointer"><type>implementation_defined::const_pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a2d1cff366ba99e53e154461a5fe3135a" name="reference"><type>implementation_defined::reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a32d82a7455fe0483cdff4c1d88ce8cc8" name="const_reference"><type>implementation_defined::const_reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a0cc3c31ceb62a506e6ce36b7ca9f3a66" name="difference_type"><type>implementation_defined::difference_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1ad3368cf1915d586cd5a19b05ded17933" name="size_type"><type>implementation_defined::size_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a787c7702d7e13dab7af7cc1b00fb845f" name="value_compare"><type>implementation_defined::value_compare</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a5e1369ada0b2587c385f2bc3dbc61943" name="key_compare"><type>implementation_defined::key_compare</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1ad922890cd634177e5107b99d7377379c" name="iterator"><type>implementation_defined::iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1adba9463e340cb58174a446d201ddc596" name="const_iterator"><type>implementation_defined::const_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a71dcc4ffe8fba062805c5a0107535387" name="reverse_iterator"><type>implementation_defined::reverse_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a8bd16973a100718a956d123106f08c32" name="const_reverse_iterator"><type>implementation_defined::const_reverse_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a489dd0f63c4c4efa9a099f890171c0f0" name="insert_commit_data"><type>implementation_defined::insert_commit_data</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a93fcf1b6579a12e8ce875760df5bc915" name="node_traits"><type>implementation_defined::node_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1ad0696edcb41001f4242407fb39ef2342" name="node"><type>implementation_defined::node</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a960ab138d82ff2209f6d6f2736503091" name="node_ptr"><type>implementation_defined::node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1ad23e4c7923de71c693bb5e30ce05b4e9" name="const_node_ptr"><type>implementation_defined::const_node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1ac8bef65b5a7268110b5f5539df3b6c26" name="node_algorithms"><type>implementation_defined::node_algorithms</type></typedef>
<data-member id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a1d411e25aea8e1cbe8fea390de3797cd" name="constant_time_size" specifiers="static"><type>const bool</type></data-member>
<method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a6e7b18152f620e3a01ef3a3e36c65154"><description><para><emphasis role="bold">Effects</emphasis>: Constructs an empty container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the copy constructor of the key_compare object throws. Basic guarantee.    </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1abf5b78948c066e7a7695ecc37755892b" specifiers="explicit"><parameter name="cmp"><paramtype>const key_compare &amp;</paramtype></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1add1bfad821c479e3cbd52cfd56b8548c"><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><parameter name="cmp"><paramtype>const key_compare &amp;</paramtype><default>key_compare()</default></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a595c342e830858c81b4279cbebfc9d79"><parameter name="x"><paramtype><classname>avl_multiset</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Constructs a container moving resources from another container. Internal comparison object and value traits are move constructed and nodes belonging to x (except the node representing the "end") are linked to *this.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node's move constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the move constructor of the comparison objet throws.    </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1aa01ded97fa62900980ed313a17715932"><type><classname>avl_multiset</classname> &amp;</type><parameter name="x"><paramtype><classname>avl_multiset</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Equivalent to swap   </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1acef5ee979c999cd9411fba791b5f1b87"><description><para><emphasis role="bold">Effects</emphasis>: Detaches all elements from this. The objects in the set are not deleted (i.e. no destructors are called), but the nodes according to the <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> template parameter are reinitialized and thus can be reused.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1aaf7655af9dbcdd530174b65fe8b993db" name="begin" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1add709d3ae7c7e2836b8f7726695802c2" name="begin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1af90731037a65fe0096e34a5f107be222" name="cbegin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1ad96aed1c80be2b1fc09ca8bdf99221b7" name="end" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a578617afe06cd4829b693583243754e2" name="end" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1ada894d57df65c2dca3bb29d7365f569f" name="cend" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a6bf730ab8f1bab50c206d49671614b4a" name="rbegin" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1aa49093c5c191e1ae68d81cf5f3bbd35c" name="rbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1afeabae3968d8320380038134eaae024f" name="crbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a40fdcecfe205d231549527f39685d0f0" name="rend" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a59dad66f2d7439c849802f2cdebe1868" name="rend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1aed09c0919331ae7130a60e6c3d6793ed" name="crend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a3549f9a827a60b12978bcf109e7a1f2d" name="root" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1avl__multiset_1ad96aed1c80be2b1fc09ca8bdf99221b7">end()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a11c338a8df2fc43e6f7c54ad5c63880e" name="root" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1avl__multiset_1ada894d57df65c2dca3bb29d7365f569f">cend()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a1cd88ed06e726117ad9ae437751738c9" name="croot" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1avl__multiset_1ada894d57df65c2dca3bb29d7365f569f">cend()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1aa6697c5219145d39bfdf1009acfd689d" name="key_comp" cv="const"><type>key_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the key_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If key_compare copy-constructor throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a379f192e33cecd9079ed5079d7b0a1f7" name="value_comp" cv="const"><type>value_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the value_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_compare copy-constructor throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a0b7b29cd4233c9763d66bf1ffca1ebcf" name="empty" cv="const noexcept"><type>bool</type><description><para><emphasis role="bold">Effects</emphasis>: Returns true if the container is empty.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1aa2235d8e41b2fdc2bf428d610bfb3bf4" name="size" cv="const noexcept"><type>size_type</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the number of elements stored in the container.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this if constant-time size option is disabled. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a6863671f516fdcb0accb28dc6a64f61f" name="swap"><type>void</type><parameter name="other"><paramtype><classname>avl_multiset</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Swaps the contents of two containers.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor's swap call throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1aea89cea9f2a800b50ce90daf51347f88" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype>const <classname>avl_multiset</classname> &amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(const_reference ) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1aae4e20d6870bb882346e9daaafb543ac" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype><classname>avl_multiset</classname> &amp;&amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(reference) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee.</para><para><emphasis role="bold">Note</emphasis>: This version can modify the source container, useful to implement move semantics.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1adb28e3bb1abb7a645ceecff64ee25342" name="insert"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a8cade4490f5b4900887d9fa7f6600e35" name="insert"><type>iterator</type><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a02c2bde5c70df71e623ddfd0504b65dd" name="insert"><type>void</type><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type.</para><para><emphasis role="bold">Effects</emphasis>: Inserts a each element of a range into the container before the upper bound of the key of each element.</para><para><emphasis role="bold">Complexity</emphasis>: Insert range is in general O(N * log(N)), where N is the size of the range. However, it is linear in N if the range is already sorted by <link linkend="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a379f192e33cecd9079ed5079d7b0a1f7">value_comp()</link>.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor call throws.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1aa3a3c967f699923a34c22c90fd116559" name="insert_before" cv="noexcept"><type>iterator</type><parameter name="pos"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, "pos" must be a valid iterator (or end) and must be the succesor of value once inserted according to the predicate</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container before "pos".</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if "pos" is not the successor of "value" container ordering invariant will be broken. This is a low-level function to be used only for performance reasons by advanced users.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1ab8b3562a0eb87bdf06db0c62c222cbda" name="push_back" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and it must be no less than the greatest inserted key</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container in the last position.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if value is less than the greatest inserted key container ordering invariant will be broken. This function is slightly more efficient than using "insert_before". This is a low-level function to be used only for performance reasons by advanced users.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a63f26eb2ef2e2c223d40068441735bd4" name="push_front" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and it must be no greater than the minimum inserted key</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container in the first position.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if value is greater than the minimum inserted key container ordering invariant will be broken. This function is slightly more efficient than using "insert_before". This is a low-level function to be used only for performance reasons by advanced users.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a31f09ae0e927798a21da50b8e1887064" name="erase" cv="noexcept"><type>iterator</type><parameter name="i"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a9e1508d7f039425be80aa4c41eed3933" name="erase" cv="noexcept"><type>iterator</type><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a4e2a41f4a04feb572519dc2dcc6611e4" name="erase"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a1891483b164c357b893400325dd22eab" name="erase"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "comp".</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1avl__multiset_1aa2235d8e41b2fdc2bf428d610bfb3bf4">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1afa8ef091423f4149aba81d336d47b3c3" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="i"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a15810c39ccd35dcd35c6dd4f2f5255ba" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a044009bd73898ca1c88cff80bab03d71" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1ae4520b85a9841600f3c0ec0bfddbfe46" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk) and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "comp". Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1avl__multiset_1aa2235d8e41b2fdc2bf428d610bfb3bf4">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased elements.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a08a1d4855ebad0c506537a9b8b3ded3b" name="clear" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements on the container. if it's a safe-mode or auto-unlink value_type. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a43759c37f598f6eac2bd07e5a263c4a5" name="clear_and_dispose" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements calling disposer(p) for each node to be erased. <emphasis role="bold">Complexity</emphasis>: Average complexity for is at most O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1avl__multiset_1aa2235d8e41b2fdc2bf428d610bfb3bf4">size()</link> + N)), where N is the number of elements in the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. Calls N times to disposer functor.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a105bda65d171786c8381942f676f266e" name="count" cv="const"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a1c6e470ade955ab3687664c53332cd9e" name="count" cv="const"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of contained elements with the given key</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic to the number of elements contained plus lineal to number of objects with the given key.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a4ac4b1e38d889f1011b1a3af8858f476" name="lower_bound"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1ad4482969caaa013078d3721b88afe143" name="lower_bound"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1adf842f5b57f8b13adf80755cfdd34d85" name="lower_bound" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a2bce4f9a982c20bb1107b31c12219fd0" name="lower_bound" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a45bac8063b22f6ebd960a518092c493f" name="upper_bound"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a08d636edc99dd92afc1d566526e05607" name="upper_bound"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k according to comp or <link linkend="doxygen.classboost_1_1intrusive_1_1avl__multiset_1ad96aed1c80be2b1fc09ca8bdf99221b7">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1aa23d223f4b87b8fc9a02c02c4824da48" name="upper_bound" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a5161cc4854a49fc9ac3d9ea980906f19" name="upper_bound" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k according to comp or <link linkend="doxygen.classboost_1_1intrusive_1_1avl__multiset_1ad96aed1c80be2b1fc09ca8bdf99221b7">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.     </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a3b31f87eaba91a5b0070676de6469fd7" name="find"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a304f7d8d07fb16ba00fd45621c6e9cbd" name="find"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1avl__multiset_1ad96aed1c80be2b1fc09ca8bdf99221b7">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1abe77046b5f30315a2fd305ac8907c6c5" name="find" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a148a874a090512f5d93215d282718159" name="find" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1avl__multiset_1ad96aed1c80be2b1fc09ca8bdf99221b7">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.     </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a3bb639cd5a0eeab7be8ea7784b079623" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a345d4ed61c33e490a1eb448fe621e0bb" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a8623a16e24a7b8230ca65d60b544d871" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1af6ae638430535e8e1c1b60830fa03dcc" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.     </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1afb7e08391d217f343a938204eae4de6a" name="bounded_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="lower_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a02027153d01bcae268cc15f12f3ffcab" name="bounded_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>lower_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, lower_key) if left_closed is true, with respect to !comp(lower_key, nk) otherwise.</para><para><computeroutput>upper_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(upper_key, nk) if right_closed is true, with respect to comp(nk, upper_key) otherwise.</para><para><computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to comp [comp(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!comp(upper_key, lower_key) &amp;&amp; !comp(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise</para><para>second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a7cf77c61d5db764aac59d20388c6e30f" name="bounded_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="lower_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const key_type &amp;key</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a5d5edd6337e9e9ba951dbb53e982b319" name="bounded_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>lower_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, lower_key) if left_closed is true, with respect to !comp(lower_key, nk) otherwise.</para><para><computeroutput>upper_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(upper_key, nk) if right_closed is true, with respect to comp(nk, upper_key) otherwise.</para><para><computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to comp [comp(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!comp(upper_key, lower_key) &amp;&amp; !comp(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise</para><para>second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases.     </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a50a9fead1038a0d093c2e1af8fe86767" name="iterator_to" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1afd517d5f1cba7a3716730ed5cece3c7a" name="iterator_to" cv="const noexcept"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a0300633e712fb4f90fd55c207e33f892" name="unlink_leftmost_without_rebalance" cv="noexcept"><type>pointer</type><description><para><emphasis role="bold">Effects</emphasis>: Unlinks the leftmost node from the container.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function breaks the container and the container can only be used for more unlink_leftmost_without_rebalance calls. This function is normally used to achieve a step by step controlled destruction of the container.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a3fadbb30c12be71728ce8d974ed16962" name="replace_node" cv="noexcept"><type>void</type><parameter name="replace_this"><paramtype>iterator</paramtype></parameter><parameter name="with_this"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: replace_this must be a valid iterator of *this and with_this must not be inserted in any container.</para><para><emphasis role="bold">Effects</emphasis>: Replaces replace_this in its position in the container with with_this. The container does not need to be rebalanced.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if with_this is not equivalent to *replace_this according to the ordering rules. This function is faster than erasing and inserting the node, since no rebalancing or comparison is needed.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a63f8c404c1c2a104e92a804db2884cd0" name="remove_node" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: removes "value" from the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic time.</para><para><emphasis role="bold">Note</emphasis>: This static function is only usable with non-constant time size containers that have stateless comparison functors.</para><para>If the user calls this function with a constant time size container or stateful comparison functor a compilation error will be issued.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a539c26a8bdf024e1811bfb02dcc9852d" name="merge"><type>void</type><template>
          <template-nontype-parameter name="Options2"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="source"><paramtype><classname>avl_multiset</classname>&lt; T, Options2... &gt; &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a52f8206538769841d5ffeced8cef244f" name="merge"><type>void</type><template>
          <template-nontype-parameter name="Options2"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="source"><paramtype><classname>avl_set</classname>&lt; T, Options2... &gt; &amp;</paramtype></parameter></method>
</method-group>
<method-group name="public static functions">
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a46738db646a6e114d186757fb75c023f" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type><classname>avl_multiset</classname> &amp;</type><parameter name="end_iterator"><paramtype>iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1afcedb097c660462fd5361e6a7ed5c54c" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type>const <classname>avl_multiset</classname> &amp;</type><parameter name="end_iterator"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a265b00d3efc853c9a5cb08f5f9549084" name="container_from_iterator" cv="noexcept" specifiers="static"><type><classname>avl_multiset</classname> &amp;</type><parameter name="it"><paramtype>iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a8ea29a627ff528ace3c871dd0aa9c94b" name="container_from_iterator" cv="noexcept" specifiers="static"><type>const <classname>avl_multiset</classname> &amp;</type><parameter name="it"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1af542d513ea9489515d83c724a5826893" name="s_iterator_to" cv="noexcept" specifiers="static"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1a832677a9129d41db3dec211ab3dfe2ac" name="s_iterator_to" cv="noexcept" specifiers="static"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__multiset_1acf861feba4df2d4021d18f1ef2080557" name="init_node" cv="noexcept" specifiers="static"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
</method-group>
</class><class id="doxygen.classboost_1_1intrusive_1_1avl__set" name="avl_set"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>The class template <link linkend="doxygen.classboost_1_1intrusive_1_1avl__set">avl_set</link> is an intrusive container, that mimics most of the interface of std::set as described in the C++ standard.</para><para>The template parameter <computeroutput>T</computeroutput> is the type to be managed by the container. The user can specify additional options and if no options are provided default options are used.</para><para>The container supports the following options: <computeroutput>base_hook&lt;&gt;/member_hook&lt;&gt;/value_traits&lt;&gt;</computeroutput>, <computeroutput>constant_time_size&lt;&gt;</computeroutput>, <computeroutput>size_type&lt;&gt;</computeroutput> and <computeroutput>compare&lt;&gt;</computeroutput>. </para></description><typedef id="doxygen.classboost_1_1intrusive_1_1avl__set_1ad34c32fbdd26826a2dd1beb0ca4e3c25" name="value_type"><type>implementation_defined::value_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__set_1a28a9b89f63619aff6c50b472b95ffe30" name="key_type"><type>implementation_defined::key_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__set_1a389be5a664682650a27beb4d5fa04715" name="key_of_value"><type>implementation_defined::key_of_value</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__set_1a24bd216210f16086f25e30a3f8325118" name="value_traits"><type>implementation_defined::value_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__set_1a79641e56b159dd8def5716ca26bc06a1" name="pointer"><type>implementation_defined::pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__set_1a17433cfade14e1db8e9803bec677777d" name="const_pointer"><type>implementation_defined::const_pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__set_1a7be0bf1a1ab1db435a0a464f0a13e9f9" name="reference"><type>implementation_defined::reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__set_1a5bb8e69e68f430cc03fe948012e1547f" name="const_reference"><type>implementation_defined::const_reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__set_1a4526689b61e5c79125ac1c79c61b36ff" name="difference_type"><type>implementation_defined::difference_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__set_1ae5afe37f68f33622f90338fe15a8b4f3" name="size_type"><type>implementation_defined::size_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__set_1abd7207a2df16ae00a300d2e24cc70cf7" name="value_compare"><type>implementation_defined::value_compare</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__set_1ad720681f76c05b9723522dd4fb01209f" name="key_compare"><type>implementation_defined::key_compare</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__set_1a26f09f952cd113cbcca9ad53db74a797" name="iterator"><type>implementation_defined::iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__set_1aa1a8bf986903c59aa3dcd563811d30f5" name="const_iterator"><type>implementation_defined::const_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__set_1ae8068bd7807601b6c7798c3fa4f1f49e" name="reverse_iterator"><type>implementation_defined::reverse_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__set_1a2b3615216897dff423a8ab7686836e80" name="const_reverse_iterator"><type>implementation_defined::const_reverse_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__set_1a759f6a2be08444327574024e5528fa4a" name="insert_commit_data"><type>implementation_defined::insert_commit_data</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__set_1aed1644bdf88347376c8b4a00fb709183" name="node_traits"><type>implementation_defined::node_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__set_1a2c2820d876a05c8ef68e34d3b81e26e4" name="node"><type>implementation_defined::node</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__set_1a0c4c27813e4da748bc4c1cbd79a69d8c" name="node_ptr"><type>implementation_defined::node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__set_1a0609970c738e4b6c0b0b01a721c1941f" name="const_node_ptr"><type>implementation_defined::const_node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avl__set_1aa347c979a95170b172f8348eeacb9c2c" name="node_algorithms"><type>implementation_defined::node_algorithms</type></typedef>
<data-member id="doxygen.classboost_1_1intrusive_1_1avl__set_1a0e44a940d77caf5f8cfc7b8be2870076" name="constant_time_size" specifiers="static"><type>const bool</type></data-member>
<method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1avl__set_1ad72e04357d322ef66589e8c917c654b7"><description><para><emphasis role="bold">Effects</emphasis>: Constructs an empty container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the copy constructor of the key_compare object throws. Basic guarantee.    </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1avl__set_1aa862c7993ef30e2d073c69059fcf7fd4" specifiers="explicit"><parameter name="cmp"><paramtype>const key_compare &amp;</paramtype></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1avl__set_1a83384f267a2fd026ba3827d065715e41"><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><parameter name="cmp"><paramtype>const key_compare &amp;</paramtype><default>key_compare()</default></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1avl__set_1a6e2e6d016caef03ce39875cd90b4547a"><parameter name="x"><paramtype><classname>avl_set</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Constructs a container moving resources from another container. Internal comparison object and value traits are move constructed and nodes belonging to x (except the node representing the "end") are linked to *this.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node's move constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the move constructor of the comparison objet throws.    </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1avl__set_1ae93d61c0f320b5c305c5d5b3915a1c78"><type><classname>avl_set</classname> &amp;</type><parameter name="x"><paramtype><classname>avl_set</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Equivalent to swap   </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1avl__set_1ad9af696a8fd1d104c5d103f885bcb625"><description><para><emphasis role="bold">Effects</emphasis>: Detaches all elements from this. The objects in the set are not deleted (i.e. no destructors are called), but the nodes according to the <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> template parameter are reinitialized and thus can be reused.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a63c5bdaaab6864d7a1b44cdff048c226" name="begin" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a5996392820842fd147d5befbcc3897df" name="begin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a0654eed1a19183bc8cd1db63bef84eab" name="cbegin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a70d200de11caf9e0deba037e240e32f2" name="end" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a97d710e0e95ae51c6ffa8cbdd951d250" name="end" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a426a4875263e9b1f29ffa6567f69937d" name="cend" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1af62ee138a4d527713c3c923d3e481f4d" name="avlegin"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a1306617866e2a2525193262b58579e19" name="avlegin" cv="const"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1ad9c5e73586aa85ef4e7ff20364012663" name="crbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a8daea2e709c0b5fefbe5570b35986502" name="rend" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a138181604d818792ba24c919e106957a" name="rend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a54aecdcb8e517d0fa4e1de0ddf879b8b" name="crend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a7fbd91616f0533b87facaba38c54cfab" name="root" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1avl__set_1a70d200de11caf9e0deba037e240e32f2">end()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a7f7be72ceedd4b27e111f999724580c8" name="root" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1avl__set_1a426a4875263e9b1f29ffa6567f69937d">cend()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a9ee73f61fec79526f5d985623fa14d60" name="croot" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1avl__set_1a426a4875263e9b1f29ffa6567f69937d">cend()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a8974401a326f059a47f9484cdaa4eef7" name="key_comp" cv="const"><type>key_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the key_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If key_compare copy-constructor throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a1f9d75fe50c3d14548892100a423ac3b" name="value_comp" cv="const"><type>value_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the value_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_compare copy-constructor throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a501a43f0342015e5cb353caecb31cec2" name="empty" cv="const noexcept"><type>bool</type><description><para><emphasis role="bold">Effects</emphasis>: Returns true if the container is empty.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a902cb6e54844ec7332a8564594aa932d" name="size" cv="const noexcept"><type>size_type</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the number of elements stored in the container.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this if constant-time size option is disabled. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1ae6fd47fae7c83ac5a4851713c775f774" name="swap"><type>void</type><parameter name="other"><paramtype><classname>avl_set</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Swaps the contents of two containers.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor's swap call throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1aaf59936892099a4c8c3f23d105686036" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype>const <classname>avl_set</classname> &amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(const_reference ) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a05e00b882b7d9afc85a685d6416f7c87" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype><classname>avl_set</classname> &amp;&amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(reference) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee.</para><para><emphasis role="bold">Note</emphasis>: This version can modify the source container, useful to implement move semantics.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a87d4b2b44c0adbf1a2fd2027fe0f596a" name="insert"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1ad4985e67d8a3d062b93b5575253c4035" name="insert"><type>iterator</type><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a405e89a1a33a87313b8855ee4e77f38d" name="insert_check"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a8c1e98da99dd8d1209b58427cbc1bf3f" name="insert_check"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a3884bff07246f43d33fe0960a647c416" name="insert_check"><type>std::pair&lt; iterator, bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1add7fe8d0bf983255bc6f5838ae84a901" name="insert_check"><type>std::pair&lt; iterator, bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a6ba42eb40dbe928200d91f05672ed0bc" name="insert"><type>void</type><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type.</para><para><emphasis role="bold">Effects</emphasis>: Tries to insert each element of a range into the container.</para><para><emphasis role="bold">Complexity</emphasis>: Insert range is in general O(N * log(N)), where N is the size of the range. However, it is linear in N if the range is already sorted by <link linkend="doxygen.classboost_1_1intrusive_1_1avl__set_1a1f9d75fe50c3d14548892100a423ac3b">value_comp()</link>.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor call throws.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a27c2e4e032b4804280e2d55cde11e70f" name="insert_commit" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter><parameter name="commit_data"><paramtype>const insert_commit_data &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue of type value_type. commit_data must have been obtained from a previous call to "insert_check". No objects should have been inserted or erased from the container between the "insert_check" that filled "commit_data" and the call to "insert_commit".</para><para><emphasis role="bold">Effects</emphasis>: Inserts the value in the container using the information obtained from the "commit_data" that a previous "insert_check" filled.</para><para><emphasis role="bold">Returns</emphasis>: An iterator to the newly inserted object.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function has only sense if a "insert_check" has been previously executed to fill "commit_data". No value should be inserted or erased between the "insert_check" and "insert_commit" calls.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1ac83bd6a851a017ede0a8f56dfbfc926a" name="insert_before" cv="noexcept"><type>iterator</type><parameter name="pos"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, "pos" must be a valid iterator (or end) and must be the succesor of value once inserted according to the predicate</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container before "pos".</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if "pos" is not the successor of "value" container ordering invariant will be broken. This is a low-level function to be used only for performance reasons by advanced users.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1adc4527a6774f40146185cea1414ae5af" name="push_back" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and it must be no less than the greatest inserted key</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container in the last position.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if value is less than the greatest inserted key container ordering invariant will be broken. This function is slightly more efficient than using "insert_before". This is a low-level function to be used only for performance reasons by advanced users.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a41fc0e73ce4ba182a4af0ba4887b7439" name="push_front" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and it must be no greater than the minimum inserted key</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container in the first position.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if value is greater than the minimum inserted key container ordering invariant will be broken. This function is slightly more efficient than using "insert_before". This is a low-level function to be used only for performance reasons by advanced users.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1aadb68efe970c6133c9d55355f6aeca08" name="erase" cv="noexcept"><type>iterator</type><parameter name="i"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1aed4af815ca64f223fa4b47c84f0e0cce" name="erase" cv="noexcept"><type>iterator</type><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a47c595d5f4b0eb9071c58a290f27570f" name="erase"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a42a7c3efd5adcf432d5a15ca7e03e9a4" name="erase"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "comp".</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1avl__set_1a902cb6e54844ec7332a8564594aa932d">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a5186f594a5b8c924d16fa5d2b143d7c5" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="i"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a2c2c0691091a57e88777f12fc6c1f8a5" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a1821699cf76d19356070147ef0d7ef85" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a49a13e606380851d40f3bbde550440bf" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk) and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "comp". Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1avl__set_1a902cb6e54844ec7332a8564594aa932d">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased elements.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a4ad8fb565052e6a5e680a2d6cd1d54c9" name="clear" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements on the container. if it's a safe-mode or auto-unlink value_type. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a81cf6251ee74d100c04194e0286c988f" name="clear_and_dispose" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements calling disposer(p) for each node to be erased. <emphasis role="bold">Complexity</emphasis>: Average complexity for is at most O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1avl__set_1a902cb6e54844ec7332a8564594aa932d">size()</link> + N)), where N is the number of elements in the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. Calls N times to disposer functor.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1ae196bb9055e2a761a824ba3c32bbc1ca" name="count" cv="const"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a80c6fd58e348b13d0337b54abceb581c" name="count" cv="const"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of contained elements with the given key</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic to the number of elements contained plus lineal to number of objects with the given key.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a15eb0248be2cdd654c7c3b3ce49c289b" name="lower_bound"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a20ab9d91e23294050a6c3bfb47134089" name="lower_bound"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1ab31115645ccb99ac6264a5dcde034e7a" name="lower_bound" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1ab619dd10add52d22b5574b79a3cc0b09" name="lower_bound" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a0fa063bfcebf24d1235a1960ecaa1a9f" name="upper_bound"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a42c10e07b7f087e1dc6ad9c390a2ec51" name="upper_bound"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k according to comp or <link linkend="doxygen.classboost_1_1intrusive_1_1avl__set_1a70d200de11caf9e0deba037e240e32f2">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a6df76517a5d31d1be2025b25632ed10c" name="upper_bound" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a9bfe09d55265ee6e91310c3d08375e80" name="upper_bound" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k according to comp or <link linkend="doxygen.classboost_1_1intrusive_1_1avl__set_1a70d200de11caf9e0deba037e240e32f2">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.     </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a6ab6edc07ca3c6c3943f2508141a1c91" name="find"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1accdbf9201ffbb8b125a9f9d1cbdf3e45" name="find"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1avl__set_1a70d200de11caf9e0deba037e240e32f2">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1af4765ece1c9d02596129f81bfbdfbe4b" name="find" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a09013100d403e22df983b5fa1b51f625" name="find" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1avl__set_1a70d200de11caf9e0deba037e240e32f2">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.     </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a3ba87b54a1f3764d2abbaca961739c08" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a6c8312e3c10597f120469314426dfbb7" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1ae104b7f25faec4e4722ec37fc2736351" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a294439b71a00afda3b1fae88320cbede" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.     </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1afecf3cc5ee4f7529ef5e6ff82aadfc7a" name="bounded_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="lower_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a2b3ee1b0c33c80f9c9641d965e8f13de" name="bounded_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>lower_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, lower_key) if left_closed is true, with respect to !comp(lower_key, nk) otherwise.</para><para><computeroutput>upper_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(upper_key, nk) if right_closed is true, with respect to comp(nk, upper_key) otherwise.</para><para><computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to comp [comp(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!comp(upper_key, lower_key) &amp;&amp; !comp(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise</para><para>second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a6b7f15e201ebff300318d251a2f60ce2" name="bounded_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="lower_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a08dc265862bcb0f51cd2bca3f57176dc" name="bounded_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>lower_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, lower_key) if left_closed is true, with respect to !comp(lower_key, nk) otherwise.</para><para><computeroutput>upper_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(upper_key, nk) if right_closed is true, with respect to comp(nk, upper_key) otherwise.</para><para><computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to comp [comp(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!comp(upper_key, lower_key) &amp;&amp; !comp(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise</para><para>second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases.     </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1ab23d0901adc4599082e757dfbdc4178f" name="iterator_to" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a10a3afb10ede85e71503f7b3b7d331ec" name="iterator_to" cv="const noexcept"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a78d84c1e310be82931357faac20687fd" name="unlink_leftmost_without_rebalance" cv="noexcept"><type>pointer</type><description><para><emphasis role="bold">Effects</emphasis>: Unlinks the leftmost node from the container.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function breaks the container and the container can only be used for more unlink_leftmost_without_rebalance calls. This function is normally used to achieve a step by step controlled destruction of the container.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1ac54dd6c51954053f7a3a95a18fe92530" name="replace_node" cv="noexcept"><type>void</type><parameter name="replace_this"><paramtype>iterator</paramtype></parameter><parameter name="with_this"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: replace_this must be a valid iterator of *this and with_this must not be inserted in any container.</para><para><emphasis role="bold">Effects</emphasis>: Replaces replace_this in its position in the container with with_this. The container does not need to be rebalanced.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if with_this is not equivalent to *replace_this according to the ordering rules. This function is faster than erasing and inserting the node, since no rebalancing or comparison is needed.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1aaeda2a2364468de6f71d448b45f0f10c" name="remove_node" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: removes "value" from the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic time.</para><para><emphasis role="bold">Note</emphasis>: This static function is only usable with non-constant time size containers that have stateless comparison functors.</para><para>If the user calls this function with a constant time size container or stateful comparison functor a compilation error will be issued.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1aa8b63d7a4d8bab11008e87d62b9b5faf" name="merge"><type>void</type><template>
          <template-nontype-parameter name="Options2"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="source"><paramtype><classname>avl_set</classname>&lt; T, Options2... &gt; &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a2989e8baad973d535c3c3ce0f6ed5176" name="merge"><type>void</type><template>
          <template-nontype-parameter name="Options2"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="source"><paramtype><classname>avl_multiset</classname>&lt; T, Options2... &gt; &amp;</paramtype></parameter></method>
</method-group>
<method-group name="public static functions">
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1aa7805d55a0d1426b6ed0422bbba192fb" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type><classname>avl_set</classname> &amp;</type><parameter name="end_iterator"><paramtype>iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1ac761c8122b5736ae77e5aa69ccb8fe3d" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type>const <classname>avl_set</classname> &amp;</type><parameter name="end_iterator"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a46d7e8423bc4457627bbfb54f138ff99" name="container_from_iterator" cv="noexcept" specifiers="static"><type><classname>avl_set</classname> &amp;</type><parameter name="it"><paramtype>iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a5a4ad20c3bddc604c387e1a645e5f55e" name="container_from_iterator" cv="noexcept" specifiers="static"><type>const <classname>avl_set</classname> &amp;</type><parameter name="it"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1ab3311c8ec5b0d45441b3f34b7f8e5c64" name="s_iterator_to" cv="noexcept" specifiers="static"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1a7e0a275f05ca1d8b8c19a382e81deb1d" name="s_iterator_to" cv="noexcept" specifiers="static"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set_1afe48b6ee2992e5dff223d6f15d47f78f" name="init_node" cv="noexcept" specifiers="static"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
</method-group>
</class><struct id="doxygen.structboost_1_1intrusive_1_1make__avl__multiset" name="make_avl_multiset"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define a <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1avl__multiset">avl_multiset</link></computeroutput> that yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__avl__multiset_1a9f256c6700af5f8293889ed45c12b122" name="type"><type>implementation_defined</type></typedef>
</struct><struct id="doxygen.structboost_1_1intrusive_1_1make__avl__set" name="make_avl_set"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define a <computeroutput>set</computeroutput> that yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__avl__set_1a47521b6978bed6d63614ffbcd3faaa88" name="type"><type>implementation_defined</type></typedef>
</struct>

















































<function id="doxygen.avl__set_8hpp_1ad4837a6bbe2ee12629131362628ca93a" name="operator!="><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>avl_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>avl_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.avl__set_8hpp_1a6db884f6fe57ce6396f3b905da96ebe4" name="operator&gt;"><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>avl_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>avl_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.avl__set_8hpp_1affbf5860c9e922a800272dd34b731b81" name="operator&lt;="><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>avl_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>avl_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.avl__set_8hpp_1a237a2518e53c72401af54396f9e369ad" name="operator&gt;="><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>avl_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>avl_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.avl__set_8hpp_1a9760d3de5ec9bdde64fcfaf368ae9faa" name="swap"><type>void</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype><classname>avl_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype><classname>avl_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.avl__set_8hpp_1aa40d3e0957f7d7ef528450fafcc23a16" name="operator!="><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>avl_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>avl_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.avl__set_8hpp_1aba288d66306bcb7a5202714bac5b3748" name="operator&gt;"><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>avl_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>avl_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.avl__set_8hpp_1aca3c45d221e90dd9984537f2ed7b9105" name="operator&lt;="><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>avl_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>avl_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.avl__set_8hpp_1ae8c73656d9c8fffd0ff93c8d8ad68e49" name="operator&gt;="><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>avl_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>avl_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.avl__set_8hpp_1aa96083b2479bee68e699c803231c4f82" name="swap"><type>void</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype><classname>avl_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype><classname>avl_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
</namespace>
</namespace>
</header>
<header id="doxygen.avl__set__hook_8hpp" name="boost/intrusive/avl_set_hook.hpp">
<namespace name="boost">
<namespace name="intrusive">
<class id="doxygen.classboost_1_1intrusive_1_1avl__set__base__hook" name="avl_set_base_hook"><template>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><inherit access="public">make_avl_set_base_hook::type</inherit><description><para>Derive a class from <link linkend="doxygen.classboost_1_1intrusive_1_1avl__set__base__hook">avl_set_base_hook</link> in order to store objects in in an avl_set/avl_multiset. <link linkend="doxygen.classboost_1_1intrusive_1_1avl__set__base__hook">avl_set_base_hook</link> holds the data necessary to maintain the avl_set/avl_multiset and provides an appropriate <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> class for avl_set/avl_multiset.</para><para>The hook admits the following options: <computeroutput>tag&lt;&gt;</computeroutput>, <computeroutput>void_pointer&lt;&gt;</computeroutput>, <computeroutput>link_mode&lt;&gt;</computeroutput> and <computeroutput>optimize_size&lt;&gt;</computeroutput>.</para><para><computeroutput>tag&lt;&gt;</computeroutput> defines a tag to identify the node. The same tag value can be used in different classes, but if a class is derived from more than one <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1list__base__hook">list_base_hook</link></computeroutput>, then each <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1list__base__hook">list_base_hook</link></computeroutput> needs its unique tag.</para><para><computeroutput>void_pointer&lt;&gt;</computeroutput> is the pointer type that will be used internally in the hook and the container configured to use this hook.</para><para><computeroutput>link_mode&lt;&gt;</computeroutput> will specify the linking mode of the hook (<computeroutput>normal_link</computeroutput>, <computeroutput>auto_unlink</computeroutput> or <computeroutput>safe_link</computeroutput>).</para><para><computeroutput>optimize_size&lt;&gt;</computeroutput> will tell the hook to optimize the hook for size instead of speed. </para></description><method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1avl__set__base__hook_1ac22f34fd4858a719c81009f2660d4a2b"><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput> or <computeroutput>safe_link</computeroutput> initializes the node to an unlinked state.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1avl__set__base__hook_1a4b0931eff0eae498f5c9d2dfa17c1321"><parameter name=""><paramtype>const <classname>avl_set_base_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput> or <computeroutput>safe_link</computeroutput> initializes the node to an unlinked state. The argument is ignored.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Rationale</emphasis>: Providing a copy-constructor makes classes using the hook STL-compliant without forcing the user to do some additional work. <computeroutput>swap</computeroutput> can be used to emulate move-semantics. </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1avl__set__base__hook_1ac2a035990cafa61b988c13c7b96688d5"><type><classname>avl_set_base_hook</classname> &amp;</type><parameter name=""><paramtype>const <classname>avl_set_base_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Empty function. The argument is ignored.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Rationale</emphasis>: Providing an assignment operator makes classes using the hook STL-compliant without forcing the user to do some additional work. <computeroutput>swap</computeroutput> can be used to emulate move-semantics. </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1avl__set__base__hook_1a6af6c18cefb9eadb81bebae0cc3aea54"><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>normal_link</computeroutput>, the destructor does nothing (ie. no code is generated). If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>safe_link</computeroutput> and the object is stored in a set an assertion is raised. If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput> and <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1avl__set__base__hook_1a96fa3ba3b0c267bbb69a521aa9baf30a">is_linked()</link></computeroutput> is true, the node is unlinked.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set__base__hook_1a3b630cee8af8bdd2936aac8ba01aba7e" name="swap_nodes"><type>void</type><parameter name="other"><paramtype><classname>avl_set_base_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Swapping two nodes swaps the position of the elements related to those nodes in one or two containers. That is, if the node this is part of the element e1, the node x is part of the element e2 and both elements are included in the containers s1 and s2, then after the swap-operation e1 is in s2 at the position of e2 and e2 is in s1 at the position of e1. If one element is not in a container, then after the swap-operation the other element is not in a container. Iterators to e1 and e2 related to those nodes are invalidated.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set__base__hook_1a96fa3ba3b0c267bbb69a521aa9baf30a" name="is_linked" cv="const"><type>bool</type><description><para><emphasis role="bold">Precondition</emphasis>: <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> must be <computeroutput>safe_link</computeroutput> or <computeroutput>auto_unlink</computeroutput>.</para><para><emphasis role="bold">Returns</emphasis>: true, if the node belongs to a container, false otherwise. This function can be used to test whether <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1set_1aa4d9193952cf46af50cd14d1971b4dd3">set::iterator_to</link></computeroutput> will return a valid iterator.</para><para><emphasis role="bold">Complexity</emphasis>: Constant </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set__base__hook_1a353099390675796fbfd8efb09724a49b" name="unlink"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Removes the node if it's inserted in a container. This function is only allowed if <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput>.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
</method-group>
</class><class id="doxygen.classboost_1_1intrusive_1_1avl__set__member__hook" name="avl_set_member_hook"><template>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><inherit access="public">make_avl_set_member_hook::type</inherit><description><para>Put a public data member <link linkend="doxygen.classboost_1_1intrusive_1_1avl__set__member__hook">avl_set_member_hook</link> in order to store objects of this class in an avl_set/avl_multiset. <link linkend="doxygen.classboost_1_1intrusive_1_1avl__set__member__hook">avl_set_member_hook</link> holds the data necessary for maintaining the avl_set/avl_multiset and provides an appropriate <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> class for avl_set/avl_multiset.</para><para>The hook admits the following options: <computeroutput>void_pointer&lt;&gt;</computeroutput>, <computeroutput>link_mode&lt;&gt;</computeroutput> and <computeroutput>optimize_size&lt;&gt;</computeroutput>.</para><para><computeroutput>void_pointer&lt;&gt;</computeroutput> is the pointer type that will be used internally in the hook and the container configured to use this hook.</para><para><computeroutput>link_mode&lt;&gt;</computeroutput> will specify the linking mode of the hook (<computeroutput>normal_link</computeroutput>, <computeroutput>auto_unlink</computeroutput> or <computeroutput>safe_link</computeroutput>).</para><para><computeroutput>optimize_size&lt;&gt;</computeroutput> will tell the hook to optimize the hook for size instead of speed. </para></description><method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1avl__set__member__hook_1a02fc5ce99b07448c5b5a2f689a41fc8f"><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput> or <computeroutput>safe_link</computeroutput> initializes the node to an unlinked state.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1avl__set__member__hook_1a1d692e8019b8e29cba8073c5e6ebd427"><parameter name=""><paramtype>const <classname>avl_set_member_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput> or <computeroutput>safe_link</computeroutput> initializes the node to an unlinked state. The argument is ignored.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Rationale</emphasis>: Providing a copy-constructor makes classes using the hook STL-compliant without forcing the user to do some additional work. <computeroutput>swap</computeroutput> can be used to emulate move-semantics. </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1avl__set__member__hook_1a8063b0b9592bd4559f75bab92294a268"><type><classname>avl_set_member_hook</classname> &amp;</type><parameter name=""><paramtype>const <classname>avl_set_member_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Empty function. The argument is ignored.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Rationale</emphasis>: Providing an assignment operator makes classes using the hook STL-compliant without forcing the user to do some additional work. <computeroutput>swap</computeroutput> can be used to emulate move-semantics. </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1avl__set__member__hook_1a21e3d798d65b9727c48f78829580f559"><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>normal_link</computeroutput>, the destructor does nothing (ie. no code is generated). If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>safe_link</computeroutput> and the object is stored in a set an assertion is raised. If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput> and <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1avl__set__member__hook_1a99faafb573c893e7762a5560e1899e5c">is_linked()</link></computeroutput> is true, the node is unlinked.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set__member__hook_1a63fda01182625f34ad97c62e97b4b7c6" name="swap_nodes"><type>void</type><parameter name="other"><paramtype><classname>avl_set_member_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Swapping two nodes swaps the position of the elements related to those nodes in one or two containers. That is, if the node this is part of the element e1, the node x is part of the element e2 and both elements are included in the containers s1 and s2, then after the swap-operation e1 is in s2 at the position of e2 and e2 is in s1 at the position of e1. If one element is not in a container, then after the swap-operation the other element is not in a container. Iterators to e1 and e2 related to those nodes are invalidated.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set__member__hook_1a99faafb573c893e7762a5560e1899e5c" name="is_linked" cv="const"><type>bool</type><description><para><emphasis role="bold">Precondition</emphasis>: <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> must be <computeroutput>safe_link</computeroutput> or <computeroutput>auto_unlink</computeroutput>.</para><para><emphasis role="bold">Returns</emphasis>: true, if the node belongs to a container, false otherwise. This function can be used to test whether <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1set_1aa4d9193952cf46af50cd14d1971b4dd3">set::iterator_to</link></computeroutput> will return a valid iterator.</para><para><emphasis role="bold">Complexity</emphasis>: Constant </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avl__set__member__hook_1a30161ea0ed6876323abfc8f7bf558360" name="unlink"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Removes the node if it's inserted in a container. This function is only allowed if <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput>.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
</method-group>
</class><struct id="doxygen.structboost_1_1intrusive_1_1make__avl__set__base__hook" name="make_avl_set_base_hook"><template>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define a <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1avl__set__base__hook">avl_set_base_hook</link></computeroutput> that yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__avl__set__base__hook_1a911b9f592210d992baa55d84927ba085" name="type"><type>implementation_defined</type></typedef>
</struct><struct id="doxygen.structboost_1_1intrusive_1_1make__avl__set__member__hook" name="make_avl_set_member_hook"><template>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define a <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1avl__set__member__hook">avl_set_member_hook</link></computeroutput> that yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__avl__set__member__hook_1a4efbc1f2e6ec665988c010d6888d090a" name="type"><type>implementation_defined</type></typedef>
</struct>



























































</namespace>
</namespace>
</header>
<header id="doxygen.avltree_8hpp" name="boost/intrusive/avltree.hpp">
<namespace name="boost">
<namespace name="intrusive">
<class id="doxygen.classboost_1_1intrusive_1_1avltree" name="avltree"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>The class template avltree is an intrusive AVL tree container, that is used to construct intrusive <link linkend="doxygen.classboost_1_1intrusive_1_1avl__set">avl_set</link> and <link linkend="doxygen.classboost_1_1intrusive_1_1avl__multiset">avl_multiset</link> containers. The no-throw guarantee holds only, if the key_compare object doesn't throw.</para><para>The template parameter <computeroutput>T</computeroutput> is the type to be managed by the container. The user can specify additional options and if no options are provided default options are used.</para><para>The container supports the following options: <computeroutput>base_hook&lt;&gt;/member_hook&lt;&gt;/value_traits&lt;&gt;</computeroutput>, <computeroutput>constant_time_size&lt;&gt;</computeroutput>, <computeroutput>size_type&lt;&gt;</computeroutput> and <computeroutput>compare&lt;&gt;</computeroutput>. </para></description><typedef id="doxygen.classboost_1_1intrusive_1_1avltree_1a832dd573bb2b8d5d7e0b6464b8c45bde" name="value_traits"><type>ValueTraits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avltree_1ad4c394a45cef7b499c163b9e5fe82ae2" name="pointer"><type>implementation_defined::pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avltree_1a8fdb004f986ca2d422121d6678dcf915" name="const_pointer"><type>implementation_defined::const_pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avltree_1a7a03b6f8ec7d4e6a3054ed10fb116011" name="value_type"><type>implementation_defined::value_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avltree_1a634a2db1e19c64f44f99d859d23e5473" name="key_type"><type>implementation_defined::key_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avltree_1aebdcade7fdd40bc0fbbddf3cd78b90b1" name="key_of_value"><type>implementation_defined::key_of_value</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avltree_1a0e534295ed0f3a4a31e70e452956ee6d" name="reference"><type>implementation_defined::reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avltree_1a91815598ff5b02909624d6a0e42e3d9b" name="const_reference"><type>implementation_defined::const_reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avltree_1adf645545762953bff9876fe6e9bd3818" name="difference_type"><type>implementation_defined::difference_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avltree_1a8ab90d67c5552c8f843152881e8f6235" name="size_type"><type>implementation_defined::size_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avltree_1a54ddaf608993c89147eea44b5cabad84" name="value_compare"><type>implementation_defined::value_compare</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avltree_1a20a6fb638e3226bde811c4463b1b51b3" name="key_compare"><type>implementation_defined::key_compare</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avltree_1a483c2e5e7fd8d0a9bc73e426024be38e" name="iterator"><type>implementation_defined::iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avltree_1a2ea377cc89c5005ef0919a77b16abe01" name="const_iterator"><type>implementation_defined::const_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avltree_1a5ad90512433aa9425064cea48dc4037e" name="reverse_iterator"><type>implementation_defined::reverse_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avltree_1a5489f0830856e69a9968ff0b33f3a2dd" name="const_reverse_iterator"><type>implementation_defined::const_reverse_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avltree_1abe78ab31d59e52272abf131d8bd3ae5a" name="node_traits"><type>implementation_defined::node_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avltree_1a15fc274a344b41c01e607473198485aa" name="node"><type>implementation_defined::node</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avltree_1acc502721378141f0f6337c153a7aeb6c" name="node_ptr"><type>implementation_defined::node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avltree_1a9bb0e7cfe5e7b5c369afc59f4d5b9088" name="const_node_ptr"><type>implementation_defined::const_node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avltree_1ab369dfd721a98663dd71b8f9f8bea3a3" name="node_algorithms"><type>implementation_defined::node_algorithms</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avltree_1a560c72d49dc2bd61b94dae9458da32b5" name="insert_commit_data"><type>implementation_defined::insert_commit_data</type></typedef>
<data-member id="doxygen.classboost_1_1intrusive_1_1avltree_1a5be120e894a5fd9e5cafa6550e4779ce" name="constant_time_size" specifiers="static"><type>const bool</type></data-member>
<method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1avltree_1a790dda29e06c9e3274ed8058a01332fa"><description><para><emphasis role="bold">Effects</emphasis>: Constructs an empty container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the copy constructor of the key_compare object throws. Basic guarantee.   </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1avltree_1a8587d27ac69b01ffaedc34db68ee7ad5" specifiers="explicit"><parameter name="cmp"><paramtype>const key_compare &amp;</paramtype></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1avltree_1a62291555739e74193e0f791a9de16d4f"><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="unique"><paramtype>bool</paramtype></parameter><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><parameter name="cmp"><paramtype>const key_compare &amp;</paramtype><default>key_compare()</default></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1avltree_1a5a82751b099d56f68acb4800308d00c5"><parameter name="x"><paramtype><classname>avltree</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Constructs a container moving resources from another container. Internal comparison object and value traits are move constructed and nodes belonging to x (except the node representing the "end") are linked to *this.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node's move constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the move constructor of the comparison objet throws.   </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1avltree_1aa1b5aca27eed1d4936bc4e10c5944212"><type><classname>avltree</classname> &amp;</type><parameter name="x"><paramtype><classname>avltree</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Equivalent to swap  </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1avltree_1a6b8ec6396e31e373c3e55cdee0d38bd6"><description><para><emphasis role="bold">Effects</emphasis>: Detaches all elements from this. The objects in the set are not deleted (i.e. no destructors are called), but the nodes according to the <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> template parameter are reinitialized and thus can be reused.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a6acbc635a86b738294cde05dfa947b6c" name="begin" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a3bc236c1af51200c5a1cdfb9facbb3c1" name="begin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a70be880944bb1a912c712b1a22f57ced" name="cbegin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a915444939910aeb06c9131ceadb6c4d5" name="end" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a96007da62f149ef9145b83bb8a9b7084" name="end" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a26326ec9e99cc941748a1370a70fac46" name="cend" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1aa138a95fa331c36eaf203fcc8cef5866" name="rbegin" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a07d0016d85a433b3e9f04f76498dba1a" name="rbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a624e9ec81f4b1dead054b8c34d18d1f2" name="crbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a12500a9c55d1731f3a96323aa8179a74" name="rend" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a67ecfa944537f300a24da4da5cf64328" name="rend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a43cfb792e3c40e5c87fcb977ecef43a9" name="crend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1aeed3326a15dd609e5f7c5f04725f2196" name="root" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1avltree_1a915444939910aeb06c9131ceadb6c4d5">end()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a17e8db62dcf1187e256227c9f8c61a5d" name="root" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1avltree_1a26326ec9e99cc941748a1370a70fac46">cend()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a2c4b186f2d3b2d3ad0a681934a293fa1" name="croot" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1avltree_1a26326ec9e99cc941748a1370a70fac46">cend()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1af232df290f0cbb3c959c53b7384fbd5a" name="key_comp" cv="const"><type>key_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the key_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If key_compare copy-constructor throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a96fa1b3067aa36003355288e0a6c7bc9" name="value_comp" cv="const"><type>value_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the value_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_compare copy-constructor throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1afc088ccb4fb71bf0c553d68d68ee60c4" name="empty" cv="const noexcept"><type>bool</type><description><para><emphasis role="bold">Effects</emphasis>: Returns true if the container is empty.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1adedf83b51c59acdb95c6df99de90bb47" name="size" cv="const noexcept"><type>size_type</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the number of elements stored in the container.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this if constant-time size option is disabled. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1ab8c4c417c5930c81f46b03a09cbf54b2" name="swap"><type>void</type><parameter name="other"><paramtype><classname>avltree</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Swaps the contents of two containers.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor's swap call throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1ae298735741586c7963afe19008d941e1" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype>const <classname>avltree</classname> &amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(const_reference ) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a86ef5b0098eb198b3382567919531081" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype><classname>avltree</classname> &amp;&amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(reference) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee.</para><para><emphasis role="bold">Note</emphasis>: This version can modify the source container, useful to implement move semantics.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a041660cd3ed03adcf52b1326b4a518a9" name="insert_equal"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a29e23f44cfe027f269fbc3b3dff0604a" name="insert_equal"><type>iterator</type><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a42f8b2164ffd6627ce62ef251ae5d98f" name="insert_equal"><type>void</type><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type.</para><para><emphasis role="bold">Effects</emphasis>: Inserts a each element of a range into the container before the upper bound of the key of each element.</para><para><emphasis role="bold">Complexity</emphasis>: Insert range is in general O(N * log(N)), where N is the size of the range. However, it is linear in N if the range is already sorted by <link linkend="doxygen.classboost_1_1intrusive_1_1avltree_1a96fa1b3067aa36003355288e0a6c7bc9">value_comp()</link>.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor call throws.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1aa61b41c5ed37cc29439632127a0e6db9" name="insert_unique"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1af2231846fa0c9737702bb4c012a2cb22" name="insert_unique"><type>iterator</type><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a01d1f75d93a6a1320ef997a989de8fa1" name="insert_unique_check"><type>std::pair&lt; iterator, bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1ad8bb162f3742da3083148c91f762ade0" name="insert_unique_check"><type>std::pair&lt; iterator, bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a0827b32676770eda605ea3edee503d91" name="insert_unique_check"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a4de71ef2a95b40f9f226c7054739a2a8" name="insert_unique_check"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a2f58c07349ea2419553ee4df9ca46aaf" name="insert_unique_commit" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter><parameter name="commit_data"><paramtype>const insert_commit_data &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue of type value_type. commit_data must have been obtained from a previous call to "insert_check". No objects should have been inserted or erased from the container between the "insert_check" that filled "commit_data" and the call to "insert_commit".</para><para><emphasis role="bold">Effects</emphasis>: Inserts the value in the container using the information obtained from the "commit_data" that a previous "insert_check" filled.</para><para><emphasis role="bold">Returns</emphasis>: An iterator to the newly inserted object.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function has only sense if a "insert_check" has been previously executed to fill "commit_data". No value should be inserted or erased between the "insert_check" and "insert_commit" calls.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1afe1bf658620f4651007ef0a3d7566d0d" name="insert_unique"><type>void</type><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type.</para><para><emphasis role="bold">Effects</emphasis>: Tries to insert each element of a range into the container.</para><para><emphasis role="bold">Complexity</emphasis>: Insert range is in general O(N * log(N)), where N is the size of the range. However, it is linear in N if the range is already sorted by <link linkend="doxygen.classboost_1_1intrusive_1_1avltree_1a96fa1b3067aa36003355288e0a6c7bc9">value_comp()</link>.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor call throws.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1ab2ef0a659c1f69fe7f8c11d41c8fa220" name="insert_before" cv="noexcept"><type>iterator</type><parameter name="pos"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, "pos" must be a valid iterator (or end) and must be the succesor of value once inserted according to the predicate</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container before "pos".</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if "pos" is not the successor of "value" container ordering invariant will be broken. This is a low-level function to be used only for performance reasons by advanced users.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a0a8e2f906252e6c7672a1391111a3ac9" name="push_back" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and it must be no less than the greatest inserted key</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container in the last position.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if value is less than the greatest inserted key container ordering invariant will be broken. This function is slightly more efficient than using "insert_before". This is a low-level function to be used only for performance reasons by advanced users.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a1b05c47c369b3473f88c0d46d1ef7c95" name="push_front" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and it must be no greater than the minimum inserted key</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container in the first position.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if value is greater than the minimum inserted key container ordering invariant will be broken. This function is slightly more efficient than using "insert_before". This is a low-level function to be used only for performance reasons by advanced users.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a9aa3402a6a1040d7771615b141a86145" name="erase" cv="noexcept"><type>iterator</type><parameter name="i"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1adbfc1307a9055179bfc668a1253cbb3a" name="erase" cv="noexcept"><type>iterator</type><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1ad421e3d64ab8e09c55b7ac19aab20d09" name="erase"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1aae346f5e5e1397c7c2116b0c533110e4" name="erase"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "comp".</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1avltree_1adedf83b51c59acdb95c6df99de90bb47">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a543b5584aead7e4579bbc6657a25e499" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="i"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1abf07ed1aa450a7334d41972585a3ce4d" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1ab7b76bce16ac6d957d82ec399779ee4f" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1ac5b4944034dfa3837244838839bd62f8" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk) and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "comp". Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1avltree_1adedf83b51c59acdb95c6df99de90bb47">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased elements.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a4b4268cdf34d90a37c127f25114d10e7" name="clear" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements on the container. if it's a safe-mode or auto-unlink value_type. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a52f4163c62d8f8787dc6b604c6919d3b" name="clear_and_dispose" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements calling disposer(p) for each node to be erased. <emphasis role="bold">Complexity</emphasis>: Average complexity for is at most O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1avltree_1adedf83b51c59acdb95c6df99de90bb47">size()</link> + N)), where N is the number of elements in the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. Calls N times to disposer functor.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a126c0392ed9e654043667125eb95057e" name="count" cv="const"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a4e2e334cd3c501f97654ecf8cf4f2d34" name="count" cv="const"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of contained elements with the given key</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic to the number of elements contained plus lineal to number of objects with the given key.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a11ade61ef11988c5f259e3c1bbcfb9e7" name="lower_bound"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a7fb8799ef3b27e4acd67ea8ee736d9d8" name="lower_bound"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1aaade23d17717826d0be74de572d9f9ae" name="lower_bound" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a9cb6c43654072a148523bfbbb2c4945a" name="lower_bound" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1aaafd35ad6988e4bd832013827722a4cd" name="upper_bound"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a4aa10d14372851080fa399dcafcf91d8" name="upper_bound"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k according to comp or <link linkend="doxygen.classboost_1_1intrusive_1_1avltree_1a915444939910aeb06c9131ceadb6c4d5">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a42d87f54192bc4dba0cb92b3141ea061" name="upper_bound" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1abd5faecac04e5dccc412816cc7d40b63" name="upper_bound" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k according to comp or <link linkend="doxygen.classboost_1_1intrusive_1_1avltree_1a915444939910aeb06c9131ceadb6c4d5">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1ae7b2ba575194198cc8fd221136edc583" name="find"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a38fe87ebbf55d789b080e0c6337bf513" name="find"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1avltree_1a915444939910aeb06c9131ceadb6c4d5">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a8b20c0bb519ed256777502ab755dd01a" name="find" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1aa919a165ef3f798e7f95345f99aa7078" name="find" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1avltree_1a915444939910aeb06c9131ceadb6c4d5">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a0951d8d30c31bd1c3da909a7a7295569" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a2eadecc350b543c25a7e00e6df854af9" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a560d90ad5aa81e3b76672565d4ca5978" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a58abd7eee86045b4ba86755b355d26ac" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1ad7e8ba8892883d1c654ec268af0c5b9c" name="bounded_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="lower"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1ae096b4e8d8d62e93aa7b510e81730d4a" name="bounded_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>lower_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, lower_key) if left_closed is true, with respect to !comp(lower_key, nk) otherwise.</para><para><computeroutput>upper_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(upper_key, nk) if right_closed is true, with respect to comp(nk, upper_key) otherwise.</para><para><computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to comp [comp(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!comp(upper_key, lower_key) &amp;&amp; !comp(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise</para><para>second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1addedabe79ed6dd828d3441307f7dc05f" name="bounded_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="lower_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1acc0462e34b1d9dfbbdc989fd59c533c8" name="bounded_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>lower_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, lower_key) if left_closed is true, with respect to !comp(lower_key, nk) otherwise.</para><para><computeroutput>upper_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(upper_key, nk) if right_closed is true, with respect to comp(nk, upper_key) otherwise.</para><para><computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to comp [comp(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!comp(upper_key, lower_key) &amp;&amp; !comp(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise</para><para>second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1afa65594854f9d4a985c72f1f24590dda" name="iterator_to" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a928eb7a207e67c1471a033b8716f63d1" name="iterator_to" cv="const noexcept"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a5f168c24e68db309fe20ce2f96d8e19c" name="unlink_leftmost_without_rebalance" cv="noexcept"><type>pointer</type><description><para><emphasis role="bold">Effects</emphasis>: Unlinks the leftmost node from the container.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function breaks the container and the container can only be used for more unlink_leftmost_without_rebalance calls. This function is normally used to achieve a step by step controlled destruction of the container.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a351aeb6c02cc2e1ac8b5347ec862fd1d" name="replace_node" cv="noexcept"><type>void</type><parameter name="replace_this"><paramtype>iterator</paramtype></parameter><parameter name="with_this"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: replace_this must be a valid iterator of *this and with_this must not be inserted in any container.</para><para><emphasis role="bold">Effects</emphasis>: Replaces replace_this in its position in the container with with_this. The container does not need to be rebalanced.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if with_this is not equivalent to *replace_this according to the ordering rules. This function is faster than erasing and inserting the node, since no rebalancing or comparison is needed.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a9f0fbc5fbcc3b8a01120f6b2e877472c" name="remove_node" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: removes "value" from the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic time.</para><para><emphasis role="bold">Note</emphasis>: This static function is only usable with non-constant time size containers that have stateless comparison functors.</para><para>If the user calls this function with a constant time size container or stateful comparison functor a compilation error will be issued.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1ab50d9f87ee61ffc247054cf9d81e6e2b" name="merge_unique"><type>void</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options2"><type>class ...</type></template-nontype-parameter>
        </template><parameter name=""><paramtype><classname>avltree</classname>&lt; T, Options2... &gt; &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1ab9d029cfdb84bdfd98060ba43b79616c" name="merge_equal"><type>void</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options2"><type>class ...</type></template-nontype-parameter>
        </template><parameter name=""><paramtype><classname>avltree</classname>&lt; T, Options2... &gt; &amp;</paramtype></parameter></method>
</method-group>
<method-group name="public static functions">
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1aa279d5956100a6c1cf899e108442f435" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type><classname>avltree</classname> &amp;</type><parameter name="end_iterator"><paramtype>iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1ac5502b3fba5faa30fc605e468984c8b3" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type>const <classname>avltree</classname> &amp;</type><parameter name="end_iterator"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a8c723b5df2165ec0de59218cd1725dcc" name="container_from_iterator" cv="noexcept" specifiers="static"><type><classname>avltree</classname> &amp;</type><parameter name="it"><paramtype>iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a82281e96cd3dd54a472e95236f25f22a" name="container_from_iterator" cv="noexcept" specifiers="static"><type>const <classname>avltree</classname> &amp;</type><parameter name="it"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1ae8dfee47ed7eacf1a3f443e29a25f38a" name="s_iterator_to" cv="noexcept" specifiers="static"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1a4f7a9cdad8b5190e8f6b541f6620e638" name="s_iterator_to" cv="noexcept" specifiers="static"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree_1adcb08ecfa22bc5dfb079b37a999732b5" name="init_node" cv="noexcept" specifiers="static"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
</method-group>
</class><struct id="doxygen.structboost_1_1intrusive_1_1make__avltree" name="make_avltree"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define a <computeroutput>avltree</computeroutput> that yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__avltree_1a4dc0c72421ab33b2dffa698ca830af1b" name="type"><type>implementation_defined</type></typedef>
</struct>



























































</namespace>
</namespace>
</header>
<header id="doxygen.avltree__algorithms_8hpp" name="boost/intrusive/avltree_algorithms.hpp">
<namespace name="boost">
<namespace name="intrusive">
<class id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms" name="avltree_algorithms"><template>
      <template-type-parameter name="NodeTraits"/>
    </template><description><para><link linkend="doxygen.classboost_1_1intrusive_1_1avltree__algorithms">avltree_algorithms</link> is configured with a NodeTraits class, which encapsulates the information about the node to be manipulated. NodeTraits must support the following interface:</para><para><emphasis role="bold">Typedefs</emphasis>:</para><para><computeroutput>node</computeroutput>: The type of the node that forms the binary search tree</para><para><computeroutput>node_ptr</computeroutput>: A pointer to a node</para><para><computeroutput>const_node_ptr</computeroutput>: A pointer to a const node</para><para><computeroutput>balance</computeroutput>: The type of the balance factor</para><para><emphasis role="bold">Static functions</emphasis>:</para><para><computeroutput>static node_ptr get_parent(const_node_ptr n);</computeroutput></para><para><computeroutput>static void set_parent(node_ptr n, node_ptr parent);</computeroutput></para><para><computeroutput>static node_ptr get_left(const_node_ptr n);</computeroutput></para><para><computeroutput>static void set_left(node_ptr n, node_ptr left);</computeroutput></para><para><computeroutput>static node_ptr get_right(const_node_ptr n);</computeroutput></para><para><computeroutput>static void set_right(node_ptr n, node_ptr right);</computeroutput></para><para><computeroutput>static balance get_balance(const_node_ptr n);</computeroutput></para><para><computeroutput>static void set_balance(node_ptr n, balance b);</computeroutput></para><para><computeroutput>static balance negative();</computeroutput></para><para><computeroutput>static balance zero();</computeroutput></para><para><computeroutput>static balance positive();</computeroutput> </para></description><typedef id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1a255da0fffd75bd874d51d832019dad83" name="node"><type>NodeTraits::node</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1abcb39269597f1acdd5b5a3442eed8d8a" name="node_traits"><type>NodeTraits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1ad7d87f3e9dcd66c5d07950ac5e0d9b94" name="node_ptr"><type>NodeTraits::node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1ae289373b4c361299c10d4cda8fab6103" name="const_node_ptr"><type>NodeTraits::const_node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1a3ab7bda66db0b154cac5e7e76eae5b2d" name="balance"><type>NodeTraits::balance</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1ab96eade5c817c9df6b148810ab56fb5a" name="insert_commit_data"><description><para>This type is the information that will be filled by insert_unique_check </para></description><type>bstree_algo::insert_commit_data</type></typedef>
<method-group name="public static functions">
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1a3366ec36f221bdb2ed0854bc56d8abf2" name="get_header" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="n"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'n' is a node of the tree or a header node.</para><para><emphasis role="bold">Effects</emphasis>: Returns the header of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1aa8fb9c40599962ac09dbc17bfd83c58d" name="begin_node" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'header' is the header node of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Returns the first node of the tree, the header if the tree is empty.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1a8a7f5af4194f6afa1410cdfb745a294d" name="end_node" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'header' is the header node of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Returns the header of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1ac88d343045b0b307513a500f88912d77" name="swap_tree" cv="noexcept" specifiers="static"><type>void</type><parameter name="header1"><paramtype>node_ptr</paramtype></parameter><parameter name="header2"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header1 and header2 must be the header nodes of two trees.</para><para><emphasis role="bold">Effects</emphasis>: Swaps two trees. After the function header1 will contain links to the second tree and header2 will have links to the first tree.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1a96a73b531d6569f11abe8595efdef3c3" name="swap_nodes" cv="noexcept" specifiers="static"><type>void</type><parameter name="node1"><paramtype>node_ptr</paramtype></parameter><parameter name="node2"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: node1 and node2 can't be header nodes of two trees.</para><para><emphasis role="bold">Effects</emphasis>: Swaps two nodes. After the function node1 will be inserted in the position node2 before the function. node2 will be inserted in the position node1 had before the function.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if node1 and node2 are not equivalent according to the ordering rules.</para><para>Experimental function   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1ac7c2c3ee25a31ea62ecae17e776f3211" name="swap_nodes" cv="noexcept" specifiers="static"><type>void</type><parameter name="node1"><paramtype>node_ptr</paramtype></parameter><parameter name="header1"><paramtype>node_ptr</paramtype></parameter><parameter name="node2"><paramtype>node_ptr</paramtype></parameter><parameter name="header2"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: node1 and node2 can't be header nodes of two trees with header header1 and header2.</para><para><emphasis role="bold">Effects</emphasis>: Swaps two nodes. After the function node1 will be inserted in the position node2 before the function. node2 will be inserted in the position node1 had before the function.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if node1 and node2 are not equivalent according to the ordering rules.</para><para>Experimental function   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1abbf87c70a4c4d83033b6ef92052e35e2" name="replace_node" cv="noexcept" specifiers="static"><type>void</type><parameter name="node_to_be_replaced"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: node_to_be_replaced must be inserted in a tree and new_node must not be inserted in a tree.</para><para><emphasis role="bold">Effects</emphasis>: Replaces node_to_be_replaced in its position in the tree with new_node. The tree does not need to be rebalanced</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if new_node is not equivalent to node_to_be_replaced according to the ordering rules. This function is faster than erasing and inserting the node, since no rebalancing and comparison is needed. Experimental function   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1a4a6cdc1a6970275b072bfd0919991a64" name="replace_node" cv="noexcept" specifiers="static"><type>void</type><parameter name="node_to_be_replaced"><paramtype>node_ptr</paramtype></parameter><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: node_to_be_replaced must be inserted in a tree with header "header" and new_node must not be inserted in a tree.</para><para><emphasis role="bold">Effects</emphasis>: Replaces node_to_be_replaced in its position in the tree with new_node. The tree does not need to be rebalanced</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if new_node is not equivalent to node_to_be_replaced according to the ordering rules. This function is faster than erasing and inserting the node, since no rebalancing or comparison is needed. Experimental function   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1afeee62bd8a19be5a2c502b0e3af4e559" name="unlink" cv="noexcept" specifiers="static"><type>void</type><parameter name="n"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'n' is a tree node but not the header.</para><para><emphasis role="bold">Effects</emphasis>: Unlinks the node and rebalances the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1a13e4e6285238cf26687e45fe26c219a9" name="unlink_leftmost_without_rebalance" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header is the header of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Unlinks the leftmost node from the tree, and updates the header link to the new leftmost node.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function breaks the tree and the tree can only be used for more unlink_leftmost_without_rebalance calls. This function is normally used to achieve a step by step controlled destruction of the tree.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1a8aac43a1848ae9a7211d3bae4bedfb65" name="unique" cv="noexcept" specifiers="static"><type>bool</type><parameter name="n"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'n' is a node of the tree or a node initialized by init(...) or init_node.</para><para><emphasis role="bold">Effects</emphasis>: Returns true if the node is initialized by <link linkend="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1a19600153b13fcf446022016847556e34">init()</link> or init_node().</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1a6c8937a6017c5cf5c5a231233b90abd1" name="size" cv="noexcept" specifiers="static"><type>std::size_t</type><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'header' the header of the tree.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of nodes of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Linear time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1a40cab7e4bcf21f891e15dfe30ea67da2" name="next_node" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="n"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'n' is a node from the tree except the header.</para><para><emphasis role="bold">Effects</emphasis>: Returns the next node of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Average constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1a4c9b361c4b94c9c5adae765b917700a0" name="prev_node" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="n"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'n' is a node from the tree except the leftmost node.</para><para><emphasis role="bold">Effects</emphasis>: Returns the previous node of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Average constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1a19600153b13fcf446022016847556e34" name="init" cv="noexcept" specifiers="static"><type>void</type><parameter name="n"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'n' must not be part of any tree.</para><para><emphasis role="bold">Effects</emphasis>: After the function unique(node) == true.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Nodes</emphasis>: If node is inserted in a tree, this function corrupts the tree.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1a0d677eb268cd415978d144a712e76068" name="init_header" cv="noexcept" specifiers="static"><type>void</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header must not be part of any tree.</para><para><emphasis role="bold">Effects</emphasis>: Initializes the header to represent an empty tree. unique(header) == true.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Nodes</emphasis>: If header is inserted in a tree, this function corrupts the tree. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1afc754230131bf4752df80aed1442379b" name="erase" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="z"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header must be the header of a tree, z a node of that tree and z != header.</para><para><emphasis role="bold">Effects</emphasis>: Erases node "z" from the tree with header "header".</para><para><emphasis role="bold">Complexity</emphasis>: Amortized constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1aacd106f93624d17dd5e1c2f2bdb9e699" name="transfer_unique" specifiers="static"><type>bool</type><template>
          <template-type-parameter name="NodePtrCompare"/>
        </template><parameter name="header1"><paramtype>node_ptr</paramtype></parameter><parameter name="comp"><paramtype>NodePtrCompare</paramtype></parameter><parameter name="header2"><paramtype>node_ptr</paramtype></parameter><parameter name="z"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header1 and header2 must be the headers of trees tree1 and tree2 respectively, z a non-header node of tree1. NodePtrCompare is the comparison function of tree1..</para><para><emphasis role="bold">Effects</emphasis>: Transfers node "z" from tree1 to tree2 if tree1 does not contain a node that is equivalent to z.</para><para><emphasis role="bold">Returns</emphasis>: True if the node was trasferred, false otherwise.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1aba2613cf97d5441f653680a0a84b2588" name="transfer_equal" specifiers="static"><type>void</type><template>
          <template-type-parameter name="NodePtrCompare"/>
        </template><parameter name="header1"><paramtype>node_ptr</paramtype></parameter><parameter name="comp"><paramtype>NodePtrCompare</paramtype></parameter><parameter name="header2"><paramtype>node_ptr</paramtype></parameter><parameter name="z"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header1 and header2 must be the headers of trees tree1 and tree2 respectively, z a non-header node of tree1. NodePtrCompare is the comparison function of tree1..</para><para><emphasis role="bold">Effects</emphasis>: Transfers node "z" from tree1 to tree2.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1a625b89676b71030e8c8312d0e4358b2e" name="clone" specifiers="static"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="source_header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="target_header"><paramtype>node_ptr</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "cloner" must be a function object taking a node_ptr and returning a new cloned node of it. "disposer" must take a node_ptr and shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: First empties target tree calling <computeroutput>void disposer::operator()(node_ptr)</computeroutput> for every node of the tree except the header.</para><para>Then, duplicates the entire tree pointed by "source_header" cloning each source node with <computeroutput>node_ptr Cloner::operator()(node_ptr)</computeroutput> to obtain the nodes of the target tree. If "cloner" throws, the cloned target nodes are disposed using <computeroutput>void disposer(node_ptr )</computeroutput>.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of element of the source tree plus the number of elements of tree target tree when calling this function.</para><para><emphasis role="bold">Throws</emphasis>: If cloner functor throws. If this happens target nodes are disposed.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1a252128ec6e6a630f51dad7cfbc33a7f8" name="clear_and_dispose" cv="noexcept" specifiers="static"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "disposer" must be an object function taking a node_ptr parameter and shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Empties the target tree calling <computeroutput>void disposer::operator()(node_ptr)</computeroutput> for every node of the tree except the header.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of element of the source tree plus the. number of elements of tree target tree when calling this function.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1aaa63776b2b032e150395c76ac989ec78" name="lower_bound" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns a node_ptr to the first element that is not less than "key" according to "comp" or "header" if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1ab044141017f726998b2b9769f6267722" name="upper_bound" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns a node_ptr to the first element that is greater than "key" according to "comp" or "header" if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1a3e14db9f5b503397548c41dc01e89f83" name="find" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns a node_ptr to the first element that is equivalent to "key" according to "comp" or "header" if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1ab5b29a82ed69c2018e99c8fd5a9e6e4b" name="equal_range" specifiers="static"><type>std::pair&lt; node_ptr, node_ptr &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair of node_ptr delimiting a range containing all elements that are equivalent to "key" according to "comp" or an empty range that indicates the position where those elements would be if there are no equivalent elements.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1a1c38328cf7a29a788df6a3453ca91687" name="bounded_range" specifiers="static"><type>std::pair&lt; node_ptr, node_ptr &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs. 'lower_key' must not be greater than 'upper_key' according to 'comp'. If 'lower_key' == 'upper_key', ('left_closed' || 'right_closed') must be true.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key) if left_closed, upper_bound(lower_key) otherwise</para><para>second = upper_bound(upper_key) if right_closed, lower_bound(upper_key) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1a1f303a878d59e10f5ca0b4badaba32ac" name="count" specifiers="static"><type>std::size_t</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of elements with a key equivalent to "key" according to "comp".</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1a1433612163d28fb358b704f9b60bf6f6" name="insert_equal_upper_bound" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="NodePtrCompare"/>
        </template><parameter name="h"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><parameter name="comp"><paramtype>NodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "h" must be the header node of a tree. NodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. NodePtrCompare compares two node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Inserts new_node into the tree before the upper bound according to "comp".</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity for insert element is at most logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1ad549fb17e97655a846056444f5491993" name="insert_equal_lower_bound" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="NodePtrCompare"/>
        </template><parameter name="h"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><parameter name="comp"><paramtype>NodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "h" must be the header node of a tree. NodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. NodePtrCompare compares two node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Inserts new_node into the tree before the lower bound according to "comp".</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity for insert element is at most logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1aa1eaeaa323b4d45529c9f518f8412c80" name="insert_equal" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="NodePtrCompare"/>
        </template><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="hint"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><parameter name="comp"><paramtype>NodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. NodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. NodePtrCompare compares two node_ptrs. "hint" is node from the "header"'s tree.</para><para><emphasis role="bold">Effects</emphasis>: Inserts new_node into the tree, using "hint" as a hint to where it will be inserted. If "hint" is the upper_bound the insertion takes constant time (two comparisons in the worst case).</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic in general, but it is amortized constant time if new_node is inserted immediately before "hint".</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1a22bfec40778223d05c30f587f5773850" name="insert_before" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="pos"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. "pos" must be a valid iterator or header (end) node. "pos" must be an iterator pointing to the successor to "new_node" once inserted according to the order of already inserted nodes. This function does not check "pos" and this precondition must be guaranteed by the caller.</para><para><emphasis role="bold">Effects</emphasis>: Inserts new_node into the tree before "pos".</para><para><emphasis role="bold">Complexity</emphasis>: Constant-time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: If "pos" is not the successor of the newly inserted "new_node" tree invariants might be broken.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1aacd6d7b116750cefbe038aa4f6cbec33" name="push_back" cv="noexcept" specifiers="static"><type>void</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. "new_node" must be, according to the used ordering no less than the greatest inserted key.</para><para><emphasis role="bold">Effects</emphasis>: Inserts new_node into the tree before "pos".</para><para><emphasis role="bold">Complexity</emphasis>: Constant-time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: If "new_node" is less than the greatest inserted key tree invariants are broken. This function is slightly faster than using "insert_before".   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1a78a880a2d129c2014f2e86f73d88f1cd" name="push_front" cv="noexcept" specifiers="static"><type>void</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. "new_node" must be, according to the used ordering, no greater than the lowest inserted key.</para><para><emphasis role="bold">Effects</emphasis>: Inserts new_node into the tree before "pos".</para><para><emphasis role="bold">Complexity</emphasis>: Constant-time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: If "new_node" is greater than the lowest inserted key tree invariants are broken. This function is slightly faster than using "insert_before".   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1a2ce277ee23554f6c5fd953d6bf0c3d30" name="insert_unique_check" specifiers="static"><type>std::pair&lt; node_ptr, bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1a76a2e9647f2f1eec6b4890206d3174d7" name="insert_unique_check" specifiers="static"><type>std::pair&lt; node_ptr, bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="hint"><paramtype>node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1a8c3e5f1c06bc82ee80e7b88427f95452" name="insert_unique_commit" cv="noexcept" specifiers="static"><type>void</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="new_value"><paramtype>node_ptr</paramtype></parameter><parameter name="commit_data"><paramtype>const insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1avltree__algorithms_1a73e066ea84988d2e0b22a7b75122f604" name="is_header" cv="noexcept" specifiers="static"><type>bool</type><parameter name="p"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: p is a node of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Returns true if p is the header of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
</method-group>
</class>



























































</namespace>
</namespace>
</header>
<header id="doxygen.bs__set_8hpp" name="boost/intrusive/bs_set.hpp">
<namespace name="boost">
<namespace name="intrusive">
<class id="doxygen.classboost_1_1intrusive_1_1bs__multiset" name="bs_multiset"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>The class template <link linkend="doxygen.classboost_1_1intrusive_1_1bs__multiset">bs_multiset</link> is an intrusive container, that mimics most of the interface of std::multiset as described in the C++ standard.</para><para>The template parameter <computeroutput>T</computeroutput> is the type to be managed by the container. The user can specify additional options and if no options are provided default options are used.</para><para>The container supports the following options: <computeroutput>base_hook&lt;&gt;/member_hook&lt;&gt;/value_traits&lt;&gt;</computeroutput>, <computeroutput>constant_time_size&lt;&gt;</computeroutput>, <computeroutput>size_type&lt;&gt;</computeroutput> and <computeroutput>compare&lt;&gt;</computeroutput>. </para></description><typedef id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a57594c73d812c823f2829130ca01518a" name="value_type"><type>implementation_defined::value_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a66a01b545d658d16ed8004cead133831" name="key_type"><type>implementation_defined::key_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a121882a3f088ca3abef186f770c0657c" name="value_traits"><type>implementation_defined::value_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1ac0d963c9bbbe55f0ffe371ae1fd00a5b" name="pointer"><type>implementation_defined::pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a9626eec0d3397143774fc5da87fa4dc4" name="const_pointer"><type>implementation_defined::const_pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a0dde8ea42c9b41e7f8e3efab596aa98d" name="reference"><type>implementation_defined::reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a1f53f807213d15ee2f558fef1bf68d90" name="const_reference"><type>implementation_defined::const_reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a8e6d91e21ec802c6a92d215b2673de75" name="difference_type"><type>implementation_defined::difference_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a4152d14ff7624862e93594aab55f5361" name="size_type"><type>implementation_defined::size_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a0c341ac7d4c815e1b81dc486535244ac" name="value_compare"><type>implementation_defined::value_compare</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a9e709444712033a617610843ac8eb51b" name="key_compare"><type>implementation_defined::key_compare</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a2580d185c79a3d37dd6f2c965f29b125" name="iterator"><type>implementation_defined::iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a215a1fce0b1e5fca96a6a5965eb3895e" name="const_iterator"><type>implementation_defined::const_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a45f0974630a291ed3f3598f7fc8da80d" name="reverse_iterator"><type>implementation_defined::reverse_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1aa6d0d4db40b12b9e38383eaa45509386" name="const_reverse_iterator"><type>implementation_defined::const_reverse_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a4d78f3d2ab321ea2bdba20568a18817c" name="insert_commit_data"><type>implementation_defined::insert_commit_data</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1aea78ca695eef5cfec803959287f36e02" name="node_traits"><type>implementation_defined::node_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a93eb0eb7b07c2f0ae92b88004572f146" name="node"><type>implementation_defined::node</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a1f15b292426ffdf72541b0a0733b54d7" name="node_ptr"><type>implementation_defined::node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1afdc7969614bb494fe04174c240d1c1b5" name="const_node_ptr"><type>implementation_defined::const_node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a6cad131d933cf20374996ee3968f4ce3" name="node_algorithms"><type>implementation_defined::node_algorithms</type></typedef>
<data-member id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a52421acd2996bd17775b1326aa0ae992" name="constant_time_size" specifiers="static"><type>const bool</type></data-member>
<method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1afda6f0da7b3373a5a58c7cd1618a5810"><description><para><emphasis role="bold">Effects</emphasis>: Constructs an empty container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the copy constructor of the key_compare object throws. Basic guarantee.   </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a4900ce11eb34c987a2d2c13f81ef6fde" specifiers="explicit"><parameter name="cmp"><paramtype>const key_compare &amp;</paramtype></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1acbfae469332ef695006505d821769b11"><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><parameter name="cmp"><paramtype>const key_compare &amp;</paramtype><default>key_compare()</default></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a49e2baf487210e4588f5f8d41291c37c"><parameter name="x"><paramtype><classname>bs_multiset</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Constructs a container moving resources from another container. Internal comparison object and value traits are move constructed and nodes belonging to x (except the node representing the "end") are linked to *this.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node's move constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the move constructor of the comparison objet throws.   </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a8fdd1e0f6dc6b153370d923de0a9a8ef"><type><classname>bs_multiset</classname> &amp;</type><parameter name="x"><paramtype><classname>bs_multiset</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Equivalent to swap  </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1abc23d044c792b1e6d20cb71aa2c317f0"><description><para><emphasis role="bold">Effects</emphasis>: Detaches all elements from this. The objects in the set are not deleted (i.e. no destructors are called), but the nodes according to the <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> template parameter are reinitialized and thus can be reused.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a28b40e7d249aa89da3097c919d02346d" name="begin" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1ae5505109ac0558f6f972219fca8c96ef" name="begin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a8ab3a82f21cc703f162f099ad28ddfdd" name="cbegin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a055faf10a2a9c037dba086b625ccc1fc" name="end" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a1620c8d3b69fcda3f5424feb199503cd" name="end" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1abb1a1e64ac6234f5d16ae8d954ccc3e0" name="cend" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a70ab51a9a30525f00507b541513a081b" name="rbegin" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a1f1d5ae19f8d782c6d265bfe14a58ab0" name="rbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1ab5c880900b07dd68272e022bc96944fa" name="crbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a41755c8a2cbeb531d702ebab177b14ff" name="rend" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a9fc6bb0f7ee28a4bc89fe681215decce" name="rend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1ace725b0f9eb5ae43392d0bae382a8b4c" name="crend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1adf21b5847f8057fd297396cb22273650" name="root" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a055faf10a2a9c037dba086b625ccc1fc">end()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a908bd21557afdaf97d5c0aa2d0348408" name="root" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1bs__multiset_1abb1a1e64ac6234f5d16ae8d954ccc3e0">cend()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a3a1c1c132af65dac9b9b56f9b4db7999" name="croot" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1bs__multiset_1abb1a1e64ac6234f5d16ae8d954ccc3e0">cend()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1acd0015a2963a43db4b139441f1b405a9" name="key_comp" cv="const"><type>key_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the key_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If key_compare copy-constructor throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1aba4d1b78fcc84a7a550edf8e0f2a39ab" name="value_comp" cv="const"><type>value_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the value_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_compare copy-constructor throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a73b64ab8659c9b58dde4f9a77bae697a" name="empty" cv="const noexcept"><type>bool</type><description><para><emphasis role="bold">Effects</emphasis>: Returns true if the container is empty.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a820cacc2f80e11831046a75c49ce8e47" name="size" cv="const noexcept"><type>size_type</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the number of elements stored in the container.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this if constant-time size option is disabled. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1ab4d4ffbb513427b34d129e3ea9890f36" name="swap"><type>void</type><parameter name="other"><paramtype><classname>bs_multiset</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Swaps the contents of two containers.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor's swap call throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a6830f44c61c10a7cd39d35ce73181ac1" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype>const <classname>bs_multiset</classname> &amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(const_reference ) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a077764b75377fd95eb17fe8f38146d41" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype><classname>bs_multiset</classname> &amp;&amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(reference) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee.</para><para><emphasis role="bold">Note</emphasis>: This version can modify the source container, useful to implement move semantics.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a0832a410ceae78bb45f545979d2a17e4" name="insert"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a5b7dc9061a6263ed4fb653e50e419587" name="insert"><type>iterator</type><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a4d9abf05081fe8c6871c91521f87fa69" name="insert"><type>void</type><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type.</para><para><emphasis role="bold">Effects</emphasis>: Inserts a each element of a range into the container before the upper bound of the key of each element.</para><para><emphasis role="bold">Complexity</emphasis>: Insert range is in general O(N * log(N)), where N is the size of the range. However, it is linear in N if the range is already sorted by <link linkend="doxygen.classboost_1_1intrusive_1_1bs__multiset_1aba4d1b78fcc84a7a550edf8e0f2a39ab">value_comp()</link>.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor call throws.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a42fa4bdf2fc245086427684e3f08d879" name="insert_before" cv="noexcept"><type>iterator</type><parameter name="pos"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, "pos" must be a valid iterator (or end) and must be the succesor of value once inserted according to the predicate</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container before "pos".</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if "pos" is not the successor of "value" container ordering invariant will be broken. This is a low-level function to be used only for performance reasons by advanced users.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1af52091bce6bb12f3aa2319acba0cb982" name="push_back" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and it must be no less than the greatest inserted key</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container in the last position.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if value is less than the greatest inserted key container ordering invariant will be broken. This function is slightly more efficient than using "insert_before". This is a low-level function to be used only for performance reasons by advanced users.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a54ae9486bece93c0d58e0eb4a963adec" name="push_front" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and it must be no greater than the minimum inserted key</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container in the first position.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if value is greater than the minimum inserted key container ordering invariant will be broken. This function is slightly more efficient than using "insert_before". This is a low-level function to be used only for performance reasons by advanced users.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a1b29a2135140773894dd38542bb1a637" name="erase" cv="noexcept"><type>iterator</type><parameter name="i"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a3d677afb6e55b2fbd2c7e5469ee845de" name="erase" cv="noexcept"><type>iterator</type><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1aacaa04ad9b9682279f27ba022c496d3b" name="erase"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a17b3fb15ab00d2ff8700b9fb99b5f663" name="erase"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "comp".</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a820cacc2f80e11831046a75c49ce8e47">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1ad471dc8b8cc0bf4d1d4e5afe4a38f10d" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="i"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a2babab44f0dbb7fbee28c9d51389d25d" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a8f4d846c878cebd3ad10751ee0497f3e" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a2c6f744063960ea2360c9b8fd14bd58f" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk) and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "comp". Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a820cacc2f80e11831046a75c49ce8e47">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased elements.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1aa662237baaeea28822aa78468da1956a" name="clear" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements on the container. if it's a safe-mode or auto-unlink value_type. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a814dde96f6a534826da9c4ed7c9e39fc" name="clear_and_dispose" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements calling disposer(p) for each node to be erased. <emphasis role="bold">Complexity</emphasis>: Average complexity for is at most O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a820cacc2f80e11831046a75c49ce8e47">size()</link> + N)), where N is the number of elements in the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. Calls N times to disposer functor.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a7cdfe57b8abcce0ac8afd55fad863621" name="count" cv="const"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1ae3892a53c4c62b7325aee37fe1623360" name="count" cv="const"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of contained elements with the given key</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic to the number of elements contained plus lineal to number of objects with the given key.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1acc801780faa79e22f28a8ac95b48c9d1" name="lower_bound"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a72d868f86e2b3430ccc1b7d29e94e1d3" name="lower_bound"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a0c5704608b0360a21cb9a17713393d21" name="lower_bound" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1ab50ba645758cda9f684e54842cab7955" name="lower_bound" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a1988fbafc338cd4232d3c9b69de4c444" name="upper_bound"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a557b6b3afc9b896898d92cd9b95c6350" name="upper_bound"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k according to comp or <link linkend="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a055faf10a2a9c037dba086b625ccc1fc">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1aed4128b49f90b6cbab314d590b8fb0c0" name="upper_bound" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a31f9c3ebe6eb01f3abad07af0b8316a4" name="upper_bound" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k according to comp or <link linkend="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a055faf10a2a9c037dba086b625ccc1fc">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a6b6dac1f81d7f3a1830d9e7f96e14799" name="find"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1aadf32ea979f2d8290dc7a7e1de0b6d69" name="find"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a055faf10a2a9c037dba086b625ccc1fc">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1ad0f60a11e12b76a48f579d4e08c2e648" name="find" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1af97d8e39960edcfd808031d8ce5abaaf" name="find" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a055faf10a2a9c037dba086b625ccc1fc">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1ab48b6d547734112b739e1243df0585d2" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1adb2e828424dee90d4abeb6753944c0c6" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a3d587531cc4de36d02f6169a938dbad6" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a8ce0f41a6958f86eeeb52878978cc52c" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a0392871d9cefa151c13c72622c158d3a" name="bounded_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="lower_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a01cad7dbaa5eae272bbc74c49a936bd4" name="bounded_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>lower_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, lower_key) if left_closed is true, with respect to !comp(lower_key, nk) otherwise.</para><para><computeroutput>upper_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(upper_key, nk) if right_closed is true, with respect to comp(nk, upper_key) otherwise.</para><para><computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to comp [comp(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!comp(upper_key, lower_key) &amp;&amp; !comp(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise</para><para>second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a3f02f3669bfc534e8be7390b6df38434" name="bounded_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="lower_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1afe670ae182ecffa6a896d1a7d549c336" name="bounded_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>lower_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, lower_key) if left_closed is true, with respect to !comp(lower_key, nk) otherwise.</para><para><computeroutput>upper_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(upper_key, nk) if right_closed is true, with respect to comp(nk, upper_key) otherwise.</para><para><computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to comp [comp(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!comp(upper_key, lower_key) &amp;&amp; !comp(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise</para><para>second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a8412bf56ae145fac54d888435ad6881a" name="iterator_to" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a246d0d7248189614a7336c4b4b9e29aa" name="iterator_to" cv="const noexcept"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a1bcbaa694be241a1383ac89ed8007653" name="unlink_leftmost_without_rebalance" cv="noexcept"><type>pointer</type><description><para><emphasis role="bold">Effects</emphasis>: Unlinks the leftmost node from the container.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function breaks the container and the container can only be used for more unlink_leftmost_without_rebalance calls. This function is normally used to achieve a step by step controlled destruction of the container.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a5416b700531850cef21339c331d3a23a" name="replace_node" cv="noexcept"><type>void</type><parameter name="replace_this"><paramtype>iterator</paramtype></parameter><parameter name="with_this"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: replace_this must be a valid iterator of *this and with_this must not be inserted in any container.</para><para><emphasis role="bold">Effects</emphasis>: Replaces replace_this in its position in the container with with_this. The container does not need to be rebalanced.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if with_this is not equivalent to *replace_this according to the ordering rules. This function is faster than erasing and inserting the node, since no rebalancing or comparison is needed.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a66ac7fb6b29e3189511d058dfb72d211" name="remove_node" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: removes "value" from the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic time.</para><para><emphasis role="bold">Note</emphasis>: This static function is only usable with non-constant time size containers that have stateless comparison functors.</para><para>If the user calls this function with a constant time size container or stateful comparison functor a compilation error will be issued.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a3ec0091bbd81b6017815163f381cb494" name="merge"><type>void</type><template>
          <template-nontype-parameter name="Options2"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="source"><paramtype><classname>bs_multiset</classname>&lt; T, Options2... &gt; &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "source" container's Options can only can differ in the comparison function from *this.</para><para><emphasis role="bold">Effects</emphasis>: Extracts each element in source and insert it into a using the comparison object of *this.</para><para><emphasis role="bold">Postcondition</emphasis>: Pointers and references to the transferred elements of source refer to those same elements but as members of *this. Iterators referring to the transferred elements will continue to refer to their elements, but they now behave as iterators into *this, not into source.</para><para><emphasis role="bold">Throws</emphasis>: Nothing unless the comparison object throws.</para><para><emphasis role="bold">Complexity</emphasis>: N log(a.size() + N) (N has the value source.size())   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a075814d6a168960eb9764cb64eab3fa2" name="merge"><type>void</type><template>
          <template-nontype-parameter name="Options2"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="source"><paramtype><classname>bs_set</classname>&lt; T, Options2... &gt; &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "source" container's Options can only can differ in the comparison function from *this.</para><para><emphasis role="bold">Effects</emphasis>: Extracts each element in source and insert it into a using the comparison object of *this.</para><para><emphasis role="bold">Postcondition</emphasis>: Pointers and references to the transferred elements of source refer to those same elements but as members of *this. Iterators referring to the transferred elements will continue to refer to their elements, but they now behave as iterators into *this, not into source.</para><para><emphasis role="bold">Throws</emphasis>: Nothing unless the comparison object throws.</para><para><emphasis role="bold">Complexity</emphasis>: N log(a.size() + N) (N has the value source.size())   </para></description></method>
</method-group>
<method-group name="public static functions">
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a6758dc81b58645351d1f81bb72e1aca6" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type><classname>bs_multiset</classname> &amp;</type><parameter name="end_iterator"><paramtype>iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1affd08cfaecbc7104221ed4b874410fde" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type>const <classname>bs_multiset</classname> &amp;</type><parameter name="end_iterator"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a063a9d158dc27ddec80181fae60826ae" name="container_from_iterator" cv="noexcept" specifiers="static"><type><classname>bs_multiset</classname> &amp;</type><parameter name="it"><paramtype>iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1a745126127a0924a97fdb2b785d0af662" name="container_from_iterator" cv="noexcept" specifiers="static"><type>const <classname>bs_multiset</classname> &amp;</type><parameter name="it"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1ac07499fd5235a82c2c0f75e186e03e74" name="s_iterator_to" cv="noexcept" specifiers="static"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1afd9cec74aac620ddf1567bc782eefaba" name="s_iterator_to" cv="noexcept" specifiers="static"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__multiset_1ab20daecc46eb5aaa346a264ad79c37fb" name="init_node" cv="noexcept" specifiers="static"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
</method-group>
</class><class id="doxygen.classboost_1_1intrusive_1_1bs__set" name="bs_set"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>The class template <link linkend="doxygen.classboost_1_1intrusive_1_1bs__set">bs_set</link> is an intrusive container, that mimics most of the interface of std::set as described in the C++ standard.</para><para>The template parameter <computeroutput>T</computeroutput> is the type to be managed by the container. The user can specify additional options and if no options are provided default options are used.</para><para>The container supports the following options: <computeroutput>base_hook&lt;&gt;/member_hook&lt;&gt;/value_traits&lt;&gt;</computeroutput>, <computeroutput>constant_time_size&lt;&gt;</computeroutput>, <computeroutput>size_type&lt;&gt;</computeroutput> and <computeroutput>compare&lt;&gt;</computeroutput>. </para></description><typedef id="doxygen.classboost_1_1intrusive_1_1bs__set_1a51e7c49fcdb62f25467aeff191852265" name="value_type"><type>implementation_defined::value_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__set_1a02cd998a679e0bb2f1baaa67233858a5" name="key_type"><type>implementation_defined::key_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__set_1a7bd37d9ecf07de48e33045a2b1fe95b1" name="value_traits"><type>implementation_defined::value_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__set_1a47f46b2f92f73386a6cd9617f10083bc" name="pointer"><type>implementation_defined::pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__set_1aae79138892e8419fa7108171e69d685d" name="const_pointer"><type>implementation_defined::const_pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__set_1a3b70500cd044b7afe3ec934cc808c385" name="reference"><type>implementation_defined::reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__set_1ab3866369b3033f9112fc803bbf330e3d" name="const_reference"><type>implementation_defined::const_reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__set_1aef9ecd6c6acb8063730d219402b0f875" name="difference_type"><type>implementation_defined::difference_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__set_1a287ab97443dd35e0a4ad909da0ac2f6f" name="size_type"><type>implementation_defined::size_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__set_1a57d87e93f415b8ec833e734b843efce7" name="value_compare"><type>implementation_defined::value_compare</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__set_1a388d188c02d7a627ad3151d52b48e0a5" name="key_compare"><type>implementation_defined::key_compare</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__set_1afdc2b8a40cc53e6889854ab9aebdb9a1" name="iterator"><type>implementation_defined::iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__set_1a5e79675f53624f92b2f0c0b38d50c873" name="const_iterator"><type>implementation_defined::const_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__set_1ad445dfbbe451fc8e5df4ac9c15f291bc" name="reverse_iterator"><type>implementation_defined::reverse_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__set_1a75045c320ef9989592b6819ad9e9f887" name="const_reverse_iterator"><type>implementation_defined::const_reverse_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__set_1a32cdff01d51c464a1f896079ed506942" name="insert_commit_data"><type>implementation_defined::insert_commit_data</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__set_1aa2ba626cf0b26d3b8f99bccb6f32e8d9" name="node_traits"><type>implementation_defined::node_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__set_1afac9d4c67ff70678dcc2a66e4a8384a7" name="node"><type>implementation_defined::node</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__set_1aa592b66df67a57771efcbe5057e3abbe" name="node_ptr"><type>implementation_defined::node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__set_1a2e5ceb4dbc276535326834b317b6230a" name="const_node_ptr"><type>implementation_defined::const_node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bs__set_1adb5b14fbddc67a369acbc158ce82a7fd" name="node_algorithms"><type>implementation_defined::node_algorithms</type></typedef>
<data-member id="doxygen.classboost_1_1intrusive_1_1bs__set_1a3c9c737b56892d19c7b42ea7836ea78d" name="constant_time_size" specifiers="static"><type>const bool</type></data-member>
<method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1bs__set_1a86714b89c98cab9672f7133bd2243bc8"><description><para><emphasis role="bold">Effects</emphasis>: Constructs an empty container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the copy constructor of the key_compare object throws. Basic guarantee.   </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1bs__set_1af3aac33480ffe414525d996ba0a10542" specifiers="explicit"><parameter name="cmp"><paramtype>const key_compare &amp;</paramtype></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1bs__set_1a50f8d3876ebe56b5803d6ebdbc5c99c5"><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><parameter name="cmp"><paramtype>const key_compare &amp;</paramtype><default>key_compare()</default></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1bs__set_1a24928bcaf964a263583466aa4af4da87"><parameter name="x"><paramtype><classname>bs_set</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Constructs a container moving resources from another container. Internal comparison object and value traits are move constructed and nodes belonging to x (except the node representing the "end") are linked to *this.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node's move constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the move constructor of the comparison objet throws.   </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1bs__set_1a26e47b4d7c66438fb8e664a6d3836455"><type><classname>bs_set</classname> &amp;</type><parameter name="x"><paramtype><classname>bs_set</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Equivalent to swap  </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1bs__set_1ad713afb9fba073f88bc0a2e55c00ce00"><description><para><emphasis role="bold">Effects</emphasis>: Detaches all elements from this. The objects in the set are not deleted (i.e. no destructors are called), but the nodes according to the <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> template parameter are reinitialized and thus can be reused.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a41ff50d14a70c3c2610f58c0793e227a" name="begin" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a6e3fbe02f3cff494e944745262242cc2" name="begin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a79e355b9a0188616e6f1a82554520ef1" name="cbegin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a3e2384f25db6b8217f56db4ca072933a" name="end" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1aec703ce6a9fd8620cef33c655657edd9" name="end" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1acfae72a9b66d5156ab40b19c185840c5" name="cend" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1adf4f6c6e2ba0fadb900e28b44e02cecf" name="rbegin" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1ab9d41933eea5bddab7dc06096f34884a" name="rbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a8a74764dbefa4d9ec30ae609df32c588" name="crbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a9154cdededf8a4f3706ad15aa9498fab" name="rend" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a54cfe4fd5ffa95ad2d6778132fdfaa38" name="rend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a0a4f395f06228ea700e8c7fffc6eba14" name="crend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a19ecb5e191cb5754a17031929caae7bf" name="root" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1bs__set_1a3e2384f25db6b8217f56db4ca072933a">end()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1af7d0b02fe07e8a56da797dcd818d5790" name="root" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1bs__set_1acfae72a9b66d5156ab40b19c185840c5">cend()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1ab2186b0e7301f5e4dca5ec3e94ce4a64" name="croot" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1bs__set_1acfae72a9b66d5156ab40b19c185840c5">cend()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a42844e68f3da40b0e2678a30dbee75bc" name="key_comp" cv="const"><type>key_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the key_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If key_compare copy-constructor throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1accfc89ebbfec4b8f1b37ca6f7cd0d975" name="value_comp" cv="const"><type>value_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the value_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_compare copy-constructor throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a065e4ad7f091dba8c9c030aec278c104" name="empty" cv="const noexcept"><type>bool</type><description><para><emphasis role="bold">Effects</emphasis>: Returns true if the container is empty.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1acb30eff501798e6eaa925cab477e40ab" name="size" cv="const noexcept"><type>size_type</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the number of elements stored in the container.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this if constant-time size option is disabled. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1ad5ec62dfa6a692dd325bd3aea8df7c6e" name="swap"><type>void</type><parameter name="other"><paramtype><classname>bs_set</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Swaps the contents of two containers.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor's swap call throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a4de7aa82c2e751d84016435eee75fead" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype>const <classname>bs_set</classname> &amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(const_reference ) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a5ae8b4d869f7dd76bd4e729149e3ff92" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype><classname>bs_set</classname> &amp;&amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(reference) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee.</para><para><emphasis role="bold">Note</emphasis>: This version can modify the source container, useful to implement move semantics.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1ab6f45fe789ec4f91be841c34dd9e400f" name="insert"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1afa7a99d611b8dd6ce7ee0b1dc3bf38c7" name="insert"><type>iterator</type><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1aaa9fdd9c707627d7a200d7e593ffe7f5" name="insert_check"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1aa550bcafc3338103a32130eeaf569f97" name="insert_check"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a9979804c6ffc7c448297ae7cbbb6d814" name="insert_check"><type>std::pair&lt; iterator, bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a0a6721970e9b6015a0869d7f7461e5b2" name="insert_check"><type>std::pair&lt; iterator, bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1ad6698058186f887b1b7f099a330d7c28" name="insert"><type>void</type><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type.</para><para><emphasis role="bold">Effects</emphasis>: Tries to insert each element of a range into the container.</para><para><emphasis role="bold">Complexity</emphasis>: Insert range is in general O(N * log(N)), where N is the size of the range. However, it is linear in N if the range is already sorted by <link linkend="doxygen.classboost_1_1intrusive_1_1bs__set_1accfc89ebbfec4b8f1b37ca6f7cd0d975">value_comp()</link>.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor call throws.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1affb52031dad720267e0ece04a3d6e03f" name="insert_commit" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter><parameter name="commit_data"><paramtype>const insert_commit_data &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue of type value_type. commit_data must have been obtained from a previous call to "insert_check". No objects should have been inserted or erased from the container between the "insert_check" that filled "commit_data" and the call to "insert_commit".</para><para><emphasis role="bold">Effects</emphasis>: Inserts the value in the container using the information obtained from the "commit_data" that a previous "insert_check" filled.</para><para><emphasis role="bold">Returns</emphasis>: An iterator to the newly inserted object.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function has only sense if a "insert_check" has been previously executed to fill "commit_data". No value should be inserted or erased between the "insert_check" and "insert_commit" calls.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1ae21a6c2ce17e5aff6cc728cfd76767ec" name="insert_before" cv="noexcept"><type>iterator</type><parameter name="pos"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, "pos" must be a valid iterator (or end) and must be the succesor of value once inserted according to the predicate</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container before "pos".</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if "pos" is not the successor of "value" container ordering invariant will be broken. This is a low-level function to be used only for performance reasons by advanced users.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1ac75c3c6d0422c201b3ebd82332684db3" name="push_back" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and it must be no less than the greatest inserted key</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container in the last position.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if value is less than the greatest inserted key container ordering invariant will be broken. This function is slightly more efficient than using "insert_before". This is a low-level function to be used only for performance reasons by advanced users.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a86e6cf3dd85c9ccedc6eb0cbd73c4f07" name="push_front" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and it must be no greater than the minimum inserted key</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container in the first position.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if value is greater than the minimum inserted key container ordering invariant will be broken. This function is slightly more efficient than using "insert_before". This is a low-level function to be used only for performance reasons by advanced users.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1aaa927e3c249b00f40451b277db16f125" name="erase" cv="noexcept"><type>iterator</type><parameter name="i"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a0fc7ca654949e44021c8d4f92ea74ba0" name="erase" cv="noexcept"><type>iterator</type><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1ac7dd3a304ef3f7f359bb375c2a4d244f" name="erase"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1aa26bb99d16f392d6d3b5211c88469f28" name="erase"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "comp".</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1bs__set_1acb30eff501798e6eaa925cab477e40ab">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a04de04ef3856e649e06a473584bd5841" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="i"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a9433b377313a904f103a56b7798a7d07" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1ac76889a6bcb4fd23e4b24332a7899e96" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a000a354c4498d89c292e0ffa9bbf5198" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk) and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "comp". Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1bs__set_1acb30eff501798e6eaa925cab477e40ab">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased elements.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a204e4e6b6e96489cb61b2e7632b279b1" name="clear" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements on the container. if it's a safe-mode or auto-unlink value_type. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a42b18b101b7c079df5cc54cad8f14a84" name="clear_and_dispose" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements calling disposer(p) for each node to be erased. <emphasis role="bold">Complexity</emphasis>: Average complexity for is at most O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1bs__set_1acb30eff501798e6eaa925cab477e40ab">size()</link> + N)), where N is the number of elements in the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. Calls N times to disposer functor.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a227b508a855f02addea4ea27f0e73e14" name="count" cv="const"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a0f846ee50148601989afb9722437f844" name="count" cv="const"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of contained elements with the given key</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic to the number of elements contained plus lineal to number of objects with the given key.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1abb3881b188458af5df0f76519aad9a48" name="lower_bound"><type>iterator</type><parameter name=""><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a605fe301188e908b194a3c86825c19c1" name="lower_bound"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a86df88ef3113beff4c4ec59b624be781" name="lower_bound" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1af2b49d01e36e2b3dc1d8608cbbca8e01" name="lower_bound" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1ac116a2633173b41e901e8cea6c01e5d6" name="upper_bound"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1adcc5651f2941930a1e6253a1eff203df" name="upper_bound"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k according to comp or <link linkend="doxygen.classboost_1_1intrusive_1_1bs__set_1a3e2384f25db6b8217f56db4ca072933a">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1afd38b90d32742424ed42b57d1d33fdee" name="upper_bound" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1ad1564f119e7c5ec5f225c92717704282" name="upper_bound" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k according to comp or <link linkend="doxygen.classboost_1_1intrusive_1_1bs__set_1a3e2384f25db6b8217f56db4ca072933a">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a84813e423eca267c676ed1c71a6e2eb7" name="find"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1aa47d5a93ab77472732a562763f8364bf" name="find"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1bs__set_1a3e2384f25db6b8217f56db4ca072933a">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1af0975411d0d373cbefdf25d39f89d531" name="find" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1ac99b792839ef1249e58405b5b982fd3f" name="find" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1bs__set_1a3e2384f25db6b8217f56db4ca072933a">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a93212a4ebc8c2e21f1a2ab23a6d67f32" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a0d2c63e255d27e8c091ed3e1dcd29cab" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a8fba0e4ade1dbb2a509dd3a4638cd1b2" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a796f24d0fcc3876d9016f638d084747b" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a2292c9091eec9f6ab306af42c6138fe0" name="bounded_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="lower_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1afa1ade2949a85e53d7e3eefdff04f76a" name="bounded_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>lower_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, lower_key) if left_closed is true, with respect to !comp(lower_key, nk) otherwise.</para><para><computeroutput>upper_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(upper_key, nk) if right_closed is true, with respect to comp(nk, upper_key) otherwise.</para><para><computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to comp [comp(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!comp(upper_key, lower_key) &amp;&amp; !comp(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise</para><para>second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1abf2294e2a84a41e9c28d2f0f672fc0f1" name="bounded_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="lower_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1adba95760b3820b4b926d206bf2260ddb" name="bounded_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>lower_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, lower_key) if left_closed is true, with respect to !comp(lower_key, nk) otherwise.</para><para><computeroutput>upper_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(upper_key, nk) if right_closed is true, with respect to comp(nk, upper_key) otherwise.</para><para><computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to comp [comp(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!comp(upper_key, lower_key) &amp;&amp; !comp(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise</para><para>second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a6de40ac03e6e5d647650dc723a8a1a49" name="iterator_to" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1aa5826ffdccf739eb185c9417654d1ae5" name="iterator_to" cv="const noexcept"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a2a87af8c2d275f0865525124e0431f23" name="unlink_leftmost_without_rebalance" cv="noexcept"><type>pointer</type><description><para><emphasis role="bold">Effects</emphasis>: Unlinks the leftmost node from the container.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function breaks the container and the container can only be used for more unlink_leftmost_without_rebalance calls. This function is normally used to achieve a step by step controlled destruction of the container.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a6ad9ebf7119264bb0fa1abc7bbb241e3" name="replace_node" cv="noexcept"><type>void</type><parameter name="replace_this"><paramtype>iterator</paramtype></parameter><parameter name="with_this"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: replace_this must be a valid iterator of *this and with_this must not be inserted in any container.</para><para><emphasis role="bold">Effects</emphasis>: Replaces replace_this in its position in the container with with_this. The container does not need to be rebalanced.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if with_this is not equivalent to *replace_this according to the ordering rules. This function is faster than erasing and inserting the node, since no rebalancing or comparison is needed.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a7e798bde84c3f87a5a5ad82ba796e75a" name="remove_node" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: removes "value" from the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic time.</para><para><emphasis role="bold">Note</emphasis>: This static function is only usable with non-constant time size containers that have stateless comparison functors.</para><para>If the user calls this function with a constant time size container or stateful comparison functor a compilation error will be issued.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a8916a20a728404cb570b7c02c50d6cab" name="merge"><type>void</type><template>
          <template-nontype-parameter name="Options2"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="source"><paramtype><classname>bs_set</classname>&lt; T, Options2... &gt; &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "source" container's Options can only can differ in the comparison function from *this.</para><para><emphasis role="bold">Effects</emphasis>: Attempts to extract each element in source and insert it into a using the comparison object of *this. If there is an element in a with key equivalent to the key of an element from source, then that element is not extracted from source.</para><para><emphasis role="bold">Postcondition</emphasis>: Pointers and references to the transferred elements of source refer to those same elements but as members of *this. Iterators referring to the transferred elements will continue to refer to their elements, but they now behave as iterators into *this, not into source.</para><para><emphasis role="bold">Throws</emphasis>: Nothing unless the comparison object throws.</para><para><emphasis role="bold">Complexity</emphasis>: N log(a.size() + N) (N has the value source.size())   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a789002f8c5d796591f529a58ece7d891" name="merge"><type>void</type><template>
          <template-nontype-parameter name="Options2"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="source"><paramtype><classname>bs_multiset</classname>&lt; T, Options2... &gt; &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "source" container's Options can only can differ in the comparison function from *this.</para><para><emphasis role="bold">Effects</emphasis>: Attempts to extract each element in source and insert it into a using the comparison object of *this. If there is an element in a with key equivalent to the key of an element from source, then that element is not extracted from source.</para><para><emphasis role="bold">Postcondition</emphasis>: Pointers and references to the transferred elements of source refer to those same elements but as members of *this. Iterators referring to the transferred elements will continue to refer to their elements, but they now behave as iterators into *this, not into source.</para><para><emphasis role="bold">Throws</emphasis>: Nothing unless the comparison object throws.</para><para><emphasis role="bold">Complexity</emphasis>: N log(a.size() + N) (N has the value source.size())   </para></description></method>
</method-group>
<method-group name="public static functions">
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1ab6d73951334f092e3c650e9c571dab14" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type><classname>bs_set</classname> &amp;</type><parameter name="end_iterator"><paramtype>iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a1e6a3ce3641269143224717f8f5afaf6" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type>const <classname>bs_set</classname> &amp;</type><parameter name="end_iterator"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1aa2717d0da674891a05d69d9b6603fc6d" name="container_from_iterator" cv="noexcept" specifiers="static"><type><classname>bs_set</classname> &amp;</type><parameter name="it"><paramtype>iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a8151830200c7e7c90ab93bb0c4fb5144" name="container_from_iterator" cv="noexcept" specifiers="static"><type>const <classname>bs_set</classname> &amp;</type><parameter name="it"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1aae1d98fe2fb33463b7fc94356b9fbbb2" name="s_iterator_to" cv="noexcept" specifiers="static"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1aa3cad4f07464c0826415052ec01cdac6" name="s_iterator_to" cv="noexcept" specifiers="static"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set_1a9df04bbd3f74e3aed756c0e271455179" name="init_node" cv="noexcept" specifiers="static"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
</method-group>
</class><struct id="doxygen.structboost_1_1intrusive_1_1make__bs__multiset" name="make_bs_multiset"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define a <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1bs__multiset">bs_multiset</link></computeroutput> that yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__bs__multiset_1a646990f02598d7620aba80ce7e8c0f3c" name="type"><type>implementation_defined</type></typedef>
</struct><struct id="doxygen.structboost_1_1intrusive_1_1make__bs__set" name="make_bs_set"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define a <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1bs__set">bs_set</link></computeroutput> that yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__bs__set_1ae80d13f6f95bbc4dc487d7093a8d3a52" name="type"><type>implementation_defined</type></typedef>
</struct>







































<function id="doxygen.bs__set_8hpp_1afc08c31654e1a63b304ca9b5e93db820" name="operator!="><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>bs_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>bs_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.bs__set_8hpp_1af6b690e8a89313299b5536862dba0fda" name="operator&gt;"><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>bs_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>bs_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.bs__set_8hpp_1ab36ad06b15f7418e20b887cb41970cf8" name="operator&lt;="><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>bs_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>bs_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.bs__set_8hpp_1aced0f53275734d71b580eb8e8579499e" name="operator&gt;="><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>bs_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>bs_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.bs__set_8hpp_1aa10ad08875fceab575efbca380e68d2c" name="swap"><type>void</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype><classname>bs_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype><classname>bs_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.bs__set_8hpp_1a2170c8d3366ac9204e02fa6b0119a068" name="operator!="><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>bs_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>bs_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.bs__set_8hpp_1a99dc8c3288af1334091d6a33c4a2988f" name="operator&gt;"><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>bs_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>bs_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.bs__set_8hpp_1a54421e500a26d8255ad39725f54e9687" name="operator&lt;="><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>bs_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>bs_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.bs__set_8hpp_1adbb3eb08adc0f7a23ca700db14fcc877" name="operator&gt;="><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>bs_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>bs_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.bs__set_8hpp_1a856c3143a55de6f6b24647bbd2e98654" name="swap"><type>void</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype><classname>bs_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype><classname>bs_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>










</namespace>
</namespace>
</header>
<header id="doxygen.bs__set__hook_8hpp" name="boost/intrusive/bs_set_hook.hpp">
<namespace name="boost">
<namespace name="intrusive">
<class id="doxygen.classboost_1_1intrusive_1_1bs__set__base__hook" name="bs_set_base_hook"><template>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><inherit access="public">make_bs_set_base_hook::type</inherit><description><para>Derive a class from <link linkend="doxygen.classboost_1_1intrusive_1_1bs__set__base__hook">bs_set_base_hook</link> in order to store objects in in a bs_set/bs_multiset. <link linkend="doxygen.classboost_1_1intrusive_1_1bs__set__base__hook">bs_set_base_hook</link> holds the data necessary to maintain the bs_set/bs_multiset and provides an appropriate <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> class for bs_set/bs_multiset.</para><para>The hook admits the following options: <computeroutput>tag&lt;&gt;</computeroutput>, <computeroutput>void_pointer&lt;&gt;</computeroutput>, <computeroutput>link_mode&lt;&gt;</computeroutput>.</para><para><computeroutput>tag&lt;&gt;</computeroutput> defines a tag to identify the node. The same tag value can be used in different classes, but if a class is derived from more than one <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1list__base__hook">list_base_hook</link></computeroutput>, then each <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1list__base__hook">list_base_hook</link></computeroutput> needs its unique tag.</para><para><computeroutput>void_pointer&lt;&gt;</computeroutput> is the pointer type that will be used internally in the hook and the container configured to use this hook.</para><para><computeroutput>link_mode&lt;&gt;</computeroutput> will specify the linking mode of the hook (<computeroutput>normal_link</computeroutput>, <computeroutput>auto_unlink</computeroutput> or <computeroutput>safe_link</computeroutput>). </para></description><method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1bs__set__base__hook_1a33c075761877f020b377aff6c6022c41"><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput> or <computeroutput>safe_link</computeroutput> initializes the node to an unlinked state.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1bs__set__base__hook_1aacb118de7d5a113c7d0be8bddc574f2c"><parameter name=""><paramtype>const <classname>bs_set_base_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput> or <computeroutput>safe_link</computeroutput> initializes the node to an unlinked state. The argument is ignored.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Rationale</emphasis>: Providing a copy-constructor makes classes using the hook STL-compliant without forcing the user to do some additional work. <computeroutput>swap</computeroutput> can be used to emulate move-semantics. </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1bs__set__base__hook_1a96a69cb2becea0e8f1b77aac34c90632"><type><classname>bs_set_base_hook</classname> &amp;</type><parameter name=""><paramtype>const <classname>bs_set_base_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Empty function. The argument is ignored.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Rationale</emphasis>: Providing an assignment operator makes classes using the hook STL-compliant without forcing the user to do some additional work. <computeroutput>swap</computeroutput> can be used to emulate move-semantics. </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1bs__set__base__hook_1a130fbc591a7f1f6a3338dda7545fd5e7"><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>normal_link</computeroutput>, the destructor does nothing (ie. no code is generated). If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>safe_link</computeroutput> and the object is stored in a set an assertion is raised. If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput> and <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1bs__set__base__hook_1a7722a6e6f4be4bd0972f5bf39343ccb5">is_linked()</link></computeroutput> is true, the node is unlinked.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set__base__hook_1ab9a85f33ad1c4e3a08c210554383d160" name="swap_nodes"><type>void</type><parameter name="other"><paramtype><classname>bs_set_base_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Swapping two nodes swaps the position of the elements related to those nodes in one or two containers. That is, if the node this is part of the element e1, the node x is part of the element e2 and both elements are included in the containers s1 and s2, then after the swap-operation e1 is in s2 at the position of e2 and e2 is in s1 at the position of e1. If one element is not in a container, then after the swap-operation the other element is not in a container. Iterators to e1 and e2 related to those nodes are invalidated.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set__base__hook_1a7722a6e6f4be4bd0972f5bf39343ccb5" name="is_linked" cv="const"><type>bool</type><description><para><emphasis role="bold">Precondition</emphasis>: <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> must be <computeroutput>safe_link</computeroutput> or <computeroutput>auto_unlink</computeroutput>.</para><para><emphasis role="bold">Returns</emphasis>: true, if the node belongs to a container, false otherwise. This function can be used to test whether <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1set_1aa4d9193952cf46af50cd14d1971b4dd3">set::iterator_to</link></computeroutput> will return a valid iterator.</para><para><emphasis role="bold">Complexity</emphasis>: Constant </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set__base__hook_1a40357ed20bf2f7ec61f6b14417207c1d" name="unlink"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Removes the node if it's inserted in a container. This function is only allowed if <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput>.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
</method-group>
</class><class id="doxygen.classboost_1_1intrusive_1_1bs__set__member__hook" name="bs_set_member_hook"><template>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><inherit access="public">make_bs_set_member_hook::type</inherit><description><para>Put a public data member <link linkend="doxygen.classboost_1_1intrusive_1_1bs__set__member__hook">bs_set_member_hook</link> in order to store objects of this class in a bs_set/bs_multiset. <link linkend="doxygen.classboost_1_1intrusive_1_1bs__set__member__hook">bs_set_member_hook</link> holds the data necessary for maintaining the bs_set/bs_multiset and provides an appropriate <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> class for bs_set/bs_multiset.</para><para>The hook admits the following options: <computeroutput>void_pointer&lt;&gt;</computeroutput>, <computeroutput>link_mode&lt;&gt;</computeroutput>.</para><para><computeroutput>void_pointer&lt;&gt;</computeroutput> is the pointer type that will be used internally in the hook and the container configured to use this hook.</para><para><computeroutput>link_mode&lt;&gt;</computeroutput> will specify the linking mode of the hook (<computeroutput>normal_link</computeroutput>, <computeroutput>auto_unlink</computeroutput> or <computeroutput>safe_link</computeroutput>). </para></description><method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1bs__set__member__hook_1a81d30bdfa203b2d7fecfbaec8e672044"><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput> or <computeroutput>safe_link</computeroutput> initializes the node to an unlinked state.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1bs__set__member__hook_1a327533a89bc32cb29366b5629b5b3760"><parameter name=""><paramtype>const <classname>bs_set_member_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput> or <computeroutput>safe_link</computeroutput> initializes the node to an unlinked state. The argument is ignored.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Rationale</emphasis>: Providing a copy-constructor makes classes using the hook STL-compliant without forcing the user to do some additional work. <computeroutput>swap</computeroutput> can be used to emulate move-semantics. </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1bs__set__member__hook_1a3285e659a0441e3f2592272f70896ae6"><type><classname>bs_set_member_hook</classname> &amp;</type><parameter name=""><paramtype>const <classname>bs_set_member_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Empty function. The argument is ignored.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Rationale</emphasis>: Providing an assignment operator makes classes using the hook STL-compliant without forcing the user to do some additional work. <computeroutput>swap</computeroutput> can be used to emulate move-semantics. </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1bs__set__member__hook_1a8e72a2c5629d48965ca7853b9af32a88"><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>normal_link</computeroutput>, the destructor does nothing (ie. no code is generated). If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>safe_link</computeroutput> and the object is stored in a set an assertion is raised. If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput> and <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1bs__set__member__hook_1ae9d8c3119d81ed33d5e0165b12d12251">is_linked()</link></computeroutput> is true, the node is unlinked.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set__member__hook_1a1355ee3dd0268b262f07c538958ca2bf" name="swap_nodes"><type>void</type><parameter name="other"><paramtype><classname>bs_set_member_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Swapping two nodes swaps the position of the elements related to those nodes in one or two containers. That is, if the node this is part of the element e1, the node x is part of the element e2 and both elements are included in the containers s1 and s2, then after the swap-operation e1 is in s2 at the position of e2 and e2 is in s1 at the position of e1. If one element is not in a container, then after the swap-operation the other element is not in a container. Iterators to e1 and e2 related to those nodes are invalidated.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set__member__hook_1ae9d8c3119d81ed33d5e0165b12d12251" name="is_linked" cv="const"><type>bool</type><description><para><emphasis role="bold">Precondition</emphasis>: <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> must be <computeroutput>safe_link</computeroutput> or <computeroutput>auto_unlink</computeroutput>.</para><para><emphasis role="bold">Returns</emphasis>: true, if the node belongs to a container, false otherwise. This function can be used to test whether <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1set_1aa4d9193952cf46af50cd14d1971b4dd3">set::iterator_to</link></computeroutput> will return a valid iterator.</para><para><emphasis role="bold">Complexity</emphasis>: Constant </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bs__set__member__hook_1afb5fdcb00024ae27a7b81b76ff29b3ad" name="unlink"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Removes the node if it's inserted in a container. This function is only allowed if <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput>.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
</method-group>
</class><struct id="doxygen.structboost_1_1intrusive_1_1make__bs__set__base__hook" name="make_bs_set_base_hook"><template>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define a <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1bs__set__base__hook">bs_set_base_hook</link></computeroutput> that yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__bs__set__base__hook_1a83b96474b01b20b41fdabaea0cff1dc2" name="type"><type>implementation_defined</type></typedef>
</struct><struct id="doxygen.structboost_1_1intrusive_1_1make__bs__set__member__hook" name="make_bs_set_member_hook"><template>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define a <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1bs__set__member__hook">bs_set_member_hook</link></computeroutput> that yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__bs__set__member__hook_1a52bc49be8ffbc405da42dc6196ba6df7" name="type"><type>implementation_defined</type></typedef>
</struct>



























































</namespace>
</namespace>
</header>
<header id="doxygen.bstree_8hpp" name="boost/intrusive/bstree.hpp">
<namespace name="boost">
<namespace name="intrusive">
<class id="doxygen.classboost_1_1intrusive_1_1bstree" name="bstree"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><inherit access="public">bstbase&lt; ValueTraits, VoidOrKeyOfValue, VoidOrKeyComp, ConstantTimeSize, SizeType, AlgoType, HeaderHolder &gt;</inherit><description><para>The class template bstree is an unbalanced intrusive binary search tree container. The no-throw guarantee holds only, if the key_compare object doesn't throw.</para><para>The complexity guarantees only hold if the tree is balanced, logarithmic complexity would increase to linear if the tree is totally unbalanced.</para><para>The template parameter <computeroutput>T</computeroutput> is the type to be managed by the container. The user can specify additional options and if no options are provided default options are used.</para><para>The container supports the following options: <computeroutput>base_hook&lt;&gt;/member_hook&lt;&gt;/value_traits&lt;&gt;</computeroutput>, <computeroutput>constant_time_size&lt;&gt;</computeroutput>, <computeroutput>size_type&lt;&gt;</computeroutput> and <computeroutput>compare&lt;&gt;</computeroutput>. </para></description><typedef id="doxygen.classboost_1_1intrusive_1_1bstree_1a1ad0aa049b27bc8556f92e80108faabf" name="value_traits"><type>implementation_defined</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bstree_1a0a6ad4a7021bfcc8fe9fad4a92e91fc9" name="pointer"><type>implementation_defined</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bstree_1a106f439defa20a78bca4cb53161184e6" name="const_pointer"><type>implementation_defined</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bstree_1a6da90c103e646910233aeeb7ef580c13" name="value_type"><type>implementation_defined</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bstree_1a802e669385728129ed84f1be97ae6766" name="key_type"><type>implementation_defined</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bstree_1af2d130d028cc0bfb2b0fc81ae45ec3c5" name="key_of_value"><type>implementation_defined</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bstree_1a676519f063dcd203883854f2e4fdf1a4" name="reference"><type>implementation_defined</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bstree_1a598e0302f384c743b0a400a94b23ee12" name="const_reference"><type>implementation_defined</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bstree_1abce4821c3d136393e99ae10bf1ad936e" name="difference_type"><type>implementation_defined</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bstree_1a5c8ff9549c1817c3aa08c100a4d98f8d" name="size_type"><type>implementation_defined</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bstree_1ac3de63c59929d0f8caf671edadceb099" name="value_compare"><type>implementation_defined</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bstree_1a4712d0edf0fb5c418c264f96e17f3b10" name="key_compare"><type>implementation_defined</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bstree_1a2f1f9fab8eebe01ad9e372b6376227b3" name="iterator"><type>implementation_defined</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bstree_1add2ca0bd0853b2b186d746e62cab65a8" name="const_iterator"><type>implementation_defined</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bstree_1a6788a5df02d5fa28f3b656a847ede4ca" name="reverse_iterator"><type>implementation_defined</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bstree_1ac8b276b5b2808a33ef2c5208122c3238" name="const_reverse_iterator"><type>implementation_defined</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bstree_1a920b8421c144a4aad5ba83f696605fcf" name="node_traits"><type>implementation_defined</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bstree_1a579df7c7320b5efe221e0baa4118e953" name="node"><type>implementation_defined</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bstree_1a4be28922215b8922bed89f5cd122e75d" name="node_ptr"><type>implementation_defined</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bstree_1a43af6d0be128255daa8ec1f2bb035963" name="const_node_ptr"><type>implementation_defined</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bstree_1a204e9bcdc598d553012e7a7888360e94" name="node_algorithms"><type>implementation_defined</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bstree_1a4b668db99af2e9a15e002cf511c487f7" name="insert_commit_data"><type>node_algorithms::insert_commit_data</type></typedef>
<data-member id="doxygen.classboost_1_1intrusive_1_1bstree_1af5e0989ec23030d4b59729516916a934" name="constant_time_size" specifiers="static"><type>const bool</type></data-member>
<data-member id="doxygen.classboost_1_1intrusive_1_1bstree_1a86dd56b2e7d432d0d2ae8845dedfd5b6" name="stateful_value_traits" specifiers="static"><type>const bool</type></data-member>
<method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1bstree_1ade8d82edb5c5f5cc5bab61d3c9a8faef"><description><para><emphasis role="bold">Effects</emphasis>: Constructs an empty container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the copy constructor of the key_compare object throws. Basic guarantee. </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1bstree_1a3e339eb81898dac520f0ef27e3825349" specifiers="explicit"><parameter name="cmp"><paramtype>const key_compare &amp;</paramtype></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter><description><para><emphasis role="bold">Effects</emphasis>: Constructs an empty container with given comparison and traits.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the copy constructor of the key_compare object throws. Basic guarantee. </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1bstree_1aa7681ecf14f08257750f34a62511ce65"><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="unique"><paramtype>bool</paramtype></parameter><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><parameter name="cmp"><paramtype>const key_compare &amp;</paramtype><default>key_compare()</default></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type. cmp must be a comparison function that induces a strict weak ordering.</para><para><emphasis role="bold">Effects</emphasis>: Constructs an empty container and inserts elements from [b, e).</para><para><emphasis role="bold">Complexity</emphasis>: Linear in N if [b, e) is already sorted using comp and otherwise N * log N, where N is the distance between first and last.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the copy constructor/operator() of the key_compare object throws. Basic guarantee. </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1bstree_1aadd2649bd071124e08ece9884db72302"><parameter name="x"><paramtype><classname>bstree</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Constructs a container moving resources from another container. Internal comparison object and value traits are move constructed and nodes belonging to x (except the node representing the "end") are linked to *this.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node's move constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the move constructor of the comparison objet throws. </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1bstree_1aa08f56a0f6d1d44ea81d0b4ae1964949"><type><classname>bstree</classname> &amp;</type><parameter name="x"><paramtype><classname>bstree</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Equivalent to swap </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1bstree_1a38b95ed0ebcfd92aca5a1ece8505583e"><description><para><emphasis role="bold">Effects</emphasis>: Detaches all elements from this. The objects in the set are not deleted (i.e. no destructors are called), but the nodes according to the <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> template parameter are reinitialized and thus can be reused.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a09a5384480a24bb4918e94f2dddb82d1" name="begin" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1aff5913ae1f82fedd149dd15a7c733bb1" name="begin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1ab3bd72ed765c14707fc6f25383334c81" name="cbegin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a844544ecff10c24c89e7ab7442698354" name="end" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1ab71a91f1e2816d7950117fff5ced6602" name="end" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a682658975a21942d1b29fc707a3ccd16" name="cend" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a6646d4ddeaf2f2c125fd936631a18150" name="rbegin" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1afd6f8202962e3aa510ff986cbd96fbc0" name="rbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a6d59a55b0013a3c8a3a5b49842f3c6c7" name="crbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a83418cce6ec3e295ff3abfbc7ba084c4" name="rend" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a889d33c27d7dcad1cb8ab5d9dc42457e" name="rend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a66ccec80609149b15625b2c4ae6cfc72" name="crend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1adbc736adf3e09c499b266f66c7ace175" name="root" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1bstree_1a844544ecff10c24c89e7ab7442698354">end()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a60c67cbb28d0c693d278ab14b09bdbd4" name="root" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1bstree_1a682658975a21942d1b29fc707a3ccd16">cend()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1ac3b6d5a68662f2176ecc01e181c4634c" name="croot" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1bstree_1a682658975a21942d1b29fc707a3ccd16">cend()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a84414082dca6af4a4869e752452617c8" name="key_comp" cv="const"><type>key_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the key_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If key_compare copy-constructor throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a01fabe7f676deceb57cb821dd86ad406" name="value_comp" cv="const"><type>value_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the value_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_compare copy-constructor throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a666f8b06537b474fa33e9ad7cf586bde" name="empty" cv="const noexcept"><type>bool</type><description><para><emphasis role="bold">Effects</emphasis>: Returns true if the container is empty.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a88274417159c81a7607444a44e339bd5" name="size" cv="const noexcept"><type>size_type</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the number of elements stored in the container.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this if constant-time size option is disabled. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a400d28a30c6922a886767ad8c69f0e37" name="swap"><type>void</type><parameter name="other"><paramtype><classname>bstree</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Swaps the contents of two containers.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor's swap call throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1ae421599682abfc6ed1fabcaa6aed38b1" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype>const <classname>bstree</classname> &amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(const_reference ) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a635cf718b0d0718d6831fef06439ce5f" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype><classname>bstree</classname> &amp;&amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(reference) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee.</para><para><emphasis role="bold">Note</emphasis>: This version can modify the source container, useful to implement move semantics. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a35d8d29740e479fe05e8e10d5d3eded9" name="insert_equal"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue</para><para><emphasis role="bold">Effects</emphasis>: Inserts value into the container before the upper bound.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity for insert element is at most logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If the internal key_compare ordering function throws. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1aefd1be28adc41c749999ee293b8c0203" name="insert_equal"><type>iterator</type><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and "hint" must be a valid iterator.</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container, using "hint" as a hint to where it will be inserted. If "hint" is the upper_bound the insertion takes constant time (two comparisons in the worst case)</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic in general, but it is amortized constant time if t is inserted immediately before hint.</para><para><emphasis role="bold">Throws</emphasis>: If the internal key_compare ordering function throws. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a68424ae8adb2ef8d537c20d0ce76d441" name="insert_equal"><type>void</type><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type.</para><para><emphasis role="bold">Effects</emphasis>: Inserts a each element of a range into the container before the upper bound of the key of each element.</para><para><emphasis role="bold">Complexity</emphasis>: Insert range is in general O(N * log(N)), where N is the size of the range. However, it is linear in N if the range is already sorted by <link linkend="doxygen.classboost_1_1intrusive_1_1bstree_1a01fabe7f676deceb57cb821dd86ad406">value_comp()</link>.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor call throws.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1afcce51f79fdcd87dc9aecc1129cfaaa3" name="insert_unique"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue</para><para><emphasis role="bold">Effects</emphasis>: Inserts value into the container if the value is not already present.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity for insert element is at most logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor call throws.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1af5d4af0fb09ee2c6f5a7c3695c9a0984" name="insert_unique"><type>iterator</type><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and "hint" must be a valid iterator</para><para><emphasis role="bold">Effects</emphasis>: Tries to insert x into the container, using "hint" as a hint to where it will be inserted.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic in general, but it is amortized constant time (two comparisons in the worst case) if t is inserted immediately before hint.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor call throws.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a1450a539e2a4454434d586e3931d6136" name="insert_unique"><type>void</type><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type.</para><para><emphasis role="bold">Effects</emphasis>: Tries to insert each element of a range into the container.</para><para><emphasis role="bold">Complexity</emphasis>: Insert range is in general O(N * log(N)), where N is the size of the range. However, it is linear in N if the range is already sorted by <link linkend="doxygen.classboost_1_1intrusive_1_1bstree_1a01fabe7f676deceb57cb821dd86ad406">value_comp()</link>.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor call throws.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a069f716aada659e47dccf0a26723dff7" name="insert_unique_check"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Checks if a value can be inserted in the container, using a user provided key instead of the value itself.</para><para><emphasis role="bold">Returns</emphasis>: If there is an equivalent value returns a pair containing an iterator to the already present value and false. If the value can be inserted returns true in the returned pair boolean and fills "commit_data" that is meant to be used with the "insert_commit" function.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is at most logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If the comp ordering function throws. Strong guarantee. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1aeb0bd70ae712254eb5615f76183bf8c7" name="insert_unique_check"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Checks if a value can be inserted in the container, using a user provided key instead of the value itself, using "hint" as a hint to where it will be inserted.</para><para><emphasis role="bold">Returns</emphasis>: If there is an equivalent value returns a pair containing an iterator to the already present value and false. If the value can be inserted returns true in the returned pair boolean and fills "commit_data" that is meant to be used with the "insert_commit" function.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic in general, but it's amortized constant time if t is inserted immediately before hint.</para><para><emphasis role="bold">Throws</emphasis>: If the comp ordering function throws. Strong guarantee. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1ad7ff99d46052026565f8a57a74940c5e" name="insert_unique_check"><type>std::pair&lt; iterator, bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: comp must be a comparison function that induces the same strict weak ordering as key_compare. The difference is that comp compares an arbitrary key with the contained values.</para><para><emphasis role="bold">Effects</emphasis>: Checks if a value can be inserted in the container, using a user provided key instead of the value itself.</para><para><emphasis role="bold">Returns</emphasis>: If there is an equivalent value returns a pair containing an iterator to the already present value and false. If the value can be inserted returns true in the returned pair boolean and fills "commit_data" that is meant to be used with the "insert_commit" function.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is at most logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If the comp ordering function throws. Strong guarantee.</para><para><emphasis role="bold">Notes</emphasis>: This function is used to improve performance when constructing a value_type is expensive: if there is an equivalent value the constructed object must be discarded. Many times, the part of the node that is used to impose the order is much cheaper to construct than the value_type and this function offers the possibility to use that part to check if the insertion will be successful.</para><para>If the check is successful, the user can construct the value_type and use "insert_commit" to insert the object in constant-time. This gives a total logarithmic complexity to the insertion: check(O(log(N)) + commit(O(1)).</para><para>"commit_data" remains valid for a subsequent "insert_commit" only if no more objects are inserted or erased from the container. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1aa75b7d08c9c462fc88a6290c1d433f7b" name="insert_unique_check"><type>std::pair&lt; iterator, bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: comp must be a comparison function that induces the same strict weak ordering as key_compare. The difference is that comp compares an arbitrary key with the contained values.</para><para><emphasis role="bold">Effects</emphasis>: Checks if a value can be inserted in the container, using a user provided key instead of the value itself, using "hint" as a hint to where it will be inserted.</para><para><emphasis role="bold">Returns</emphasis>: If there is an equivalent value returns a pair containing an iterator to the already present value and false. If the value can be inserted returns true in the returned pair boolean and fills "commit_data" that is meant to be used with the "insert_commit" function.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic in general, but it's amortized constant time if t is inserted immediately before hint.</para><para><emphasis role="bold">Throws</emphasis>: If the comp ordering function throws. Strong guarantee.</para><para><emphasis role="bold">Notes</emphasis>: This function is used to improve performance when constructing a value_type is expensive: if there is an equivalent value the constructed object must be discarded. Many times, the part of the constructing that is used to impose the order is much cheaper to construct than the value_type and this function offers the possibility to use that key to check if the insertion will be successful.</para><para>If the check is successful, the user can construct the value_type and use "insert_commit" to insert the object in constant-time. This can give a total constant-time complexity to the insertion: check(O(1)) + commit(O(1)).</para><para>"commit_data" remains valid for a subsequent "insert_commit" only if no more objects are inserted or erased from the container. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a4e0df979f7924470de4ee7e678325aa0" name="insert_unique_commit" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter><parameter name="commit_data"><paramtype>const insert_commit_data &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue of type value_type. commit_data must have been obtained from a previous call to "insert_check". No objects should have been inserted or erased from the container between the "insert_check" that filled "commit_data" and the call to "insert_commit".</para><para><emphasis role="bold">Effects</emphasis>: Inserts the value in the container using the information obtained from the "commit_data" that a previous "insert_check" filled.</para><para><emphasis role="bold">Returns</emphasis>: An iterator to the newly inserted object.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function has only sense if a "insert_check" has been previously executed to fill "commit_data". No value should be inserted or erased between the "insert_check" and "insert_commit" calls. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a5cc3aa7c4f570ff96b18ae96cff1ae1a" name="insert_before" cv="noexcept"><type>iterator</type><parameter name="pos"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, "pos" must be a valid iterator (or end) and must be the succesor of value once inserted according to the predicate</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container before "pos".</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if "pos" is not the successor of "value" container ordering invariant will be broken. This is a low-level function to be used only for performance reasons by advanced users. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a2d2189a2e3b76c87ddb06974002bd2e2" name="push_back" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and it must be no less than the greatest inserted key</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container in the last position.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if value is less than the greatest inserted key container ordering invariant will be broken. This function is slightly more efficient than using "insert_before". This is a low-level function to be used only for performance reasons by advanced users. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1ab3da7352899395726f79b3a460a500ae" name="push_front" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and it must be no greater than the minimum inserted key</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container in the first position.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if value is greater than the minimum inserted key container ordering invariant will be broken. This function is slightly more efficient than using "insert_before". This is a low-level function to be used only for performance reasons by advanced users. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a44f15ca2f38475ebc8442579d2a8f1d9" name="erase" cv="noexcept"><type>iterator</type><parameter name="i"><paramtype>const_iterator</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases the element pointed to by i.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity for erase element is constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a7f3f93e60fc028a51853bb8608c24f85" name="erase" cv="noexcept"><type>iterator</type><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases the range pointed to by b end e.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity for erase range is at most O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1bstree_1a88274417159c81a7607444a44e339bd5">size()</link> + N)), where N is the number of elements in the range.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1ab1b0706bcb22140f41b7d75cbf90d7df" name="erase" cv="noexcept"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given value.</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1bstree_1a88274417159c81a7607444a44e339bd5">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1aa77aa3cfc6f0f8ac66c836141ed5028c" name="erase"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "comp".</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1bstree_1a88274417159c81a7607444a44e339bd5">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1aaed5548887ca827a413655045821f4b7" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="i"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases the element pointed to by i. Disposer::operator()(pointer) is called for the removed element.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity for erase element is constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased elements. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1ae4124fa1a6c611f00f00b13a014330da" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given value. Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1bstree_1a88274417159c81a7607444a44e339bd5">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a4a5c8981d8f8b76ececc8c138c3309e8" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases the range pointed to by b end e. Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity for erase range is at most O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1bstree_1a88274417159c81a7607444a44e339bd5">size()</link> + N)), where N is the number of elements in the range.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased elements. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a985b562bc730bc83cdf97a30615f7d71" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk) and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "comp". Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1bstree_1a88274417159c81a7607444a44e339bd5">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased elements. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a74a73dbdc6b45cf1106ed5d190f4bf40" name="clear" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements on the container. if it's a safe-mode or auto-unlink value_type. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1ab34915b9e7fd7c77b31e8fbfc0b17edf" name="clear_and_dispose" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements calling disposer(p) for each node to be erased. <emphasis role="bold">Complexity</emphasis>: Average complexity for is at most O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1bstree_1a88274417159c81a7607444a44e339bd5">size()</link> + N)), where N is the number of elements in the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. Calls N times to disposer functor. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a53d6efc42c9d6bc25f6869c71c21e5ee" name="count" cv="const"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Returns the number of contained elements with the given value</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic to the number of elements contained plus lineal to number of objects with the given value.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>key_compare</computeroutput> throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a67afb56ecdb566f0f5be1284090abd88" name="count" cv="const"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of contained elements with the given key</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic to the number of elements contained plus lineal to number of objects with the given key.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a369c782601a59913458472fc4c44c07e" name="lower_bound"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is not less than k or <link linkend="doxygen.classboost_1_1intrusive_1_1bstree_1a844544ecff10c24c89e7ab7442698354">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>key_compare</computeroutput> throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a8b9643c2dd656919b38bd8c72cbc3485" name="lower_bound" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is not less than k or <link linkend="doxygen.classboost_1_1intrusive_1_1bstree_1a844544ecff10c24c89e7ab7442698354">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>key_compare</computeroutput> throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a1e0bfa89c1d8438a1186188cb0c15f80" name="lower_bound"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is not less than k or <link linkend="doxygen.classboost_1_1intrusive_1_1bstree_1a844544ecff10c24c89e7ab7442698354">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>key_compare</computeroutput> throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1ac9410e1bcba76e06f6d5e342175a5b52" name="lower_bound" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is not less than k or <link linkend="doxygen.classboost_1_1intrusive_1_1bstree_1a844544ecff10c24c89e7ab7442698354">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>key_compare</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1ade2cea3987cc550f811683a4970cb5b6" name="upper_bound"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k or <link linkend="doxygen.classboost_1_1intrusive_1_1bstree_1a844544ecff10c24c89e7ab7442698354">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>key_compare</computeroutput> throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a15776b593c6c183518dcd3e8aaeea906" name="upper_bound"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k according to comp or <link linkend="doxygen.classboost_1_1intrusive_1_1bstree_1a844544ecff10c24c89e7ab7442698354">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a23050a0575ec0496498fb6458ab7cd7b" name="upper_bound" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k or <link linkend="doxygen.classboost_1_1intrusive_1_1bstree_1a844544ecff10c24c89e7ab7442698354">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>key_compare</computeroutput> throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a3927acfb45c8e011703748fcacbfb7cf" name="upper_bound" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k according to comp or <link linkend="doxygen.classboost_1_1intrusive_1_1bstree_1a844544ecff10c24c89e7ab7442698354">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1ad2462048de70fb82ac4643e4e09504df" name="find"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1bstree_1a844544ecff10c24c89e7ab7442698354">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>key_compare</computeroutput> throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1ad135fa3cf946239f1db21c22d9a3acb3" name="find"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1bstree_1a844544ecff10c24c89e7ab7442698354">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a156dac68dd273c651590f1f2f813eb29" name="find" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1bstree_1a844544ecff10c24c89e7ab7442698354">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>key_compare</computeroutput> throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a476634ad335f595747af69ffe8c2d1bb" name="find" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1bstree_1a844544ecff10c24c89e7ab7442698354">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1acc58bedc5e43dcfae49f63f035216fc6" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>key_compare</computeroutput> throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1ae77e847847531928cdfac4a2e46fd7e4" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1ae094c9b44b332bde53a59878a0fecf9e" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>key_compare</computeroutput> throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1afa05ba5c0876f60d882b330420f409a8" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a04a87892465df78f38eb749fb20968c7" name="bounded_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="lower_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="upper_value"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to key_compare. [<link linkend="doxygen.classboost_1_1intrusive_1_1bstree_1a84414082dca6af4a4869e752452617c8">key_comp()</link>(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!key_comp()(upper_key, lower_key) &amp;&amp; !key_comp()(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key) if left_closed, upper_bound(lower_key) otherwise</para><para>second = upper_bound(upper_key) if right_closed, lower_bound(upper_key) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>key_compare</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_value and upper_value.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a06c8f2a849a33802119832e6f1808e7d" name="bounded_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>lower_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, lower_key) if left_closed is true, with respect to !comp(lower_key, nk) otherwise.</para><para><computeroutput>upper_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(upper_key, nk) if right_closed is true, with respect to comp(nk, upper_key) otherwise.</para><para><computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to comp [comp(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!comp(upper_key, lower_key) &amp;&amp; !comp(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise</para><para>second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1ab63cccf003c3be625f7e24c2a20d4478" name="bounded_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="lower_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to key_compare. [<link linkend="doxygen.classboost_1_1intrusive_1_1bstree_1a84414082dca6af4a4869e752452617c8">key_comp()</link>(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!key_comp()(upper_key, lower_key) &amp;&amp; !key_comp()(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key) if left_closed, upper_bound(lower_key) otherwise</para><para>second = upper_bound(upper_key) if right_closed, lower_bound(upper_key) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>key_compare</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_value and upper_value.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a347b3ea2e29381fbce20672f539660f5" name="bounded_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>lower_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, lower_key) if left_closed is true, with respect to !comp(lower_key, nk) otherwise.</para><para><computeroutput>upper_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(upper_key, nk) if right_closed is true, with respect to comp(nk, upper_key) otherwise.</para><para><computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to comp [comp(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!comp(upper_key, lower_key) &amp;&amp; !comp(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise</para><para>second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1abeecd567b0ea95df114ec3cd2c1e8a5d" name="iterator_to" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue and shall be in a set of appropriate type. Otherwise the behavior is undefined.</para><para><emphasis role="bold">Effects</emphasis>: Returns: a valid iterator i belonging to the set that points to the value</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1af807081621c76d9a0388c4ebfd7aeffd" name="iterator_to" cv="const noexcept"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue and shall be in a set of appropriate type. Otherwise the behavior is undefined.</para><para><emphasis role="bold">Effects</emphasis>: Returns: a valid const_iterator i belonging to the set that points to the value</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a653b6809d38e0b6859e854d245ac9477" name="unlink_leftmost_without_rebalance" cv="noexcept"><type>pointer</type><description><para><emphasis role="bold">Effects</emphasis>: Unlinks the leftmost node from the container.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function breaks the container and the container can only be used for more unlink_leftmost_without_rebalance calls. This function is normally used to achieve a step by step controlled destruction of the container. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1af2fe74b7be58615e298d8a0a4014f9fb" name="replace_node" cv="noexcept"><type>void</type><parameter name="replace_this"><paramtype>iterator</paramtype></parameter><parameter name="with_this"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: replace_this must be a valid iterator of *this and with_this must not be inserted in any container.</para><para><emphasis role="bold">Effects</emphasis>: Replaces replace_this in its position in the container with with_this. The container does not need to be rebalanced.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if with_this is not equivalent to *replace_this according to the ordering rules. This function is faster than erasing and inserting the node, since no rebalancing or comparison is needed. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a698877cb65f49400d8c3ab17c9025712" name="rebalance" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Rebalances the tree.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a27600ec525be9af4926aee77f07b551d" name="rebalance_subtree" cv="noexcept"><type>iterator</type><parameter name="r"><paramtype>iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: old_root is a node of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Rebalances the subtree rooted at old_root.</para><para><emphasis role="bold">Returns</emphasis>: The new root of the subtree.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the elements in the subtree. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a6b616ddf4175871c8a87c72ea540a5b8" name="merge_unique"><type>void</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options2"><type>class ...</type></template-nontype-parameter>
        </template><parameter name=""><paramtype><classname>bstree</classname>&lt; T, Options2... &gt; &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "source" container's Options can only can differ in the comparison function from *this.</para><para><emphasis role="bold">Effects</emphasis>: Attempts to extract each element in source and insert it into a using the comparison object of *this. If there is an element in a with key equivalent to the key of an element from source, then that element is not extracted from source.</para><para><emphasis role="bold">Postcondition</emphasis>: Pointers and references to the transferred elements of source refer to those same elements but as members of *this. Iterators referring to the transferred elements will continue to refer to their elements, but they now behave as iterators into *this, not into source.</para><para><emphasis role="bold">Throws</emphasis>: Nothing unless the comparison object throws.</para><para><emphasis role="bold">Complexity</emphasis>: N log(a.size() + N) (N has the value source.size()) </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a15dc36ecea627d6c14f8c4134fe68550" name="while"><type/><parameter name=""><paramtype>it !</paramtype><default>itend</default></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a87dbe709e856efdd152473532a9a524e" name="merge_equal"><type>void</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options2"><type>class ...</type></template-nontype-parameter>
        </template><parameter name=""><paramtype><classname>bstree</classname>&lt; T, Options2... &gt; &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "source" container's Options can only can differ in the comparison function from *this.</para><para><emphasis role="bold">Effects</emphasis>: Extracts each element in source and insert it into a using the comparison object of *this.</para><para><emphasis role="bold">Postcondition</emphasis>: Pointers and references to the transferred elements of source refer to those same elements but as members of *this. Iterators referring to the transferred elements will continue to refer to their elements, but they now behave as iterators into *this, not into source.</para><para><emphasis role="bold">Throws</emphasis>: Nothing unless the comparison object throws.</para><para><emphasis role="bold">Complexity</emphasis>: N log(a.size() + N) (N has the value source.size()) </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a15dc36ecea627d6c14f8c4134fe68550" name="while"><type/><parameter name=""><paramtype>it !</paramtype><default>itend</default></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a9c70017bfa1e3c520f4480a4fd427f50" name="check" cv="const"><type>void</type><template>
          <template-type-parameter name="ExtraChecker"/>
        </template><parameter name="extra_checker"><paramtype>ExtraChecker</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Asserts the integrity of the container with additional checks provided by the user.</para><para><emphasis role="bold">Complexity</emphasis>: Linear time.</para><para><emphasis role="bold">Note</emphasis>: The method might not have effect when asserts are turned off (e.g., with NDEBUG). Experimental function, interface might change in future versions. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a6975e4f27b6774d0c518a33fc0a17803" name="check" cv="const"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Asserts the integrity of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Linear time.</para><para><emphasis role="bold">Note</emphasis>: The method has no effect when asserts are turned off (e.g., with NDEBUG). Experimental function, interface might change in future versions. </para></description></method>
</method-group>
<method-group name="public static functions">
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1add16647f53f6c61b108201e5c42abd18" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type><classname>bstree</classname> &amp;</type><parameter name="end_iterator"><paramtype>iterator</paramtype></parameter><description><para><emphasis role="bold">Precondition</emphasis>: end_iterator must be a valid end iterator of the container.</para><para><emphasis role="bold">Effects</emphasis>: Returns a const reference to the container associated to the end iterator</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a5e9eca864759bd93f061eab01a3f5f9a" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type>const <classname>bstree</classname> &amp;</type><parameter name="end_iterator"><paramtype>const_iterator</paramtype></parameter><description><para><emphasis role="bold">Precondition</emphasis>: end_iterator must be a valid end const_iterator of the container.</para><para><emphasis role="bold">Effects</emphasis>: Returns a const reference to the container associated to the iterator</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a8434d7d15948fdb060065bb6c4fa0104" name="container_from_iterator" cv="noexcept" specifiers="static"><type><classname>bstree</classname> &amp;</type><parameter name="it"><paramtype>iterator</paramtype></parameter><description><para><emphasis role="bold">Precondition</emphasis>: it must be a valid iterator of the container.</para><para><emphasis role="bold">Effects</emphasis>: Returns a const reference to the container associated to the iterator</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1aaa6c8a811a7642933002cd86248a923b" name="container_from_iterator" cv="noexcept" specifiers="static"><type>const <classname>bstree</classname> &amp;</type><parameter name="it"><paramtype>const_iterator</paramtype></parameter><description><para><emphasis role="bold">Precondition</emphasis>: it must be a valid end const_iterator of container.</para><para><emphasis role="bold">Effects</emphasis>: Returns a const reference to the container associated to the end iterator</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1ab13c3a96ba72d9c2cd0f3932cebc3b3d" name="s_iterator_to" cv="noexcept" specifiers="static"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue and shall be in a set of appropriate type. Otherwise the behavior is undefined.</para><para><emphasis role="bold">Effects</emphasis>: Returns: a valid iterator i belonging to the set that points to the value</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This static function is available only if the <emphasis>value traits</emphasis> is stateless. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1ade89e83caba30ba56b6ad1ca835d71db" name="s_iterator_to" cv="noexcept" specifiers="static"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue and shall be in a set of appropriate type. Otherwise the behavior is undefined.</para><para><emphasis role="bold">Effects</emphasis>: Returns: a valid const_iterator i belonging to the set that points to the value</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This static function is available only if the <emphasis>value traits</emphasis> is stateless. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1ac3c3b62c01f15fddbb2ea13244c27dc8" name="init_node" cv="noexcept" specifiers="static"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value shall not be in a container.</para><para><emphasis role="bold">Effects</emphasis>: init_node puts the hook of a value in a well-known default state.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Note</emphasis>: This function puts the hook in the well-known default state used by auto_unlink and safe hooks. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree_1a1f9c85ac0d08202fcc1d06c10e4a625f" name="remove_node" cv="noexcept" specifiers="static"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: removes "value" from the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic time.</para><para><emphasis role="bold">Note</emphasis>: This static function is only usable with non-constant time size containers that have stateless comparison functors.</para><para>If the user calls this function with a constant time size container or stateful comparison functor a compilation error will be issued. </para></description></method>
</method-group>
</class><struct id="doxygen.structboost_1_1intrusive_1_1make__bstree" name="make_bstree"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define a <computeroutput>bstree</computeroutput> that yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__bstree_1a03a08e97eb90e9c9f62d35b86504676d" name="type"><type>implementation_defined</type></typedef>
</struct>



























































</namespace>
</namespace>
</header>
<header id="doxygen.bstree__algorithms_8hpp" name="boost/intrusive/bstree_algorithms.hpp">
<namespace name="boost">
<namespace name="intrusive">
<class id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms" name="bstree_algorithms"><template>
      <template-type-parameter name="NodeTraits"/>
    </template><inherit access="public">bstree_algorithms_base&lt; NodeTraits &gt;</inherit><description><para>This is an implementation of a binary search tree. A node in the search tree has references to its children and its parent. This is to allow traversal of the whole tree from a given node making the implementation of iterator a pointer to a node. At the top of the tree a node is used specially. This node's parent pointer is pointing to the root of the tree. Its left pointer points to the leftmost node in the tree and the right pointer to the rightmost one. This node is used to represent the end-iterator.                                      +---------+
header------------------------------&gt;|         |
                                     |         |
            +----------(left)--------|         |--------(right)---------+
            |                        +---------+                        |
            |                             |                             |
            |                             | (parent)                    |
            |                             |                             |
            |                             |                             |
            |                        +---------+                        |
 root of tree ..|......................&gt; | | | | | D | | | | | | | +----<mdash/>+------<mdash/>+----<mdash/>+ | <informaltable><tgroup cols="3"><tbody><row>
<entry><emphasis role="bold"/></entry><entry><emphasis role="bold"/></entry><entry><emphasis role="bold"/></entry></row>
<row>
<entry/><entry/><entry/></row>
<row>
<entry/><entry/><entry/></row>
<row>
<entry/><entry/><entry/></row>
</tbody></tgroup></informaltable>
| +------<mdash/>+ +------<mdash/>+ | | | | | | | | | B | | F | | | | | | | | | +–+------<mdash/>+–+ +–+------<mdash/>+–+ | <informaltable><tgroup cols="5"><tbody><row>
<entry><emphasis role="bold"/></entry><entry><emphasis role="bold"/></entry><entry><emphasis role="bold"/></entry><entry><emphasis role="bold"/></entry><entry><emphasis role="bold"/></entry></row>
<row>
<entry/><entry/><entry/><entry/><entry/></row>
</tbody></tgroup></informaltable>
| +<mdash/>+--<mdash/>+ +--<mdash/>+<mdash/>+ +<mdash/>+--<mdash/>+ +--<mdash/>+<mdash/>+ | +--&gt;| | | | | | | |&lt;–+ | A | | C | | E | | G | | | | | | | | | +------<mdash/>+ +------<mdash/>+ +------<mdash/>+ +------<mdash/>+</para><para><link linkend="doxygen.classboost_1_1intrusive_1_1bstree__algorithms">bstree_algorithms</link> is configured with a NodeTraits class, which encapsulates the information about the node to be manipulated. NodeTraits must support the following interface:</para><para><emphasis role="bold">Typedefs</emphasis>:</para><para><computeroutput>node</computeroutput>: The type of the node that forms the binary search tree</para><para><computeroutput>node_ptr</computeroutput>: A pointer to a node</para><para><computeroutput>const_node_ptr</computeroutput>: A pointer to a const node</para><para><emphasis role="bold">Static functions</emphasis>:</para><para><computeroutput>static node_ptr get_parent(const_node_ptr n);</computeroutput></para><para><computeroutput>static void set_parent(node_ptr n, node_ptr parent);</computeroutput></para><para><computeroutput>static node_ptr get_left(const_node_ptr n);</computeroutput></para><para><computeroutput>static void set_left(node_ptr n, node_ptr left);</computeroutput></para><para><computeroutput>static node_ptr get_right(const_node_ptr n);</computeroutput></para><para><computeroutput>static void set_right(node_ptr n, node_ptr right);</computeroutput> </para></description><typedef id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1aa974c0e6042bc8ca7cdbcbc2b55b3d28" name="node"><type>NodeTraits::node</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a16af0e159ed9bade1082120b22d2de0a" name="node_traits"><type>NodeTraits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1affacff4bfc3aea1701566169b2c8b2f5" name="node_ptr"><type>NodeTraits::node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a7451fe8593a4aed2efe3f7d6e06b310e" name="const_node_ptr"><type>NodeTraits::const_node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a0a213ac9d40b71d003a5cc3bc3450ec8" name="insert_commit_data"><type>insert_commit_data_t&lt; node_ptr &gt;</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1ab2eea0a6aaea45435ebd16547719e84b" name="data_for_rebalance"><type>data_for_rebalance_t&lt; node_ptr &gt;</type></typedef>
<method-group name="public static functions">
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a934bcb142443a7a828307e5bba417fc4" name="begin_node" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'header' is the header node of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Returns the first node of the tree, the header if the tree is empty.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a4e1a7e297d27bf52f73602fc86266307" name="end_node" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'header' is the header node of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Returns the header of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a9512ec36676ae2556ed05c3f8d1ff552" name="root_node" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'header' is the header node of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Returns the root of the tree if any, header otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a8a30a4564340e9af14ed3b0a9aa6be71" name="unique" cv="noexcept" specifiers="static"><type>bool</type><parameter name="n"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'n' is a node of the tree or a node initialized by init(...) or init_node.</para><para><emphasis role="bold">Effects</emphasis>: Returns true if the node is initialized by <link linkend="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a9bbc31d7631f99c74c8f5a8b45d3598c">init()</link> or init_node().</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a5b35e9e664c779093a1a0ddefc251c76" name="get_header" specifiers="static"><type>node_ptr</type><parameter name="n"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'n' is a node of the tree or a header node.</para><para><emphasis role="bold">Effects</emphasis>: Returns the header of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a26bc47d283134ea5ab22fa129bd03701" name="swap_nodes" cv="noexcept" specifiers="static"><type>void</type><parameter name="node1"><paramtype>node_ptr</paramtype></parameter><parameter name="node2"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: node1 and node2 can't be header nodes of two trees.</para><para><emphasis role="bold">Effects</emphasis>: Swaps two nodes. After the function node1 will be inserted in the position node2 before the function. node2 will be inserted in the position node1 had before the function.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if node1 and node2 are not equivalent according to the ordering rules.</para><para>Experimental function </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a6e60c4e7c4387d52f64d273c80bd30be" name="swap_nodes" cv="noexcept" specifiers="static"><type>void</type><parameter name="node1"><paramtype>node_ptr</paramtype></parameter><parameter name="header1"><paramtype>node_ptr</paramtype></parameter><parameter name="node2"><paramtype>node_ptr</paramtype></parameter><parameter name="header2"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: node1 and node2 can't be header nodes of two trees with header header1 and header2.</para><para><emphasis role="bold">Effects</emphasis>: Swaps two nodes. After the function node1 will be inserted in the position node2 before the function. node2 will be inserted in the position node1 had before the function.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if node1 and node2 are not equivalent according to the ordering rules.</para><para>Experimental function </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1ae1b55ce3e82bbca22ee2ded35b33cc96" name="replace_node" cv="noexcept" specifiers="static"><type>void</type><parameter name="node_to_be_replaced"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: node_to_be_replaced must be inserted in a tree and new_node must not be inserted in a tree.</para><para><emphasis role="bold">Effects</emphasis>: Replaces node_to_be_replaced in its position in the tree with new_node. The tree does not need to be rebalanced</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if new_node is not equivalent to node_to_be_replaced according to the ordering rules. This function is faster than erasing and inserting the node, since no rebalancing and comparison is needed. Experimental function </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a5c7465b62bdb73d9d7599f361cd32701" name="replace_node" cv="noexcept" specifiers="static"><type>void</type><parameter name="node_to_be_replaced"><paramtype>node_ptr</paramtype></parameter><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: node_to_be_replaced must be inserted in a tree with header "header" and new_node must not be inserted in a tree.</para><para><emphasis role="bold">Effects</emphasis>: Replaces node_to_be_replaced in its position in the tree with new_node. The tree does not need to be rebalanced</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if new_node is not equivalent to node_to_be_replaced according to the ordering rules. This function is faster than erasing and inserting the node, since no rebalancing or comparison is needed. Experimental function </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a25c3b0716cc6ce6725fad394b6abb414" name="next_node" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="n"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'n' is a node from the tree except the header.</para><para><emphasis role="bold">Effects</emphasis>: Returns the next node of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Average constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a5cc7f794ba368a4c9829ab7501281931" name="prev_node" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="n"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'n' is a node from the tree except the leftmost node.</para><para><emphasis role="bold">Effects</emphasis>: Returns the previous node of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Average constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1ac458becb5cf06c1f9b3c8f97b9817846" name="minimum" specifiers="static"><type>node_ptr</type><parameter name="n"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'n' is a node of a tree but not the header.</para><para><emphasis role="bold">Effects</emphasis>: Returns the minimum node of the subtree starting at p.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic to the size of the subtree.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a80eed8357fe86ae307b992c7df2e1593" name="maximum" specifiers="static"><type>node_ptr</type><parameter name="n"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'n' is a node of a tree but not the header.</para><para><emphasis role="bold">Effects</emphasis>: Returns the maximum node of the subtree starting at p.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic to the size of the subtree.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a9bbc31d7631f99c74c8f5a8b45d3598c" name="init" cv="noexcept" specifiers="static"><type>void</type><parameter name="n"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'n' must not be part of any tree.</para><para><emphasis role="bold">Effects</emphasis>: After the function unique(node) == true.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Nodes</emphasis>: If node is inserted in a tree, this function corrupts the tree. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a4abd9fe41e3b1ed2cdb6b1df9507f78a" name="inited" specifiers="static"><type>bool</type><parameter name="n"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Returns true if node is in the same state as if called init(node)</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a07b49ef0c794f8a81d47ac1bcdfe95b2" name="init_header" cv="noexcept" specifiers="static"><type>void</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header must not be part of any tree.</para><para><emphasis role="bold">Effects</emphasis>: Initializes the header to represent an empty tree. unique(header) == true.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Nodes</emphasis>: If header is inserted in a tree, this function corrupts the tree. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1ad9ed01ba444ee92e0f0c1b0d7462700e" name="clear_and_dispose" cv="noexcept" specifiers="static"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "disposer" must be an object function taking a node_ptr parameter and shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Empties the target tree calling <computeroutput>void disposer::operator()(node_ptr)</computeroutput> for every node of the tree except the header.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of element of the source tree plus the. number of elements of tree target tree when calling this function.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1ac2cf59eae711e291d47bc4c2227baa5b" name="unlink_leftmost_without_rebalance" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header is the header of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Unlinks the leftmost node from the tree, and updates the header link to the new leftmost node.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function breaks the tree and the tree can only be used for more unlink_leftmost_without_rebalance calls. This function is normally used to achieve a step by step controlled destruction of the tree. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1abffaaa0070a2ccb67d454bf97daf5a63" name="size" cv="noexcept" specifiers="static"><type>std::size_t</type><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'header' the header of the tree.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of nodes of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Linear time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a394113454d3940883d62265dde9084ad" name="swap_tree" cv="noexcept" specifiers="static"><type>void</type><parameter name="header1"><paramtype>node_ptr</paramtype></parameter><parameter name="header2"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header1 and header2 must be the header nodes of two trees.</para><para><emphasis role="bold">Effects</emphasis>: Swaps two trees. After the function header1 will contain links to the second tree and header2 will have links to the first tree.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a1892997550dc6e572a4cb7297e9766be" name="is_header" cv="noexcept" specifiers="static"><type>bool</type><parameter name="p"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: p is a node of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Returns true if p is the header of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a3ed0ef0b545170b7819c694931050da2" name="find" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns a node_ptr to the first element that is equivalent to "key" according to "comp" or "header" if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a3d3013bc4b61232807f410bdd1976e62" name="bounded_range" specifiers="static"><type>std::pair&lt; node_ptr, node_ptr &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs. 'lower_key' must not be greater than 'upper_key' according to 'comp'. If 'lower_key' == 'upper_key', ('left_closed' || 'right_closed') must be true.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key) if left_closed, upper_bound(lower_key) otherwise</para><para>second = upper_bound(upper_key) if right_closed, lower_bound(upper_key) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a6f6ee8b6a70da9e8fe15ed2e3c8a1980" name="count" specifiers="static"><type>std::size_t</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of elements with a key equivalent to "key" according to "comp".</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1ae882d069e2f9696cebc1b938132d519e" name="equal_range" specifiers="static"><type>std::pair&lt; node_ptr, node_ptr &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair of node_ptr delimiting a range containing all elements that are equivalent to "key" according to "comp" or an empty range that indicates the position where those elements would be if there are no equivalent elements.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a4586ed06d2fe7eaddc6f6fd14a24ddb4" name="lower_bound_range" specifiers="static"><type>std::pair&lt; node_ptr, node_ptr &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair of node_ptr delimiting a range containing the first element that is equivalent to "key" according to "comp" or an empty range that indicates the position where that element would be if there are no equivalent elements.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1ab3116b1b3b545c419bb15ad20be9da7b" name="lower_bound" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns a node_ptr to the first element that is not less than "key" according to "comp" or "header" if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1ace488e666751fe7ee185acc5253984e7" name="upper_bound" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns a node_ptr to the first element that is greater than "key" according to "comp" or "header" if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a7d809a80e8ac1bae430f401723875a8a" name="insert_unique_commit" cv="noexcept" specifiers="static"><type>void</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="new_value"><paramtype>node_ptr</paramtype></parameter><parameter name="commit_data"><paramtype>const insert_commit_data &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. "commit_data" must have been obtained from a previous call to "insert_unique_check". No objects should have been inserted or erased from the set between the "insert_unique_check" that filled "commit_data" and the call to "insert_commit".</para><para><emphasis role="bold">Effects</emphasis>: Inserts new_node in the set using the information obtained from the "commit_data" that a previous "insert_check" filled.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function has only sense if a "insert_unique_check" has been previously executed to fill "commit_data". No value should be inserted or erased between the "insert_check" and "insert_commit" calls. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1ad549d1b4bfbff1c2a5db10cd3520f227" name="insert_unique_check" specifiers="static"><type>std::pair&lt; node_ptr, bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. NodePtrCompare compares KeyType with a node_ptr.</para><para><emphasis role="bold">Effects</emphasis>: Checks if there is an equivalent node to "key" in the tree according to "comp" and obtains the needed information to realize a constant-time node insertion if there is no equivalent node.</para><para><emphasis role="bold">Returns</emphasis>: If there is an equivalent value returns a pair containing a node_ptr to the already present node and false. If there is not equivalent key can be inserted returns true in the returned pair's boolean and fills "commit_data" that is meant to be used with the "insert_commit" function to achieve a constant-time insertion function.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is at most logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.</para><para><emphasis role="bold">Notes</emphasis>: This function is used to improve performance when constructing a node is expensive and the user does not want to have two equivalent nodes in the tree: if there is an equivalent value the constructed object must be discarded. Many times, the part of the node that is used to impose the order is much cheaper to construct than the node and this function offers the possibility to use that part to check if the insertion will be successful.</para><para>If the check is successful, the user can construct the node and use "insert_commit" to insert the node in constant-time. This gives a total logarithmic complexity to the insertion: check(O(log(N)) + commit(O(1)).</para><para>"commit_data" remains valid for a subsequent "insert_unique_commit" only if no more objects are inserted or erased from the set. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1adc2bcf8dc207cdbd79cf6a2226b9e3bb" name="insert_unique_check" specifiers="static"><type>std::pair&lt; node_ptr, bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="hint"><paramtype>node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. NodePtrCompare compares KeyType with a node_ptr. "hint" is node from the "header"'s tree.</para><para><emphasis role="bold">Effects</emphasis>: Checks if there is an equivalent node to "key" in the tree according to "comp" using "hint" as a hint to where it should be inserted and obtains the needed information to realize a constant-time node insertion if there is no equivalent node. If "hint" is the upper_bound the function has constant time complexity (two comparisons in the worst case).</para><para><emphasis role="bold">Returns</emphasis>: If there is an equivalent value returns a pair containing a node_ptr to the already present node and false. If there is not equivalent key can be inserted returns true in the returned pair's boolean and fills "commit_data" that is meant to be used with the "insert_commit" function to achieve a constant-time insertion function.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is at most logarithmic, but it is amortized constant time if new_node should be inserted immediately before "hint".</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.</para><para><emphasis role="bold">Notes</emphasis>: This function is used to improve performance when constructing a node is expensive and the user does not want to have two equivalent nodes in the tree: if there is an equivalent value the constructed object must be discarded. Many times, the part of the node that is used to impose the order is much cheaper to construct than the node and this function offers the possibility to use that part to check if the insertion will be successful.</para><para>If the check is successful, the user can construct the node and use "insert_commit" to insert the node in constant-time. This gives a total logarithmic complexity to the insertion: check(O(log(N)) + commit(O(1)).</para><para>"commit_data" remains valid for a subsequent "insert_unique_commit" only if no more objects are inserted or erased from the set. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a9fa16e0639cdb5f5ee8086fde9963a6a" name="insert_equal" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="NodePtrCompare"/>
        </template><parameter name="h"><paramtype>node_ptr</paramtype></parameter><parameter name="hint"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><parameter name="comp"><paramtype>NodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. NodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. NodePtrCompare compares two node_ptrs. "hint" is node from the "header"'s tree.</para><para><emphasis role="bold">Effects</emphasis>: Inserts new_node into the tree, using "hint" as a hint to where it will be inserted. If "hint" is the upper_bound the insertion takes constant time (two comparisons in the worst case).</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic in general, but it is amortized constant time if new_node is inserted immediately before "hint".</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a7eaf24df4084435ed94c975c93f64f3a" name="insert_equal_upper_bound" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="NodePtrCompare"/>
        </template><parameter name="h"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><parameter name="comp"><paramtype>NodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "h" must be the header node of a tree. NodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. NodePtrCompare compares two node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Inserts new_node into the tree before the upper bound according to "comp".</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity for insert element is at most logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1ac3bdf39cf6be86ce584b6b00780dc5ed" name="insert_equal_lower_bound" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="NodePtrCompare"/>
        </template><parameter name="h"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><parameter name="comp"><paramtype>NodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "h" must be the header node of a tree. NodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. NodePtrCompare compares two node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Inserts new_node into the tree before the lower bound according to "comp".</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity for insert element is at most logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1ac8dd814851759a1b927b0faf70b6016a" name="insert_before" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="pos"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. "pos" must be a valid iterator or header (end) node. "pos" must be an iterator pointing to the successor to "new_node" once inserted according to the order of already inserted nodes. This function does not check "pos" and this precondition must be guaranteed by the caller.</para><para><emphasis role="bold">Effects</emphasis>: Inserts new_node into the tree before "pos".</para><para><emphasis role="bold">Complexity</emphasis>: Constant-time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: If "pos" is not the successor of the newly inserted "new_node" tree invariants might be broken. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a8441f2e613585577106718d5d7d33079" name="push_back" cv="noexcept" specifiers="static"><type>void</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. "new_node" must be, according to the used ordering no less than the greatest inserted key.</para><para><emphasis role="bold">Effects</emphasis>: Inserts new_node into the tree before "pos".</para><para><emphasis role="bold">Complexity</emphasis>: Constant-time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: If "new_node" is less than the greatest inserted key tree invariants are broken. This function is slightly faster than using "insert_before". </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1acd4b2fde68c738aab91af10cad9ed056" name="push_front" cv="noexcept" specifiers="static"><type>void</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. "new_node" must be, according to the used ordering, no greater than the lowest inserted key.</para><para><emphasis role="bold">Effects</emphasis>: Inserts new_node into the tree before "pos".</para><para><emphasis role="bold">Complexity</emphasis>: Constant-time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: If "new_node" is greater than the lowest inserted key tree invariants are broken. This function is slightly faster than using "insert_before". </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a679248921c7b3571f1f049bcc38bcf2e" name="depth" cv="noexcept" specifiers="static"><type>std::size_t</type><parameter name="n"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'n' can't be a header node.</para><para><emphasis role="bold">Effects</emphasis>: Calculates the depth of a node: the depth of a node is the length (number of edges) of the path from the root to that node. (The root node is at depth 0.)</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic to the number of nodes in the tree.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1ae9c435ef1686795895b856060d029aed" name="clone" specifiers="static"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="source_header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="target_header"><paramtype>node_ptr</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "cloner" must be a function object taking a node_ptr and returning a new cloned node of it. "disposer" must take a node_ptr and shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: First empties target tree calling <computeroutput>void disposer::operator()(node_ptr)</computeroutput> for every node of the tree except the header.</para><para>Then, duplicates the entire tree pointed by "source_header" cloning each source node with <computeroutput>node_ptr Cloner::operator()(node_ptr)</computeroutput> to obtain the nodes of the target tree. If "cloner" throws, the cloned target nodes are disposed using <computeroutput>void disposer(node_ptr )</computeroutput>.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of element of the source tree plus the number of elements of tree target tree when calling this function.</para><para><emphasis role="bold">Throws</emphasis>: If cloner functor throws. If this happens target nodes are disposed. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a767291065e0ae15c7e5612c2705d19aa" name="erase" cv="noexcept" specifiers="static"><type>void</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="z"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header must be the header of a tree, z a node of that tree and z != header.</para><para><emphasis role="bold">Effects</emphasis>: Erases node "z" from the tree with header "header".</para><para><emphasis role="bold">Complexity</emphasis>: Amortized constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1ae3afc5ca60f8d96f3bb9cd0c73a197d2" name="transfer_unique" specifiers="static"><type>bool</type><template>
          <template-type-parameter name="NodePtrCompare"/>
        </template><parameter name="header1"><paramtype>node_ptr</paramtype></parameter><parameter name="comp"><paramtype>NodePtrCompare</paramtype></parameter><parameter name="header2"><paramtype>node_ptr</paramtype></parameter><parameter name="z"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header1 and header2 must be the headers of trees tree1 and tree2 respectively, z a non-header node of tree1. NodePtrCompare is the comparison function of tree1..</para><para><emphasis role="bold">Effects</emphasis>: Transfers node "z" from tree1 to tree2 if tree1 does not contain a node that is equivalent to z.</para><para><emphasis role="bold">Returns</emphasis>: True if the node was trasferred, false otherwise.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1af91fe86ba54a8f9d7df17da7dbeea5ba" name="transfer_equal" specifiers="static"><type>void</type><template>
          <template-type-parameter name="NodePtrCompare"/>
        </template><parameter name="header1"><paramtype>node_ptr</paramtype></parameter><parameter name="comp"><paramtype>NodePtrCompare</paramtype></parameter><parameter name="header2"><paramtype>node_ptr</paramtype></parameter><parameter name="z"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header1 and header2 must be the headers of trees tree1 and tree2 respectively, z a non-header node of tree1. NodePtrCompare is the comparison function of tree1..</para><para><emphasis role="bold">Effects</emphasis>: Transfers node "z" from tree1 to tree2.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a639ce0823918c4f6cdfc561d2a1a617d" name="unlink" cv="noexcept" specifiers="static"><type>void</type><parameter name="n"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'n' is a tree node but not the header.</para><para><emphasis role="bold">Effects</emphasis>: Unlinks the node and rebalances the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a425431a5e99cd2608239f45e727131e5" name="rebalance" cv="noexcept" specifiers="static"><type>void</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header must be the header of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Rebalances the tree.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a1c4c7bbf9677abf6036dffd630294483" name="rebalance_subtree" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="old_root"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: old_root is a node of a tree. It shall not be null.</para><para><emphasis role="bold">Effects</emphasis>: Rebalances the subtree rooted at old_root.</para><para><emphasis role="bold">Returns</emphasis>: The new root of the subtree.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a2d67d82edcf8e7e9a8a2ee3cf9626b23" name="check" specifiers="static"><type>void</type><template>
          <template-type-parameter name="Checker"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="checker"><paramtype>Checker</paramtype></parameter><parameter name="checker_return"><paramtype>typename Checker::return_type &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Asserts the integrity of the container with additional checks provided by the user.</para><para><emphasis role="bold">Requires</emphasis>: header must be the header of a tree.</para><para><emphasis role="bold">Complexity</emphasis>: Linear time.</para><para><emphasis role="bold">Note</emphasis>: The method might not have effect when asserts are turned off (e.g., with NDEBUG). Experimental function, interface might change in future versions. </para></description></method>
</method-group>
<method-group name="protected static functions">
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1ac0869970c353ba82d155b05bfd3da4d7" name="transfer_unique" specifiers="static"><type>bool</type><template>
          <template-type-parameter name="NodePtrCompare"/>
        </template><parameter name="header1"><paramtype>node_ptr</paramtype></parameter><parameter name="comp"><paramtype>NodePtrCompare</paramtype></parameter><parameter name="header2"><paramtype>node_ptr</paramtype></parameter><parameter name="z"><paramtype>node_ptr</paramtype></parameter><parameter name="info"><paramtype>data_for_rebalance &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a5182afeb279ec3f6e1c34514a2a234d2" name="transfer_equal" specifiers="static"><type>void</type><template>
          <template-type-parameter name="NodePtrCompare"/>
        </template><parameter name="header1"><paramtype>node_ptr</paramtype></parameter><parameter name="comp"><paramtype>NodePtrCompare</paramtype></parameter><parameter name="header2"><paramtype>node_ptr</paramtype></parameter><parameter name="z"><paramtype>node_ptr</paramtype></parameter><parameter name="info"><paramtype>data_for_rebalance &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1acb133a71faa7350fdc7f73b643155b8e" name="erase" specifiers="static"><type>void</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="z"><paramtype>node_ptr</paramtype></parameter><parameter name="info"><paramtype>data_for_rebalance &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1af5cf6d662b751fc1f6bb7cc0af19b19b" name="subtree_size" cv="noexcept" specifiers="static"><type>std::size_t</type><parameter name="subtree"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'subtree' is a node of the tree but it's not the header.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of nodes of the subtree.</para><para><emphasis role="bold">Complexity</emphasis>: Linear time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1aa95361819a021084bcbd769d8182c78a" name="is_left_child" cv="noexcept" specifiers="static"><type>bool</type><parameter name="p"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: p is a node of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Returns true if p is a left child.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a69fe2118abcc547f8b5c30266a961824" name="is_right_child" cv="noexcept" specifiers="static"><type>bool</type><parameter name="p"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: p is a node of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Returns true if p is a right child.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a0de46dc067099f8e0953a326fe766ad1" name="insert_before_check" specifiers="static"><type>void</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="pos"><paramtype>node_ptr</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1aeff4e172ae74a869d38ed18d61c034b9" name="push_back_check" cv="noexcept" specifiers="static"><type>void</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a0e787418e55be00bc54ba1eb2ca783e0" name="push_front_check" cv="noexcept" specifiers="static"><type>void</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a5ebb2e65f5ccaab876760a778e8c0590" name="insert_equal_check" specifiers="static"><type>void</type><template>
          <template-type-parameter name="NodePtrCompare"/>
        </template><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="hint"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><parameter name="comp"><paramtype>NodePtrCompare</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1ae057be5723147486e0ef4ce584a48c64" name="insert_equal_upper_bound_check" specifiers="static"><type>void</type><template>
          <template-type-parameter name="NodePtrCompare"/>
        </template><parameter name="h"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><parameter name="comp"><paramtype>NodePtrCompare</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter><parameter name="pdepth"><paramtype>std::size_t *</paramtype><default>0</default></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a7d0356f6ca3273c7b87d8365a6928506" name="insert_equal_lower_bound_check" specifiers="static"><type>void</type><template>
          <template-type-parameter name="NodePtrCompare"/>
        </template><parameter name="h"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><parameter name="comp"><paramtype>NodePtrCompare</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter><parameter name="pdepth"><paramtype>std::size_t *</paramtype><default>0</default></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a6233f376fcdf48da7e57d023a75b233f" name="insert_commit" cv="noexcept" specifiers="static"><type>void</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><parameter name="commit_data"><paramtype>const insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a7b0a42d74737d1e71d16c9d73f7a0347" name="set_child" cv="noexcept" specifiers="static"><type>void</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="new_child"><paramtype>node_ptr</paramtype></parameter><parameter name="new_parent"><paramtype>node_ptr</paramtype></parameter><parameter name="link_left"><paramtype>const bool</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a04036be2dde42941355f008e70092245" name="rotate_left_no_parent_fix" cv="noexcept" specifiers="static"><type>void</type><parameter name="p"><paramtype>node_ptr</paramtype></parameter><parameter name="p_right"><paramtype>node_ptr</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a3990ad6322ebef923f33d54b1657307c" name="rotate_left" cv="noexcept" specifiers="static"><type>void</type><parameter name="p"><paramtype>node_ptr</paramtype></parameter><parameter name="p_right"><paramtype>node_ptr</paramtype></parameter><parameter name="p_parent"><paramtype>node_ptr</paramtype></parameter><parameter name="header"><paramtype>node_ptr</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a81ac2bf8e7ceac7fab42e2c4d94e98ab" name="rotate_right_no_parent_fix" cv="noexcept" specifiers="static"><type>void</type><parameter name="p"><paramtype>node_ptr</paramtype></parameter><parameter name="p_left"><paramtype>node_ptr</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1ab73d9770b55a8473412ec2a283f5a252" name="rotate_right" cv="noexcept" specifiers="static"><type>void</type><parameter name="p"><paramtype>node_ptr</paramtype></parameter><parameter name="p_left"><paramtype>node_ptr</paramtype></parameter><parameter name="p_parent"><paramtype>node_ptr</paramtype></parameter><parameter name="header"><paramtype>node_ptr</paramtype></parameter></method>
</method-group>
<method-group name="private static functions">
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a921beec2472e480d949c412073e597dc" name="subtree_to_vine" cv="noexcept" specifiers="static"><type>void</type><parameter name="vine_tail"><paramtype>node_ptr</paramtype></parameter><parameter name="size"><paramtype>std::size_t &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a6d5d812afacf0d91b58cb17260a77783" name="compress_subtree" cv="noexcept" specifiers="static"><type>void</type><parameter name="scanner"><paramtype>node_ptr</paramtype></parameter><parameter name="count"><paramtype>std::size_t</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a9d893fa693d1797faf9fe4449a555efe" name="vine_to_subtree" cv="noexcept" specifiers="static"><type>void</type><parameter name="super_root"><paramtype>node_ptr</paramtype></parameter><parameter name="count"><paramtype>std::size_t</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a2ce256dcb1ab421ffedbc4ebc627a181" name="get_root" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="n"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "n" must be a node inserted in a tree.</para><para><emphasis role="bold">Effects</emphasis>: Returns a pointer to the header node of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a61a8a4158a4b24d416a41ffa512854d5" name="clone_subtree" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="source_parent"><paramtype>const_node_ptr</paramtype></parameter><parameter name="target_parent"><paramtype>node_ptr</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><parameter name="leftmost_out"><paramtype>node_ptr &amp;</paramtype></parameter><parameter name="rightmost_out"><paramtype>node_ptr &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1a1a834dcee68c4c74a044dde0445898d3" name="dispose_subtree" cv="noexcept" specifiers="static"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="x"><paramtype>node_ptr</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1ad027de1ddac57b0121bcd8d5d775ecdd" name="lower_bound_loop" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="x"><paramtype>node_ptr</paramtype></parameter><parameter name="y"><paramtype>node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1add8bd1ea01d66dff7028e00f7c4f1afb" name="upper_bound_loop" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="x"><paramtype>node_ptr</paramtype></parameter><parameter name="y"><paramtype>node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1bstree__algorithms_1aabad627f5d23ea8906d0736a1279e6c4" name="check_subtree" specifiers="static"><type>void</type><template>
          <template-type-parameter name="Checker"/>
        </template><parameter name="n"><paramtype>const_node_ptr</paramtype></parameter><parameter name="checker"><paramtype>Checker</paramtype></parameter><parameter name="check_return"><paramtype>typename Checker::return_type &amp;</paramtype></parameter></method>
</method-group>
</class>



























































</namespace>
</namespace>
</header>
<header id="doxygen.circular__list__algorithms_8hpp" name="boost/intrusive/circular_list_algorithms.hpp">
<namespace name="boost">
<namespace name="intrusive">
<class id="doxygen.classboost_1_1intrusive_1_1circular__list__algorithms" name="circular_list_algorithms"><template>
      <template-type-parameter name="NodeTraits"/>
    </template><description><para><link linkend="doxygen.classboost_1_1intrusive_1_1circular__list__algorithms">circular_list_algorithms</link> provides basic algorithms to manipulate nodes forming a circular doubly linked list. An empty circular list is formed by a node whose pointers point to itself.</para><para><link linkend="doxygen.classboost_1_1intrusive_1_1circular__list__algorithms">circular_list_algorithms</link> is configured with a NodeTraits class, which encapsulates the information about the node to be manipulated. NodeTraits must support the following interface:</para><para><emphasis role="bold">Typedefs</emphasis>:</para><para><computeroutput>node</computeroutput>: The type of the node that forms the circular list</para><para><computeroutput>node_ptr</computeroutput>: A pointer to a node</para><para><computeroutput>const_node_ptr</computeroutput>: A pointer to a const node</para><para><emphasis role="bold">Static functions</emphasis>:</para><para><computeroutput>static node_ptr get_previous(const_node_ptr n);</computeroutput></para><para><computeroutput>static void set_previous(node_ptr n, node_ptr prev);</computeroutput></para><para><computeroutput>static node_ptr get_next(const_node_ptr n);</computeroutput></para><para><computeroutput>static void set_next(node_ptr n, node_ptr next);</computeroutput> </para></description><struct id="doxygen.structboost_1_1intrusive_1_1circular__list__algorithms_1_1stable__partition__info" name="stable_partition_info"><data-member id="doxygen.structboost_1_1intrusive_1_1circular__list__algorithms_1_1stable__partition__info_1a95a8957f2206aa54487b1cf4a2c6de81" name="num_1st_partition"><type>std::size_t</type></data-member>
<data-member id="doxygen.structboost_1_1intrusive_1_1circular__list__algorithms_1_1stable__partition__info_1ac048e4827a913af4d32d523f852d1d55" name="num_2nd_partition"><type>std::size_t</type></data-member>
<data-member id="doxygen.structboost_1_1intrusive_1_1circular__list__algorithms_1_1stable__partition__info_1a629aba1964f058a5c4f40e1322d3f72a" name="beg_2st_partition"><type>node_ptr</type></data-member>
</struct><typedef id="doxygen.classboost_1_1intrusive_1_1circular__list__algorithms_1a0ee892b36b1e21737f8c6291f1c46e6d" name="node"><type>NodeTraits::node</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1circular__list__algorithms_1a1eac534054679c815a7d517a622df422" name="node_ptr"><type>NodeTraits::node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1circular__list__algorithms_1a64fac76dbcce74f742dc8c41eb0d67ee" name="const_node_ptr"><type>NodeTraits::const_node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1circular__list__algorithms_1a787e86b42431dbbde0c2700130d88950" name="node_traits"><type>NodeTraits</type></typedef>
<method-group name="public static functions">
<method id="doxygen.classboost_1_1intrusive_1_1circular__list__algorithms_1a4529bbb68382360b0f6ee319e9e0a847" name="init" cv="noexcept" specifiers="static"><type>void</type><parameter name="this_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Constructs an non-used list element, so that inited(this_node) == true</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__list__algorithms_1a4e04cdfce5bb78934b1994a62f306067" name="inited" cv="noexcept" specifiers="static"><type>bool</type><parameter name="this_node"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Returns true is "this_node" is in a non-used state as if it was initialized by the "init" function.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__list__algorithms_1a707daf97d740c238e2d4489c3dffe869" name="init_header" cv="noexcept" specifiers="static"><type>void</type><parameter name="this_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Constructs an empty list, making this_node the only node of the circular list: <computeroutput>NodeTraits::get_next(this_node) == NodeTraits::get_previous(this_node) == this_node</computeroutput>.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__list__algorithms_1aeb8c236ca18f48bf699ac76eb2efba03" name="is_empty" cv="noexcept" specifiers="static"><type>bool</type><parameter name="this_node"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Returns true if this_node_points to an empty list.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__list__algorithms_1ad77deb231f55407f8a97ff70a814baf9" name="unique" cv="noexcept" specifiers="static"><type>bool</type><parameter name="this_node"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: this_node must be in a circular list or be an empty circular list.</para><para><emphasis role="bold">Effects</emphasis>: Returns true is "this_node" is the only node of a circular list: <computeroutput>return NodeTraits::get_next(this_node) == this_node</computeroutput></para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__list__algorithms_1aa5a5595f81dbf7342c19be8a2276d87b" name="count" cv="noexcept" specifiers="static"><type>std::size_t</type><parameter name="this_node"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: this_node must be in a circular list or be an empty circular list.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of nodes in a circular list. If the circular list is empty, returns 1.</para><para><emphasis role="bold">Complexity</emphasis>: Linear</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__list__algorithms_1a9e29eccffba7958e13a59042dda1f72e" name="unlink" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="this_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: this_node must be in a circular list or be an empty circular list.</para><para><emphasis role="bold">Effects</emphasis>: Unlinks the node from the circular list.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__list__algorithms_1a71dc5fb32f9e20164fccce0c10982c64" name="unlink" cv="noexcept" specifiers="static"><type>void</type><parameter name="b"><paramtype>node_ptr</paramtype></parameter><parameter name="e"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: b and e must be nodes of the same circular list or an empty range.</para><para><emphasis role="bold">Effects</emphasis>: Unlinks the node [b, e) from the circular list.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__list__algorithms_1a655c67affae570c898ce808155d381dc" name="link_before" cv="noexcept" specifiers="static"><type>void</type><parameter name="nxt_node"><paramtype>node_ptr</paramtype></parameter><parameter name="this_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: nxt_node must be a node of a circular list.</para><para><emphasis role="bold">Effects</emphasis>: Links this_node before nxt_node in the circular list.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__list__algorithms_1a84364349112115f9a3bbe442399e4a85" name="link_after" cv="noexcept" specifiers="static"><type>void</type><parameter name="prev_node"><paramtype>node_ptr</paramtype></parameter><parameter name="this_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: prev_node must be a node of a circular list.</para><para><emphasis role="bold">Effects</emphasis>: Links this_node after prev_node in the circular list.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__list__algorithms_1a47efdb6752dff3acb0fcae38151f914e" name="swap_nodes" cv="noexcept" specifiers="static"><type>void</type><parameter name="this_node"><paramtype>node_ptr</paramtype></parameter><parameter name="other_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: this_node and other_node must be nodes inserted in circular lists or be empty circular lists.</para><para><emphasis role="bold">Effects</emphasis>: Swaps the position of the nodes: this_node is inserted in other_nodes position in the second circular list and the other_node is inserted in this_node's position in the first circular list.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__list__algorithms_1adb4c7d2e6adb32e1092da58bbcb77a81" name="transfer" cv="noexcept" specifiers="static"><type>void</type><parameter name="p"><paramtype>node_ptr</paramtype></parameter><parameter name="b"><paramtype>node_ptr</paramtype></parameter><parameter name="e"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: b and e must be nodes of the same circular list or an empty range. and p must be a node of a different circular list or may not be an iterator in <emphasis role="bold">Effects</emphasis>: Removes the nodes from [b, e) range from their circular list and inserts them before p in p's circular list.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__list__algorithms_1a22a8f8e086ebaa389c067830c89baeca" name="transfer" cv="noexcept" specifiers="static"><type>void</type><parameter name="p"><paramtype>node_ptr</paramtype></parameter><parameter name="i"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: i must a node of a circular list and p must be a node of a different circular list.</para><para><emphasis role="bold">Effects</emphasis>: Removes the node i from its circular list and inserts it before p in p's circular list. If p == i or p == NodeTraits::get_next(i), this function is a null operation.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__list__algorithms_1a3f56cc71047ae1a2fd0bbd5949c8f1e7" name="reverse" cv="noexcept" specifiers="static"><type>void</type><parameter name="p"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Reverses the order of elements in the list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: This function is linear time. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__list__algorithms_1ae961d09b3b59b9696960c6fc8ab5d7e2" name="move_backwards" cv="noexcept" specifiers="static"><type>void</type><parameter name="p"><paramtype>node_ptr</paramtype></parameter><parameter name="n"><paramtype>std::size_t</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Moves the node p n positions towards the end of the list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of moved positions. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__list__algorithms_1a8ed61f15d076f5bd8e2c9380c31e0b49" name="move_forward" cv="noexcept" specifiers="static"><type>void</type><parameter name="p"><paramtype>node_ptr</paramtype></parameter><parameter name="n"><paramtype>std::size_t</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Moves the node p n positions towards the beginning of the list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of moved positions. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__list__algorithms_1a2b53e3b869955df1c21eb3a06fabef56" name="distance" cv="noexcept" specifiers="static"><type>std::size_t</type><parameter name="f"><paramtype>const_node_ptr</paramtype></parameter><parameter name="l"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: f and l must be in a circular list.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of nodes in the range [f, l).</para><para><emphasis role="bold">Complexity</emphasis>: Linear</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__list__algorithms_1ad151d42851ccc6876c06b56a1e930aec" name="stable_partition" specifiers="static"><type>void</type><template>
          <template-type-parameter name="Pred"/>
        </template><parameter name="beg"><paramtype>node_ptr</paramtype></parameter><parameter name="end"><paramtype>node_ptr</paramtype></parameter><parameter name="pred"><paramtype>Pred</paramtype></parameter><parameter name="info"><paramtype>stable_partition_info &amp;</paramtype></parameter></method>
</method-group>
<method-group name="private static functions">
<method id="doxygen.classboost_1_1intrusive_1_1circular__list__algorithms_1afec03bbaec7e10d4b6fe485548a4bd11" name="swap_prev" cv="noexcept" specifiers="static"><type>void</type><parameter name="this_node"><paramtype>node_ptr</paramtype></parameter><parameter name="other_node"><paramtype>node_ptr</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__list__algorithms_1a67f9393a058ce019e406cbea020de546" name="swap_next" cv="noexcept" specifiers="static"><type>void</type><parameter name="this_node"><paramtype>node_ptr</paramtype></parameter><parameter name="other_node"><paramtype>node_ptr</paramtype></parameter></method>
</method-group>
</class>



























































</namespace>
</namespace>
</header>
<header id="doxygen.circular__slist__algorithms_8hpp" name="boost/intrusive/circular_slist_algorithms.hpp">
<namespace name="boost">
<namespace name="intrusive">
<class id="doxygen.classboost_1_1intrusive_1_1circular__slist__algorithms" name="circular_slist_algorithms"><template>
      <template-type-parameter name="NodeTraits"/>
    </template><description><para><link linkend="doxygen.classboost_1_1intrusive_1_1circular__slist__algorithms">circular_slist_algorithms</link> provides basic algorithms to manipulate nodes forming a circular singly linked list. An empty circular list is formed by a node whose pointer to the next node points to itself.</para><para><link linkend="doxygen.classboost_1_1intrusive_1_1circular__slist__algorithms">circular_slist_algorithms</link> is configured with a NodeTraits class, which encapsulates the information about the node to be manipulated. NodeTraits must support the following interface:</para><para><emphasis role="bold">Typedefs</emphasis>:</para><para><computeroutput>node</computeroutput>: The type of the node that forms the circular list</para><para><computeroutput>node_ptr</computeroutput>: A pointer to a node</para><para><computeroutput>const_node_ptr</computeroutput>: A pointer to a const node</para><para><emphasis role="bold">Static functions</emphasis>:</para><para><computeroutput>static node_ptr get_next(const_node_ptr n);</computeroutput></para><para><computeroutput>static void set_next(node_ptr n, node_ptr next);</computeroutput> </para></description><typedef id="doxygen.classboost_1_1intrusive_1_1circular__slist__algorithms_1ae49cf14982d0d01dd47b3b001bbb45e5" name="node"><type>NodeTraits::node</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1circular__slist__algorithms_1a7700cc013cb8a6dc1ee2218780102b8d" name="node_ptr"><type>NodeTraits::node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1circular__slist__algorithms_1a23732b8e49c9217614e34de55a81f37c" name="const_node_ptr"><type>NodeTraits::const_node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1circular__slist__algorithms_1af7fb5f7c020076663cfa5ffa4e1353bb" name="node_traits"><type>NodeTraits</type></typedef>
<method-group name="public static functions">
<method id="doxygen.classboost_1_1intrusive_1_1circular__slist__algorithms_1ac8af1e928a3b98af67ecfb65de6f1ec9" name="init" cv="noexcept" specifiers="static"><type>void</type><parameter name="this_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Constructs an non-used list element, putting the next pointer to null: <computeroutput>NodeTraits::get_next(this_node) == node_ptr()</computeroutput></para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__slist__algorithms_1a90debf805e6dd86ce65f25aaeae22c63" name="unique" cv="noexcept" specifiers="static"><type>bool</type><parameter name="this_node"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: this_node must be in a circular list or be an empty circular list.</para><para><emphasis role="bold">Effects</emphasis>: Returns true is "this_node" is the only node of a circular list: or it's a not inserted node: <computeroutput>return node_ptr() == NodeTraits::get_next(this_node) || NodeTraits::get_next(this_node) == this_node</computeroutput></para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__slist__algorithms_1ad58de57ecba092cb15f7627fa5a1514d" name="inited" cv="noexcept" specifiers="static"><type>bool</type><parameter name="this_node"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Returns true is "this_node" has the same state as if it was inited using "init(node_ptr)"</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__slist__algorithms_1aa269c4eb263fe10db1739653ef9b090b" name="unlink_after" cv="noexcept" specifiers="static"><type>void</type><parameter name="prev_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: prev_node must be in a circular list or be an empty circular list.</para><para><emphasis role="bold">Effects</emphasis>: Unlinks the next node of prev_node from the circular list.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__slist__algorithms_1a81558d1adc3787cab3a399fdf063d580" name="unlink_after" cv="noexcept" specifiers="static"><type>void</type><parameter name="prev_node"><paramtype>node_ptr</paramtype></parameter><parameter name="last_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: prev_node and last_node must be in a circular list or be an empty circular list.</para><para><emphasis role="bold">Effects</emphasis>: Unlinks the range (prev_node, last_node) from the circular list.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__slist__algorithms_1a9cbdcf7a4494ed36538166e9857b9728" name="link_after" cv="noexcept" specifiers="static"><type>void</type><parameter name="prev_node"><paramtype>node_ptr</paramtype></parameter><parameter name="this_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: prev_node must be a node of a circular list.</para><para><emphasis role="bold">Effects</emphasis>: Links this_node after prev_node in the circular list.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__slist__algorithms_1a8de9454fbe11da4dbbf33b2fef9c9ac5" name="transfer_after" cv="noexcept" specifiers="static"><type>void</type><parameter name="p"><paramtype>node_ptr</paramtype></parameter><parameter name="b"><paramtype>node_ptr</paramtype></parameter><parameter name="e"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: b and e must be nodes of the same circular list or an empty range. and p must be a node of a different circular list.</para><para><emphasis role="bold">Effects</emphasis>: Removes the nodes from (b, e] range from their circular list and inserts them after p in p's circular list.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__slist__algorithms_1a5dd81ba0d49bfcac123a47a942bd8aae" name="init_header" cv="noexcept" specifiers="static"><type>void</type><parameter name="this_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Constructs an empty list, making this_node the only node of the circular list: <computeroutput>NodeTraits::get_next(this_node) == this_node</computeroutput>.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__slist__algorithms_1ab60608b8f13cc2b182685a03ef3542f5" name="end_node" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="p"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'p' is the first node of a list.</para><para><emphasis role="bold">Effects</emphasis>: Returns a pointer to a node that represents the "end" (one past end) node</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__slist__algorithms_1a2e1336be018363f76ef90174b2c0b69a" name="is_empty" cv="noexcept" specifiers="static"><type>bool</type><parameter name="this_node"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Returns true if this_node_points to an empty list.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__slist__algorithms_1ab0135aef544a359a28c39014db559da4" name="is_sentinel" cv="noexcept" specifiers="static"><type>bool</type><parameter name="this_node"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Returns true if this_node points to a sentinel node.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__slist__algorithms_1ac39a977eb825210d7fd41f3bccbb73df" name="set_sentinel" cv="noexcept" specifiers="static"><type>void</type><parameter name="this_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Marks this node as a "sentinel" node, a special state that is different from "empty", that can be used to mark a special state of the list</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__slist__algorithms_1af2f35f09a1c183c9fbe858845c5bc221" name="get_previous_node" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="prev_init_node"><paramtype>node_ptr</paramtype></parameter><parameter name="this_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: this_node and prev_init_node must be in the same circular list.</para><para><emphasis role="bold">Effects</emphasis>: Returns the previous node of this_node in the circular list starting. the search from prev_init_node. The first node checked for equality is NodeTraits::get_next(prev_init_node).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements between prev_init_node and this_node.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__slist__algorithms_1ae648bafea9fe642ababba906d1609377" name="get_previous_node" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="this_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: this_node must be in a circular list or be an empty circular list.</para><para><emphasis role="bold">Effects</emphasis>: Returns the previous node of this_node in the circular list.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements in the circular list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__slist__algorithms_1a8f29fc90ed13a4068399a24c212b13a4" name="get_previous_previous_node" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="this_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: this_node must be in a circular list or be an empty circular list.</para><para><emphasis role="bold">Effects</emphasis>: Returns the previous node of the previous node of this_node in the circular list.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements in the circular list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__slist__algorithms_1a597fde0a628de18782ed1539e358c3fe" name="get_previous_previous_node" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="p"><paramtype>node_ptr</paramtype></parameter><parameter name="this_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: this_node and p must be in the same circular list.</para><para><emphasis role="bold">Effects</emphasis>: Returns the previous node of the previous node of this_node in the circular list starting. the search from p. The first node checked for equality is NodeTraits::get_next((NodeTraits::get_next(p)).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements in the circular list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__slist__algorithms_1a779a717d4db40a90879e39818dfb47c4" name="count" cv="noexcept" specifiers="static"><type>std::size_t</type><parameter name="this_node"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: this_node must be in a circular list or be an empty circular list.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of nodes in a circular list. If the circular list is empty, returns 1.</para><para><emphasis role="bold">Complexity</emphasis>: Linear</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__slist__algorithms_1a4f94ce859a5ba697cf2a0224e00d11fb" name="unlink" cv="noexcept" specifiers="static"><type>void</type><parameter name="this_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: this_node must be in a circular list, be an empty circular list or be inited.</para><para><emphasis role="bold">Effects</emphasis>: Unlinks the node from the circular list.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements in the circular list</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__slist__algorithms_1a40ef7193da42a0d3468b660b90fd0df0" name="link_before" cv="noexcept" specifiers="static"><type>void</type><parameter name="nxt_node"><paramtype>node_ptr</paramtype></parameter><parameter name="this_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: nxt_node must be a node of a circular list.</para><para><emphasis role="bold">Effects</emphasis>: Links this_node before nxt_node in the circular list.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements in the circular list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__slist__algorithms_1a4170e2f47285a2ab3535f4a000e0a51a" name="swap_nodes" cv="noexcept" specifiers="static"><type>void</type><parameter name="this_node"><paramtype>node_ptr</paramtype></parameter><parameter name="other_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: this_node and other_node must be nodes inserted in circular lists or be empty circular lists.</para><para><emphasis role="bold">Effects</emphasis>: Swaps the position of the nodes: this_node is inserted in other_nodes position in the second circular list and the other_node is inserted in this_node's position in the first circular list.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to number of elements of both lists</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__slist__algorithms_1ace4f2ea180112921c432c4b6c9cdd878" name="reverse" cv="noexcept" specifiers="static"><type>void</type><parameter name="p"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Reverses the order of elements in the list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: This function is linear to the contained elements. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__slist__algorithms_1ae3457d9bf951dcc4743cf20c939dd61b" name="move_backwards" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="p"><paramtype>node_ptr</paramtype></parameter><parameter name="n"><paramtype>std::size_t</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Moves the node p n positions towards the end of the list.</para><para><emphasis role="bold">Returns</emphasis>: The previous node of p after the function if there has been any movement, Null if n leads to no movement.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements plus the number moved positions. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__slist__algorithms_1adfc05eb87923740db2e02ef3ce9ed4e5" name="move_forward" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="p"><paramtype>node_ptr</paramtype></parameter><parameter name="n"><paramtype>std::size_t</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Moves the node p n positions towards the beginning of the list.</para><para><emphasis role="bold">Returns</emphasis>: The previous node of p after the function if there has been any movement, Null if n leads equals to no movement.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements plus the number moved positions. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__slist__algorithms_1a26943f08a306a1c188f860e2eeef4188" name="transfer_after" cv="noexcept" specifiers="static"><type>void</type><parameter name="p"><paramtype>node_ptr</paramtype></parameter><parameter name="other"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: other must be a list and p must be a node of a different list.</para><para><emphasis role="bold">Effects</emphasis>: Transfers all nodes from other after p in p's list.</para><para><emphasis role="bold">Complexity</emphasis>: Linear</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1circular__slist__algorithms_1a7effc85f579dbeb4d537a8f3309d92cc" name="detach_and_dispose" cv="noexcept" specifiers="static"><type>std::size_t</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="p"><paramtype>node_ptr</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "disposer" must be an object function taking a node_ptr parameter and shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Unlinks all nodes reachable from p (but not p) and calls <computeroutput>void disposer::operator()(node_ptr)</computeroutput> for every node of the list where p is linked.</para><para><emphasis role="bold">Returns</emphasis>: The number of disposed nodes</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of element of the list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
</method-group>
</class>



























































</namespace>
</namespace>
</header>
<header id="doxygen.derivation__value__traits_8hpp" name="boost/intrusive/derivation_value_traits.hpp">
<namespace name="boost">
<namespace name="intrusive">
<struct id="doxygen.structboost_1_1intrusive_1_1derivation__value__traits" name="derivation_value_traits"><template>
      <template-type-parameter name="T"/>
      <template-type-parameter name="NodeTraits"/>
      <template-nontype-parameter name="LinkMode"><type>link_mode_type</type><default>safe_link</default></template-nontype-parameter>
    </template><description><para>This value traits template is used to create value traits from user defined node traits where value_traits::value_type will derive from node_traits::node </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1derivation__value__traits_1aeafcba905debcef400e961b7a1d47d47" name="node_traits"><type>NodeTraits</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1derivation__value__traits_1ade411e6eee9906b32a7fd9d33b87692c" name="value_type"><type>T</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1derivation__value__traits_1a4b5385b5f3472386271b7dbfc3926c0f" name="node"><type>node_traits::node</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1derivation__value__traits_1ae526948f124025ca6dd195bed1b9e728" name="node_ptr"><type>node_traits::node_ptr</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1derivation__value__traits_1ada7f8f69a8959c8c7ca487021963a362" name="const_node_ptr"><type>node_traits::const_node_ptr</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1derivation__value__traits_1af7758143df6fec639dcc1eef980974f6" name="pointer"><type><classname>pointer_traits</classname>&lt; node_ptr &gt;::template rebind_pointer&lt; value_type &gt;::type</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1derivation__value__traits_1afddf590974f1b8458350abc26faafcd9" name="const_pointer"><type><classname>pointer_traits</classname>&lt; node_ptr &gt;::template rebind_pointer&lt; constvalue_type &gt;::type</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1derivation__value__traits_1a9202d8fa058150ef9d3ac994852e3ec1" name="reference"><type><classname>boost::intrusive::pointer_traits</classname>&lt; pointer &gt;::reference</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1derivation__value__traits_1ad0093d0f8be7d011bc7fce3f541f2171" name="const_reference"><type><classname>boost::intrusive::pointer_traits</classname>&lt; const_pointer &gt;::reference</type></typedef>
<data-member id="doxygen.structboost_1_1intrusive_1_1derivation__value__traits_1aa5fc2183cc49ca9dd888f3a9178ee64c" name="link_mode" specifiers="static"><type>const link_mode_type</type></data-member>
<method-group name="public static functions">
<method id="doxygen.structboost_1_1intrusive_1_1derivation__value__traits_1a1c17715e5bc9b55449f13d7c68fd69e4" name="to_node_ptr" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1derivation__value__traits_1aca568aa43b9b8177ba01d8ec9198d245" name="to_node_ptr" cv="noexcept" specifiers="static"><type>const_node_ptr</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1derivation__value__traits_1a16f375e8a60dc7531baaf8e14f36b30d" name="to_value_ptr" cv="noexcept" specifiers="static"><type>pointer</type><parameter name="n"><paramtype>node_ptr</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1derivation__value__traits_1a5d748f8298281b03c8d163d7cc0eb000" name="to_value_ptr" cv="noexcept" specifiers="static"><type>const_pointer</type><parameter name="n"><paramtype>const_node_ptr</paramtype></parameter></method>
</method-group>
</struct>



























































</namespace>
</namespace>
</header>
<header id="doxygen.hashtable_8hpp" name="boost/intrusive/hashtable.hpp">
<namespace name="boost">
<namespace name="intrusive">
<struct id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t" name="bucket_hash_equal_t"><template>
      <template-type-parameter name="ValueTraits"/>
      <template-type-parameter name="VoidOrKeyOfValue"/>
      <template-type-parameter name="VoidOrKeyHash"/>
      <template-type-parameter name="VoidOrKeyEqual"/>
      <template-type-parameter name="BucketTraits"/>
      <template-nontype-parameter name="LinearBuckets"><type>bool</type></template-nontype-parameter>
      <template-nontype-parameter name=""><type>bool</type></template-nontype-parameter>
    </template><inherit access="public">boost::intrusive::bucket_hash_t&lt; ValueTraits, VoidOrKeyOfValue, VoidOrKeyHash, BucketTraits, LinearBuckets &gt;</inherit><inherit access="public">hashtable_equal_holder::type</inherit><typedef id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_1ace66c0f8856930657674131d1626a322" name="equal_holder_t"><type>hashtable_equal_holder&lt; ValueTraits, BucketTraits, VoidOrKeyOfValue, VoidOrKeyEqual, LinearBuckets &gt;::type</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_1a85f34cbfbf13310e0dc622c8c3ed64d2" name="bucket_hash_type"><type>bucket_hash_t&lt; ValueTraits, VoidOrKeyOfValue, VoidOrKeyHash, BucketTraits, LinearBuckets &gt;</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_1a62fa0e9d8c73e17018d7862d9ca86923" name="bucket_plus_vtraits_t"><type>bucket_plus_vtraits&lt; ValueTraits, BucketTraits, LinearBuckets &gt;</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_1a745964e6e33bdff3eb6577198c201b28" name="value_traits"><type>ValueTraits</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_1a0546eb16b7303a14c53aaaa1250c0679" name="key_equal"><type>equal_holder_t::functor_type</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_1a4adb9f0d35fa4ca4f45e856c4a580426" name="hasher"><type>bucket_hash_type::hasher</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_1ac2b37ed35e53e7cb6f0e5e4e8ea77c75" name="bucket_traits"><type>BucketTraits</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_1ac10420bc54ae3f01d131e9054f7e0b33" name="siterator"><type>bucket_plus_vtraits_t::siterator</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_1aea99097b77d4623646dd96f2684c9083" name="const_siterator"><type>bucket_plus_vtraits_t::const_siterator</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_1a34282d9d4fea6b7242674c4ed59b83e3" name="bucket_type"><type>bucket_plus_vtraits_t::bucket_type</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_1aa36c6cbca1eb9e62e93129171d719255" name="slist_node_algorithms"><type>bucket_plus_vtraits_t::slist_node_algorithms</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_1ab7d92ede566cf7d1627fc446a1efbc78" name="bucket_ptr"><type>unordered_bucket_ptr_impl&lt; value_traits &gt;::type</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_1a967f30a6b6f2c872be76a3fb1dadf124"><parameter name="val_traits"><paramtype>const ValueTraits &amp;</paramtype></parameter><parameter name="b_traits"><paramtype>const bucket_traits &amp;</paramtype></parameter><parameter name="h"><paramtype>const hasher &amp;</paramtype></parameter><parameter name="e"><paramtype>const key_equal &amp;</paramtype></parameter></constructor>
<constructor id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_1a127bc8272973354c5d4fb99dd6e68930"><parameter name="other"><paramtype>bucket_hash_equal_t &amp;&amp;</paramtype></parameter></constructor>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_1a2a7efc1a3b372307df51df3186e72b30" name="priv_get_cache"><type>bucket_ptr</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_1a9f3df6d21fc015f0431a5db7f9d5a983" name="priv_set_cache"><type>void</type><parameter name=""><paramtype>bucket_ptr</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_1a36bc9de8a62dc09f6c51b92e6a807898" name="priv_set_cache_bucket_num"><type>void</type><parameter name=""><paramtype>std::size_t</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_1a17dc42ad6a7afd5cab4cf086acae6e68" name="priv_get_cache_bucket_num"><type>std::size_t</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_1a31ec5f98311e20142ff2daf52b6b2040" name="priv_init_cache"><type>void</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_1ae7e5772dca662ac9c6aece288198a797" name="priv_swap_cache"><type>void</type><parameter name=""><paramtype>bucket_hash_equal_t &amp;</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_1a1dc70aacdad644bc0e768b6c6592b946" name="priv_begin" cv="const"><type>siterator</type><parameter name="pbucketptr"><paramtype>bucket_ptr &amp;</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_1ac650738dff6ecaa276c13f2588ac0c1c" name="priv_insertion_update_cache"><type>void</type><parameter name=""><paramtype>std::size_t</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_1a796168c4762197752b2fe2cc216e75e3" name="priv_erasure_update_cache_range"><type>void</type><parameter name=""><paramtype>std::size_t</paramtype></parameter><parameter name=""><paramtype>std::size_t</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_1a55067f3fbf5c9fc7b6cd1fce9a4524f2" name="priv_erasure_update_cache"><type>void</type><parameter name=""><paramtype>bucket_ptr</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_1abd2604327b65148da2aef0f3d5130d5c" name="priv_erasure_update_cache"><type>void</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_1a21695ee3f3987e620357bad04bfd3785" name="priv_equal" cv="const"><type>const key_equal &amp;</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_1aeefc8c328f60726306fc47b072fa5649" name="priv_equal"><type>key_equal &amp;</type></method>
</method-group>
</struct><struct-specialization id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_3_01ValueTraits_00_01VoidOrKeyOfValue_00_01Vo5d8c2c5206747ff1bb56f6444a835544" name="bucket_hash_equal_t"><template>
      <template-type-parameter name="ValueTraits"/>
      <template-type-parameter name="VoidOrKeyOfValue"/>
      <template-type-parameter name="VoidOrKeyHash"/>
      <template-type-parameter name="VoidOrKeyEqual"/>
      <template-type-parameter name="BucketTraits"/>
      <template-nontype-parameter name="LinearBuckets"><type>bool</type></template-nontype-parameter>
    </template><specialization><template-arg>ValueTraits</template-arg><template-arg>VoidOrKeyOfValue</template-arg><template-arg>VoidOrKeyHash</template-arg><template-arg>VoidOrKeyEqual</template-arg><template-arg>BucketTraits</template-arg><template-arg>LinearBuckets</template-arg><template-arg>true</template-arg></specialization><inherit access="public">boost::intrusive::bucket_hash_t&lt; ValueTraits, VoidOrKeyOfValue, VoidOrKeyHash, BucketTraits, LinearBuckets &gt;</inherit><inherit access="public">hashtable_equal_holder::type</inherit><typedef id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_3_01ValueTraits_00_01VoidOrKeyOfValue_00_01Vo5d8c2c5206747ff1bb56f6444a835544_1ab9847561058755dfb56c1199bc005a7d" name="equal_holder_t"><type>hashtable_equal_holder&lt; ValueTraits, BucketTraits, VoidOrKeyOfValue, VoidOrKeyEqual, LinearBuckets &gt;::type</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_3_01ValueTraits_00_01VoidOrKeyOfValue_00_01Vo5d8c2c5206747ff1bb56f6444a835544_1a023106ecd443095d910fcd5cfa19eaad" name="bucket_plus_vtraits_t"><type>bucket_plus_vtraits&lt; ValueTraits, BucketTraits, LinearBuckets &gt;</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_3_01ValueTraits_00_01VoidOrKeyOfValue_00_01Vo5d8c2c5206747ff1bb56f6444a835544_1aec277a43214a0d6c074fd733e87bf9f2" name="value_traits"><type>ValueTraits</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_3_01ValueTraits_00_01VoidOrKeyOfValue_00_01Vo5d8c2c5206747ff1bb56f6444a835544_1aacd564028376520ced5f6259c6edb453" name="key_equal"><type>equal_holder_t::functor_type</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_3_01ValueTraits_00_01VoidOrKeyOfValue_00_01Vo5d8c2c5206747ff1bb56f6444a835544_1a92050332c6cbf08bb8c0178ddbb8978b" name="bucket_hash_type"><type>bucket_hash_t&lt; ValueTraits, VoidOrKeyOfValue, VoidOrKeyHash, BucketTraits, LinearBuckets &gt;</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_3_01ValueTraits_00_01VoidOrKeyOfValue_00_01Vo5d8c2c5206747ff1bb56f6444a835544_1ad95036cfe91e839bd553fa545d964b35" name="hasher"><type>bucket_hash_type::hasher</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_3_01ValueTraits_00_01VoidOrKeyOfValue_00_01Vo5d8c2c5206747ff1bb56f6444a835544_1abb75dde74388f877e58a01f6a2e2441c" name="bucket_traits"><type>BucketTraits</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_3_01ValueTraits_00_01VoidOrKeyOfValue_00_01Vo5d8c2c5206747ff1bb56f6444a835544_1a7c718a92d89d85ac7de6e830d60ec5e9" name="siterator"><type>bucket_plus_vtraits_t::siterator</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_3_01ValueTraits_00_01VoidOrKeyOfValue_00_01Vo5d8c2c5206747ff1bb56f6444a835544_1a017b0b4478b14550f6ed3955b046306e" name="slist_node_algorithms"><type>bucket_plus_vtraits_t::slist_node_algorithms</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_3_01ValueTraits_00_01VoidOrKeyOfValue_00_01Vo5d8c2c5206747ff1bb56f6444a835544_1afec4e8a9f96adf65aec5f6e7555a18cc" name="bucket_ptr"><type>unordered_bucket_ptr_impl&lt; typenamebucket_hash_type::value_traits &gt;::type</type></typedef>
<data-member id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_3_01ValueTraits_00_01VoidOrKeyOfValue_00_01Vo5d8c2c5206747ff1bb56f6444a835544_1a19a21946b2d645e810447f444be79434" name="cached_begin_"><type>bucket_ptr</type></data-member>
<method-group name="public member functions">
<constructor id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_3_01ValueTraits_00_01VoidOrKeyOfValue_00_01Vo5d8c2c5206747ff1bb56f6444a835544_1a18b74ab5e3ffe851681fc65571425556"><parameter name="val_traits"><paramtype>const ValueTraits &amp;</paramtype></parameter><parameter name="b_traits"><paramtype>const bucket_traits &amp;</paramtype></parameter><parameter name="h"><paramtype>const hasher &amp;</paramtype></parameter><parameter name="e"><paramtype>const key_equal &amp;</paramtype></parameter></constructor>
<constructor id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_3_01ValueTraits_00_01VoidOrKeyOfValue_00_01Vo5d8c2c5206747ff1bb56f6444a835544_1ade3d721e4faaa3feff102d4930f6e766"><parameter name="other"><paramtype>bucket_hash_equal_t &amp;&amp;</paramtype></parameter></constructor>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_3_01ValueTraits_00_01VoidOrKeyOfValue_00_01Vo5d8c2c5206747ff1bb56f6444a835544_1ab73150cb712754dfc4d838f44d6f9916" name="priv_get_cache" cv="const"><type>bucket_ptr</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_3_01ValueTraits_00_01VoidOrKeyOfValue_00_01Vo5d8c2c5206747ff1bb56f6444a835544_1aec807309486ca8e33568c7a8d9af9032" name="priv_set_cache"><type>void</type><parameter name="p"><paramtype>bucket_ptr</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_3_01ValueTraits_00_01VoidOrKeyOfValue_00_01Vo5d8c2c5206747ff1bb56f6444a835544_1a04407562c3043f9478da2ed3cbd32b5e" name="priv_set_cache_bucket_num"><type>void</type><parameter name="insertion_bucket"><paramtype>std::size_t</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_3_01ValueTraits_00_01VoidOrKeyOfValue_00_01Vo5d8c2c5206747ff1bb56f6444a835544_1a5e6f4ac420639a1ae08e8c024b830a96" name="priv_get_cache_bucket_num"><type>std::size_t</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_3_01ValueTraits_00_01VoidOrKeyOfValue_00_01Vo5d8c2c5206747ff1bb56f6444a835544_1a48d370a04efb1068c130cb02ed39e628" name="priv_init_cache"><type>void</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_3_01ValueTraits_00_01VoidOrKeyOfValue_00_01Vo5d8c2c5206747ff1bb56f6444a835544_1a4426da937c74dbc98632050b4affeb29" name="priv_swap_cache"><type>void</type><parameter name="other"><paramtype>bucket_hash_equal_t &amp;</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_3_01ValueTraits_00_01VoidOrKeyOfValue_00_01Vo5d8c2c5206747ff1bb56f6444a835544_1aa0150801a003978bd8f36be89922064a" name="priv_begin" cv="const"><type>siterator</type><parameter name="pbucketptr"><paramtype>bucket_ptr &amp;</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_3_01ValueTraits_00_01VoidOrKeyOfValue_00_01Vo5d8c2c5206747ff1bb56f6444a835544_1a2ba46ae9a90193c4846b2b6187788a50" name="priv_insertion_update_cache"><type>void</type><parameter name="insertion_bucket"><paramtype>std::size_t</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_3_01ValueTraits_00_01VoidOrKeyOfValue_00_01Vo5d8c2c5206747ff1bb56f6444a835544_1a60f9d3b305b7492bd65595bd179b7f43" name="priv_equal" cv="const"><type>const key_equal &amp;</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_3_01ValueTraits_00_01VoidOrKeyOfValue_00_01Vo5d8c2c5206747ff1bb56f6444a835544_1a196a1bf1e2b51a490cda6aaf0af0c095" name="priv_equal"><type>key_equal &amp;</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_3_01ValueTraits_00_01VoidOrKeyOfValue_00_01Vo5d8c2c5206747ff1bb56f6444a835544_1a5a8b20e4c476d3c3a1019fbd36b239f5" name="priv_erasure_update_cache_range"><type>void</type><parameter name="first_bucket_num"><paramtype>std::size_t</paramtype></parameter><parameter name="last_bucket_num"><paramtype>std::size_t</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_3_01ValueTraits_00_01VoidOrKeyOfValue_00_01Vo5d8c2c5206747ff1bb56f6444a835544_1a6546a82716f2b4f7c0ee723f43848e42" name="priv_erasure_update_cache"><type>void</type><parameter name="first_bucket"><paramtype>bucket_ptr</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__hash__equal__t_3_01ValueTraits_00_01VoidOrKeyOfValue_00_01Vo5d8c2c5206747ff1bb56f6444a835544_1a77cbd462ffc4973ebe68a35127c5aa56" name="priv_erasure_update_cache"><type>void</type></method>
</method-group>
</struct-specialization><struct id="doxygen.structboost_1_1intrusive_1_1bucket__hash__t" name="bucket_hash_t"><template>
      <template-type-parameter name="ValueTraits"/>
      <template-type-parameter name="VoidOrKeyOfValue"/>
      <template-type-parameter name="VoidOrKeyHash"/>
      <template-type-parameter name="BucketTraits"/>
      <template-nontype-parameter name="LinearBuckets"><type>bool</type></template-nontype-parameter>
    </template><inherit access="public">boost::intrusive::bucket_plus_vtraits&lt; ValueTraits, BucketTraits, LinearBuckets &gt;</inherit><typedef id="doxygen.structboost_1_1intrusive_1_1bucket__hash__t_1acba6f6635ae10f0d6af3cb8bcd6ae142" name="value_traits"><type>bucket_plus_vtraits&lt; ValueTraits, BucketTraits, LinearBuckets &gt;::value_traits</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__hash__t_1ad5ae72fc430cb4bbd90c4951049c9ea2" name="value_type"><type>value_traits::value_type</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__hash__t_1a0f17bcc7a06bb96429f020db793d4a2a" name="node_traits"><type>value_traits::node_traits</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__hash__t_1a7ccfd90fafb6e1002c5c2143d076b86d" name="hash_key_hash_t"><type>hash_key_hash&lt; value_type, VoidOrKeyOfValue, VoidOrKeyHash &gt;</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__hash__t_1ae3465c2fd99e104c558419f2ec5d3c16" name="hasher"><type>hash_key_hash_t::type</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__hash__t_1a428fbb4374ee6058def92bd504af4783" name="key_of_value"><type>hash_key_types_base&lt; value_type, VoidOrKeyOfValue &gt;::key_of_value</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__hash__t_1aa949c7796813aad4d9a11e78a432dc29" name="bucket_traits"><type>BucketTraits</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__hash__t_1afa268407613c9f2d55eefd56688a2bc4" name="bucket_plus_vtraits_t"><type>bucket_plus_vtraits&lt; ValueTraits, BucketTraits, LinearBuckets &gt;</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__hash__t_1a0217d553f22e97ae2a134c3b172e3d9b" name="base_t"><type><emphasis>unspecified</emphasis></type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.structboost_1_1intrusive_1_1bucket__hash__t_1adb76874c4973d35532e17fdbb671afba"><parameter name="val_traits"><paramtype>const ValueTraits &amp;</paramtype></parameter><parameter name="b_traits"><paramtype>const bucket_traits &amp;</paramtype></parameter><parameter name="h"><paramtype>const hasher &amp;</paramtype></parameter></constructor>
<constructor id="doxygen.structboost_1_1intrusive_1_1bucket__hash__t_1a9dbf958f1d254a820aaebf254ef1af24"><parameter name="other"><paramtype>bucket_hash_t &amp;&amp;</paramtype></parameter></constructor>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__hash__t_1a5c7aa6dd3904f3dd330d8f9437946a86" name="priv_hash" cv="const"><type>std::size_t</type><template>
          <template-type-parameter name="K"/>
        </template><parameter name="k"><paramtype>const K &amp;</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__hash__t_1a596f899d215a7fe67b557f8a94ccdb53" name="priv_hasher" cv="const"><type>const hasher &amp;</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__hash__t_1a875a82130c13eeec47ccb354b6b61c3c" name="priv_hasher"><type>hasher &amp;</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__hash__t_1a3266ff761690052b41da0dbf2e64357c" name="priv_stored_or_compute_hash" cv="const"><type>std::size_t</type><parameter name="v"><paramtype>const value_type &amp;</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
</method-group>
</struct><struct id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits" name="bucket_plus_vtraits"><template>
      <template-type-parameter name="ValueTraits"/>
      <template-type-parameter name="BucketTraits"/>
      <template-nontype-parameter name="LinearBuckets"><type>bool</type></template-nontype-parameter>
    </template><struct id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1_1data__type" name="data_type"><inherit access="public">ValueTraits</inherit><inherit access="public">BucketTraits</inherit><method-group name="public member functions">
<constructor id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1_1data__type_1ac3f09e6691d6a44b5c193cae110a1c48"><parameter name="val_traits"><paramtype>const ValueTraits &amp;</paramtype></parameter><parameter name="b_traits"><paramtype>const BucketTraits &amp;</paramtype></parameter></constructor>
<constructor id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1_1data__type_1a029c5e5cb089d32848ad64da53ab093b"><parameter name="other"><paramtype>data_type &amp;&amp;</paramtype></parameter></constructor>
</method-group>
</struct><struct id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1_1typeof__node__disposer" name="typeof_node_disposer"><template>
      <template-type-parameter name="Disposer"/>
    </template><typedef id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1_1typeof__node__disposer_1a6fb957ddb4f36a665d16ade9d9ef8237" name="type"><type><emphasis>unspecified</emphasis></type></typedef>
</struct><typedef id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a75bf02c3a416dc61b552f8ec9e2035c0" name="bucket_traits"><type>BucketTraits</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1ac8dff754c0f16a0d9a4a1968cf7a694e" name="value_traits"><type>ValueTraits</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a511c5858948dde395cbb81994ca8a68c" name="bucket_type"><type>unordered_bucket_impl&lt; value_traits &gt;::type</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a7e2c156303199595c6b857d8a25031e5" name="bucket_ptr"><type>unordered_bucket_ptr_impl&lt; value_traits &gt;::type</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a8cd85f8b7a2b6c4e1172f608c9a22e6c" name="node_traits"><type>value_traits::node_traits</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a10fdacda693047625b08240a0eeaa810" name="slist_node_traits"><type>bucket_type::node_traits</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1aa41503a094864a5a8a7727e972245cc1" name="group_traits"><type>unordered_group_adapter&lt; node_traits &gt;</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1ae650568a850913ba6c6fab78ffa9f3aa" name="group_functions_t"><type>group_functions&lt; node_traits &gt;</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a9baf498f4bf2205b94060e4b00ee5eee" name="slist_node_algorithms"><type><emphasis>unspecified</emphasis></type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a5547c71a7d77b4f78fad4a4dcc31520f" name="slist_node_ptr"><type>slist_node_traits::node_ptr</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a7ff2d6a6059a2f2a364db64fcad33ea8" name="slist_value_traits"><type><classname>trivial_value_traits</classname>&lt; slist_node_traits, normal_link &gt;</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1afd626f9de4cbb2b090f5baa55eac7e36" name="siterator"><type>slist_iterator&lt; <classname>slist_value_traits</classname>, false &gt;</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a5102dac5f1be79ef8a26d2268b6918f3" name="const_siterator"><type>slist_iterator&lt; <classname>slist_value_traits</classname>, true &gt;</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1aae32d6a116332b83130d1a448b3edb14" name="node_ptr"><type>node_traits::node_ptr</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1abf507e2ccbd461177ff0239e7dc2a2db" name="const_node_ptr"><type>node_traits::const_node_ptr</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a15fde7686b84eb3cf79eeafd6b4de29a" name="node"><type>node_traits::node</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a3f333a3078d75a5dc463f19de63c0a73" name="value_type"><type>value_traits::value_type</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a887a5df389e379e3bc3b54cff5d8ca21" name="pointer"><type>value_traits::pointer</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a8dc03af47a70e8eabd4a77cce69e5751" name="const_pointer"><type>value_traits::const_pointer</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a04d5c00daf8ac331826341df5baaec7b" name="reference"><type><classname>pointer_traits</classname>&lt; pointer &gt;::reference</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a16c1760c4cb57188038301afe3eb3cd8" name="const_reference"><type><classname>pointer_traits</classname>&lt; const_pointer &gt;::reference</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1ade35cb7412dad3742d7c87899d600ebc" name="group_algorithms"><type><classname>circular_slist_algorithms</classname>&lt; group_traits &gt;</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a9bfedc8ac4a8ae8f9f9fe87a7e48a359" name="const_value_traits_ptr"><type><classname>pointer_traits</classname>&lt; typenamevalue_traits::pointer &gt;::template rebind_pointer&lt; constvalue_traits &gt;::type</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a2299202fc5a4155afb49a983f40741c0" name="const_bucket_value_traits_ptr"><type><classname>pointer_traits</classname>&lt; typenamevalue_traits::pointer &gt;::template rebind_pointer&lt; constbucket_plus_vtraits &gt;::type</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a7da7fa3749971d71fe8a059e2d6d116a" name="linear_buckets_t"><type><emphasis>unspecified</emphasis></type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a4568327ba14ba6d445fb36b6cafbd3aa" name="this_ref"><type>bucket_plus_vtraits &amp;</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1ac9b589ff5ca814187240e016c6599f99" name="iterator"><type>hashtable_iterator&lt; bucket_plus_vtraits, LinearBuckets, false &gt;</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a174ad272fdc24aa47a619a09df33a88a" name="const_iterator"><type>hashtable_iterator&lt; bucket_plus_vtraits, LinearBuckets, true &gt;</type></typedef>
<data-member id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a3173029a1c3fbe8d63b84e22f083bf9c" name="safemode_or_autounlink" specifiers="static"><type>const bool</type></data-member>
<data-member id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a37c828ec422b314cf22d95339163fb93" name="bucket_overhead" specifiers="static"><type>const std::size_t</type></data-member>
<method-group name="public member functions">
<constructor id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a5f5afc3e077e3df6339adf71db80ed8f"><parameter name="val_traits"><paramtype>const ValueTraits &amp;</paramtype></parameter><parameter name="b_traits"><paramtype>const bucket_traits &amp;</paramtype></parameter></constructor>
<constructor id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1ab9bbec0da7a320bb2b03b7da140c6289"><parameter name="other"><paramtype>bucket_plus_vtraits &amp;&amp;</paramtype></parameter></constructor>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a40328e42f746f9906188e6cc7fd4e1df" name="priv_value_traits_ptr" cv="const"><type>const_value_traits_ptr</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a76244340dab4287a22350d2e27c87307" name="get_bucket_value_traits" cv="const"><type>const bucket_plus_vtraits &amp;</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1ab4eeb3784d2ead625212ac099b5681ba" name="get_bucket_value_traits"><type>bucket_plus_vtraits &amp;</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1aec25294d7770e8ff00e5ef364f3993b5" name="bucket_value_traits_ptr" cv="const"><type>const_bucket_value_traits_ptr</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1ab34aa69fa0d8a13e61a835ba5ba23072" name="priv_value_traits" cv="const"><type>const value_traits &amp;</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1aac2cbe7773da6a47a9b5231b37c203e2" name="priv_value_traits"><type>value_traits &amp;</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a29600fc3333b57c4c18704e9b274d08d" name="priv_bucket_traits" cv="const"><type>const bucket_traits &amp;</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1ae21f64a255876aa15e51e81f1abd720d" name="priv_bucket_traits"><type>bucket_traits &amp;</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1ac84a8e381396ceb0780d4215049e3019" name="priv_bucket_pointer" cv="const noexcept"><type>bucket_ptr</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a2d963028a6622d0b3123ef552a3fb598" name="priv_usable_bucket_count" cv="const noexcept"><type>std::size_t</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1adcd7fa9a2a157378c2e307cd919b9ee4" name="priv_bucket" cv="const noexcept"><type>bucket_type &amp;</type><parameter name="n"><paramtype>std::size_t</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a4adc97abf686e595c9101eba72ff2b1b" name="priv_bucket_ptr" cv="const noexcept"><type>bucket_ptr</type><parameter name="n"><paramtype>std::size_t</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1aecfa51d71892414a00c8512c9e9b9702" name="priv_past_usable_bucket_ptr" cv="const"><type>bucket_ptr</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a8800199da3bb0dad1a037102f5cc3975" name="priv_invalid_bucket_ptr" cv="const"><type>bucket_ptr</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a2b8ae8eb15406793bd07d8fb58d02b68" name="priv_set_sentinel_bucket" cv="const"><type>void</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a1e32fa265064292f6431a7a1462e42f0" name="priv_unset_sentinel_bucket" cv="const"><type>void</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a8938309300fdc64600b4f48ed7e89fda" name="priv_end_sit" cv="const"><type>siterator</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1aac007e7888dea2d3d6b810aac506e127" name="priv_end_sit" cv="const"><type>siterator</type><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a5f3bb92c57ad835e30518d0efec4d93a" name="priv_end_sit" cv="const"><type>siterator</type><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1ada5e2e25f8c71978a50a69f6ff33523a" name="priv_bucket_lbegin" cv="const"><type>siterator</type><parameter name="n"><paramtype>std::size_t</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1ae80e27cc0f97baae59ba23f2565c4454" name="priv_bucket_lbbegin" cv="const"><type>siterator</type><parameter name="n"><paramtype>std::size_t</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a020e702e4f25736685da6c0f1641721e" name="priv_bucket_lend" cv="const"><type>siterator</type><parameter name="n"><paramtype>std::size_t</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a57ce280d61440378cd4d9d2e5af46a18" name="priv_bucket_size" cv="const"><type>std::size_t</type><parameter name="n"><paramtype>std::size_t</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a0adf964b46982226cd6327a2fe82c53c" name="priv_bucket_empty" cv="const"><type>bool</type><parameter name="n"><paramtype>std::size_t</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a527b04a0575665edeac41a2719ebdbce" name="priv_bucket_empty" cv="const"><type>bool</type><parameter name="p"><paramtype>bucket_ptr</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1aed301abe085daf5aeca788fd4528a500" name="priv_erase_node_range"><type>std::size_t</type><template>
          <template-type-parameter name="NodeDisposer"/>
          <template-nontype-parameter name="OptimizeMultikey"><type>bool</type></template-nontype-parameter>
        </template><parameter name="before_first_it"><paramtype>siterator const &amp;</paramtype></parameter><parameter name="first_bucket"><paramtype>std::size_t const</paramtype></parameter><parameter name="last_it"><paramtype>siterator const &amp;</paramtype></parameter><parameter name="last_bucket"><paramtype>std::size_t const</paramtype></parameter><parameter name="node_disposer"><paramtype>NodeDisposer</paramtype></parameter><parameter name="optimize_multikey_tag"><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a1642d6a7008f024c6b5225911f610087" name="make_node_disposer" cv="const"><type>typeof_node_disposer&lt; Disposer &gt;::type</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="disposer"><paramtype>const Disposer &amp;</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a6dfdcd55dcfcc25344085cd7cacb6099" name="priv_value_to_node"><type>node &amp;</type><parameter name="v"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1affcf1a67b5f81899cc2b22d0a1410ced" name="priv_value_to_node" cv="const"><type>const node &amp;</type><parameter name="v"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a6e2e24871502927099044f249417e78b" name="priv_value_to_node_ptr"><type>node_ptr</type><parameter name="v"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a2c556e5329249a0f5529215803b6c08f" name="priv_value_to_node_ptr" cv="const"><type>const_node_ptr</type><parameter name="v"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a9173a2fdf748b4636744d2903605518f" name="priv_value_from_siterator"><type>reference</type><parameter name="s"><paramtype>siterator</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a2bc99306dddb910fad0b1ea1f69c1e93" name="priv_value_from_siterator" cv="const"><type>const_reference</type><parameter name="s"><paramtype>siterator</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a8dd565f1b4c07043ede058bcc652a4fa" name="priv_clear_buckets"><type>void</type><parameter name="buckets_ptr"><paramtype>const bucket_ptr</paramtype></parameter><parameter name="bucket_cnt"><paramtype>const std::size_t</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a9da6e2968f852128f15a81f86ae91278" name="priv_stored_or_compute_hash" cv="const"><type>std::size_t</type><parameter name="v"><paramtype>const value_type &amp;</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a5c74c9f95baeee416e9a888c162fe9b5" name="end" cv="noexcept"><type>iterator</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a8087291aedfed2d1bb5b52e1fb807b78" name="end" cv="const noexcept"><type>const_iterator</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a2cf38444887c66109ca4d28424f64e6e" name="cend" cv="const noexcept"><type>const_iterator</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a8ccffdbba6eb51830d032eca512ac840" name="build_iterator"><type>iterator</type><parameter name="s"><paramtype>siterator</paramtype></parameter><parameter name="p"><paramtype>bucket_ptr</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1aff0cb438b12311500bfeab69080d9ec3" name="build_iterator"><type>iterator</type><parameter name="s"><paramtype>siterator</paramtype></parameter><parameter name="p"><paramtype>bucket_ptr</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a427398fde22ee333dcefd98f94efb509" name="build_iterator"><type>iterator</type><parameter name="s"><paramtype>siterator</paramtype></parameter><parameter name=""><paramtype>bucket_ptr</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter><purpose>linear buckets </purpose></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1ae8ce7d054c2aca1f19b24d9f4eb9227e" name="build_const_iterator" cv="const"><type>const_iterator</type><parameter name="s"><paramtype>siterator</paramtype></parameter><parameter name="p"><paramtype>bucket_ptr</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a21c982ed819dbf4336e9ebe2c405d7eb" name="build_const_iterator" cv="const"><type>const_iterator</type><parameter name="s"><paramtype>siterator</paramtype></parameter><parameter name="p"><paramtype>bucket_ptr</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a6e8ae602db37b3f438f77bb49d6fb933" name="build_const_iterator" cv="const"><type>const_iterator</type><parameter name="s"><paramtype>siterator</paramtype></parameter><parameter name=""><paramtype>bucket_ptr</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter><purpose>linear buckets </purpose></method>
</method-group>
<method-group name="public static functions">
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a7b67d89f49c732a6c681ebf415941047" name="priv_bucket_lbegin" specifiers="static"><type>siterator</type><parameter name="b"><paramtype>bucket_type &amp;</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a3eb33500cdb44334984187c42efb313f" name="priv_bucket_lbbegin" specifiers="static"><type>siterator</type><parameter name="b"><paramtype>bucket_type &amp;</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a358d85a1b4b678803cfcdc3659039e46" name="priv_bucket_lend" specifiers="static"><type>siterator</type><parameter name="b"><paramtype>bucket_type &amp;</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1ae297724d4948239d59d72f6b0ec37eea" name="priv_bucket_size" specifiers="static"><type>std::size_t</type><parameter name="b"><paramtype>const bucket_type &amp;</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1ac5f4c2dd3b9190fbbecc06ed4d8b8c75" name="priv_bucket_empty" specifiers="static"><type>bool</type><parameter name="b"><paramtype>const bucket_type &amp;</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1aa069839b6f9012df447d358d951df665" name="priv_erase_from_single_bucket" specifiers="static"><type>std::size_t</type><template>
          <template-type-parameter name="NodeDisposer"/>
        </template><parameter name="b"><paramtype>bucket_type &amp;</paramtype></parameter><parameter name="sbefore_first"><paramtype>siterator</paramtype></parameter><parameter name="slast"><paramtype>siterator</paramtype></parameter><parameter name="node_disposer"><paramtype>NodeDisposer</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a43438f789572280a5f2755ffe75d07fd" name="priv_erase_from_single_bucket" specifiers="static"><type>std::size_t</type><template>
          <template-type-parameter name="NodeDisposer"/>
        </template><parameter name=""><paramtype>bucket_type &amp;</paramtype></parameter><parameter name="sbefore_first"><paramtype>siterator</paramtype></parameter><parameter name="slast"><paramtype>siterator</paramtype></parameter><parameter name="node_disposer"><paramtype>NodeDisposer</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a4e7f61e95fff5a334ae2d356690bd04b" name="priv_erase_node" specifiers="static"><type>void</type><template>
          <template-type-parameter name="NodeDisposer"/>
        </template><parameter name="b"><paramtype>bucket_type &amp;</paramtype></parameter><parameter name="i"><paramtype>siterator</paramtype></parameter><parameter name="node_disposer"><paramtype>NodeDisposer</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a0486dc83bff4b50d0ccb738ed0336d51" name="priv_erase_node" specifiers="static"><type>void</type><template>
          <template-type-parameter name="NodeDisposer"/>
        </template><parameter name="b"><paramtype>bucket_type &amp;</paramtype></parameter><parameter name="i"><paramtype>siterator</paramtype></parameter><parameter name="node_disposer"><paramtype>NodeDisposer</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter><purpose>optimize multikey </purpose></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a1abf2d9b44206561cf6531f9cca8a35a" name="priv_get_last" specifiers="static"><type>siterator</type><parameter name="b"><paramtype>bucket_type &amp;</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a06370eb2f09cbf3906826af3329b23e7" name="priv_get_last" specifiers="static"><type>siterator</type><parameter name="b"><paramtype>bucket_type &amp;</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1ae6065021253b1da5f94b322271588b97" name="priv_erase_whole_bucket" specifiers="static"><type>std::size_t</type><template>
          <template-type-parameter name="NodeDisposer"/>
        </template><parameter name="b"><paramtype>bucket_type &amp;</paramtype></parameter><parameter name="node_disposer"><paramtype>NodeDisposer</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a89f07cbddd25f6be71590707f2d1835e" name="priv_get_previous" specifiers="static"><type>siterator</type><parameter name="b"><paramtype>bucket_type &amp;</paramtype></parameter><parameter name="i"><paramtype>siterator</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1aaa142becd997fef5d03350e9e82cf136" name="priv_get_previous" specifiers="static"><type>siterator</type><parameter name="b"><paramtype>bucket_type &amp;</paramtype></parameter><parameter name="i"><paramtype>siterator</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1afb5a0673b50d03c74248f2dd52efd462" name="to_ptr" specifiers="static"><type>bucket_ptr</type><parameter name="b"><paramtype>bucket_type &amp;</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a9567a4433813a57e538111b7341bd7ed" name="sit_bbegin" specifiers="static"><type>siterator</type><parameter name="b"><paramtype>bucket_type &amp;</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a8deddc5dd0f46e95a6b013dcf682fe2f" name="sit_begin" specifiers="static"><type>siterator</type><parameter name="b"><paramtype>bucket_type &amp;</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a8f3ab4ac96c7a312b28fb2b2d357ffa3" name="sit_end" specifiers="static"><type>siterator</type><parameter name="b"><paramtype>bucket_type &amp;</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a6a22cf4d7b72d321214e450c5f4fc68a" name="priv_stored_hash" specifiers="static"><type>std::size_t</type><parameter name="s"><paramtype>siterator</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1a5cbddaf2db5e355a3012d4d0060e825d" name="priv_stored_hash" specifiers="static"><type>std::size_t</type><parameter name=""><paramtype>siterator</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__plus__vtraits_1ade783fd41a522b4345c5defde1a09f34" name="priv_init_buckets" specifiers="static"><type>void</type><parameter name="buckets_ptr"><paramtype>const bucket_ptr</paramtype></parameter><parameter name="bucket_cnt"><paramtype>const std::size_t</paramtype></parameter></method>
</method-group>
</struct><struct id="doxygen.structboost_1_1intrusive_1_1bucket__traits__impl" name="bucket_traits_impl"><template>
      <template-type-parameter name="BucketPtr"/>
      <template-type-parameter name="SizeType"/>
    </template><method-group name="public member functions">
<constructor id="doxygen.structboost_1_1intrusive_1_1bucket__traits__impl_1a11924e912807950bda5f89353d796dee"><parameter name="buckets"><paramtype>bucket_ptr</paramtype></parameter><parameter name="len"><paramtype><classname>size_type</classname></paramtype></parameter></constructor>
<constructor id="doxygen.structboost_1_1intrusive_1_1bucket__traits__impl_1a44893163face0596551cc8d8434d4267"><parameter name="x"><paramtype>const bucket_traits_impl &amp;</paramtype></parameter></constructor>
<constructor id="doxygen.structboost_1_1intrusive_1_1bucket__traits__impl_1a1b6649cceba30630475d321c6445161c"><parameter name="x"><paramtype>bucket_traits_impl &amp;&amp;</paramtype></parameter></constructor>
<copy-assignment id="doxygen.structboost_1_1intrusive_1_1bucket__traits__impl_1ae627d4ed035319f67751d137d782047c"><type>bucket_traits_impl &amp;</type><parameter name="x"><paramtype>bucket_traits_impl &amp;&amp;</paramtype></parameter></copy-assignment>
<copy-assignment id="doxygen.structboost_1_1intrusive_1_1bucket__traits__impl_1a1c39357982d808bfcf8c39296c9a38f3"><type>bucket_traits_impl &amp;</type><parameter name="x"><paramtype>BOOST_COPY_ASSIGN_REF(bucket_traits_impl)</paramtype></parameter></copy-assignment>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__traits__impl_1abd0441609ea2ddd420e4629dffe63edc" name="bucket_begin" cv="const"><type>bucket_ptr</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1bucket__traits__impl_1ab6e078cf1a2b226e1b2f55ec041a244a" name="bucket_count" cv="const noexcept"><type><classname>size_type</classname></type></method>
</method-group>
</struct><struct id="doxygen.structboost_1_1intrusive_1_1default__hashtable__hook__applier" name="default_hashtable_hook_applier"><struct id="doxygen.structboost_1_1intrusive_1_1default__hashtable__hook__applier_1_1apply" name="apply"><template>
      <template-type-parameter name="T"/>
    </template><typedef id="doxygen.structboost_1_1intrusive_1_1default__hashtable__hook__applier_1_1apply_1a7d2ce7aa5af2fa3cc64347fbb61176f9" name="type"><type>T::default_hashtable_hook</type></typedef>
</struct></struct><struct id="doxygen.structboost_1_1intrusive_1_1downcast__node__to__value__t" name="downcast_node_to_value_t"><template>
      <template-type-parameter name="ValueTraits"/>
      <template-nontype-parameter name="IsConst"><type>bool</type></template-nontype-parameter>
    </template><typedef id="doxygen.structboost_1_1intrusive_1_1downcast__node__to__value__t_1a42cbbd537664ce86d20fa9c55e4caa81" name="base_t"><type><emphasis>unspecified</emphasis></type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1downcast__node__to__value__t_1a110adc04a12f9670b23507ef07e8132b" name="result_type"><type>base_t::result_type</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1downcast__node__to__value__t_1aff546bcd6b6bc876da2f7f8107de555c" name="value_traits"><type>ValueTraits</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1downcast__node__to__value__t_1ae23dd8cf8d8c0dd171c1e19d031b3aa4" name="node"><type>unordered_bucket_impl&lt; value_traits &gt;::type::node_traits::node</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1downcast__node__to__value__t_1a65f1bf45156e81357a88d3d949f23db4" name="first_argument_type"><type><emphasis>unspecified</emphasis></type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1downcast__node__to__value__t_1a6de8785547c730b852f8221a59bad294" name="intermediate_argument_type"><type><emphasis>unspecified</emphasis></type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1downcast__node__to__value__t_1a23bd2c146d1b7724bd3a65228b0b208c" name="const_value_traits_ptr"><type><classname>pointer_traits</classname>&lt; typenameValueTraits::pointer &gt;::template rebind_pointer&lt; constValueTraits &gt;::type</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.structboost_1_1intrusive_1_1downcast__node__to__value__t_1ac9cbf99d24549589c07ca52b83f97f05"><parameter name="ptr"><paramtype>const_value_traits_ptr</paramtype></parameter></constructor>
<method id="doxygen.structboost_1_1intrusive_1_1downcast__node__to__value__t_1ad02e10e008f4a8fb13bfd201e3ad31bc" name="operator()" cv="const"><type>result_type</type><parameter name="arg"><paramtype>first_argument_type</paramtype></parameter></method>
</method-group>
</struct><class id="doxygen.classboost_1_1intrusive_1_1exception__bucket__disposer" name="exception_bucket_disposer"><template>
      <template-type-parameter name="Bucket"/>
      <template-type-parameter name="Algo"/>
      <template-type-parameter name="Disposer"/>
      <template-type-parameter name="SizeType"/>
    </template><method-group name="private member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1exception__bucket__disposer_1abf80d78606d5f7d9f5335d9d41ea93bc"><parameter name=""><paramtype>const exception_bucket_disposer &amp;</paramtype></parameter></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1exception__bucket__disposer_1aae5f60966b97d26c60e570530399fe51"><type>exception_bucket_disposer &amp;</type><parameter name=""><paramtype>const exception_bucket_disposer &amp;</paramtype></parameter></copy-assignment>
</method-group>
<method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1exception__bucket__disposer_1a1dd7a4482ca614c4089d8b827137c210"><parameter name="cont"><paramtype>Bucket &amp;</paramtype></parameter><parameter name="disp"><paramtype>Disposer &amp;</paramtype></parameter><parameter name="constructed"><paramtype>const SizeType &amp;</paramtype></parameter></constructor>
<method id="doxygen.classboost_1_1intrusive_1_1exception__bucket__disposer_1a5fa8306a25294b1281e7a3d1005167d4" name="release"><type>void</type></method>
<destructor id="doxygen.classboost_1_1intrusive_1_1exception__bucket__disposer_1ab5533278123f091619a1e0f0975d87da"/>
</method-group>
</class><struct id="doxygen.structboost_1_1intrusive_1_1get__equal__to" name="get_equal_to"><template>
      <template-type-parameter name="EqualTo"/>
      <template-type-parameter name=""/>
    </template><typedef id="doxygen.structboost_1_1intrusive_1_1get__equal__to_1ae8bfce7097ec185eb05602c5e6f66ab9" name="type"><type>EqualTo</type></typedef>
</struct><struct-specialization id="doxygen.structboost_1_1intrusive_1_1get__equal__to_3_01void_00_01T_01_4" name="get_equal_to"><template>
      <template-type-parameter name="T"/>
    </template><specialization><template-arg>void</template-arg><template-arg>T</template-arg></specialization><typedef id="doxygen.structboost_1_1intrusive_1_1get__equal__to_3_01void_00_01T_01_4_1a6b7aa6675267bfeb01e1d7657e7b384d" name="type"><type>value_equal&lt; T &gt;</type></typedef>
</struct-specialization><struct id="doxygen.structboost_1_1intrusive_1_1get__hash" name="get_hash"><template>
      <template-type-parameter name="Hash"/>
      <template-type-parameter name=""/>
    </template><typedef id="doxygen.structboost_1_1intrusive_1_1get__hash_1a4cbf487ba9e66e95f34c81e5f239e5d0" name="type"><type>Hash</type></typedef>
</struct><struct-specialization id="doxygen.structboost_1_1intrusive_1_1get__hash_3_01void_00_01T_01_4" name="get_hash"><template>
      <template-type-parameter name="T"/>
    </template><specialization><template-arg>void</template-arg><template-arg>T</template-arg></specialization><typedef id="doxygen.structboost_1_1intrusive_1_1get__hash_3_01void_00_01T_01_4_1a84c076f086c2bc8523a297d67dfd8355" name="type"><type><emphasis>unspecified</emphasis></type></typedef>
</struct-specialization><struct id="doxygen.structboost_1_1intrusive_1_1get__hash__key__of__value" name="get_hash_key_of_value"><template>
      <template-type-parameter name="KeyOfValue"/>
      <template-type-parameter name="T"/>
    </template><typedef id="doxygen.structboost_1_1intrusive_1_1get__hash__key__of__value_1acc34a2e0c7c6c35db91b2c06d5901386" name="type"><type>KeyOfValue</type></typedef>
</struct><struct-specialization id="doxygen.structboost_1_1intrusive_1_1get__hash__key__of__value_3_01void_00_01T_01_4" name="get_hash_key_of_value"><template>
      <template-type-parameter name="T"/>
    </template><specialization><template-arg>void</template-arg><template-arg>T</template-arg></specialization><typedef id="doxygen.structboost_1_1intrusive_1_1get__hash__key__of__value_3_01void_00_01T_01_4_1a47a815cab6e72fe40db36a3f99e713ce" name="type"><type><emphasis>unspecified</emphasis></type></typedef>
</struct-specialization><struct id="doxygen.structboost_1_1intrusive_1_1get__hashtable__size__wrapper__bucket" name="get_hashtable_size_wrapper_bucket"><template>
      <template-type-parameter name="ValueTraits"/>
      <template-type-parameter name="VoidOrKeyOfValue"/>
      <template-type-parameter name="VoidOrKeyHash"/>
      <template-type-parameter name="VoidOrKeyEqual"/>
      <template-type-parameter name="BucketTraits"/>
      <template-type-parameter name="SizeType"/>
      <template-nontype-parameter name="BoolFlags"><type>std::size_t</type></template-nontype-parameter>
    </template><typedef id="doxygen.structboost_1_1intrusive_1_1get__hashtable__size__wrapper__bucket_1ab526d909ae4b756dfdaacc7eb574f2cd" name="type"><type>hashtable_size_wrapper&lt; bucket_hash_equal_t&lt; ValueTraits, VoidOrKeyOfValue, VoidOrKeyHash, VoidOrKeyEqual, BucketTraits, 0 !=(BoolFlags &amp;hash_bool_flags::linear_buckets_pos), 0 !=(BoolFlags &amp;hash_bool_flags::cache_begin_pos) &gt;, SizeType,(BoolFlags &amp;hash_bool_flags::incremental_pos) !=0||(BoolFlags &amp;hash_bool_flags::fastmod_buckets_pos) !=0 &gt;</type></typedef>
</struct><struct id="doxygen.structboost_1_1intrusive_1_1get__hashtable__size__wrapper__internal" name="get_hashtable_size_wrapper_internal"><template>
      <template-type-parameter name="ValueTraits"/>
      <template-type-parameter name="VoidOrKeyOfValue"/>
      <template-type-parameter name="VoidOrKeyHash"/>
      <template-type-parameter name="VoidOrKeyEqual"/>
      <template-type-parameter name="BucketTraits"/>
      <template-type-parameter name="SizeType"/>
      <template-nontype-parameter name="BoolFlags"><type>std::size_t</type></template-nontype-parameter>
    </template><typedef id="doxygen.structboost_1_1intrusive_1_1get__hashtable__size__wrapper__internal_1a6b79456a6d94468b3633a7281b8845cc" name="type"><type>hashtable_size_wrapper&lt; hashdata_internal&lt; ValueTraits, VoidOrKeyOfValue, VoidOrKeyHash, VoidOrKeyEqual, BucketTraits, SizeType, BoolFlags &amp;~(hash_bool_flags::constant_time_size_pos) &gt;, SizeType,(BoolFlags &amp;hash_bool_flags::constant_time_size_pos) !=0 &gt;</type></typedef>
</struct><struct id="doxygen.structboost_1_1intrusive_1_1group__functions" name="group_functions"><template>
      <template-type-parameter name="NodeTraits"/>
    </template><typedef id="doxygen.structboost_1_1intrusive_1_1group__functions_1ad402fc0f2170c17f79cc4e6834500d86" name="node_traits"><type>NodeTraits</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1group__functions_1a2872d71aa04985c8b4a1aa757b99388c" name="group_traits"><type>unordered_group_adapter&lt; node_traits &gt;</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1group__functions_1adbfddf2aa1a957367cecb066dfabe067" name="node_ptr"><type>node_traits::node_ptr</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1group__functions_1a77f3c2d36242aa0d6206f51f6f7ffd68" name="node"><type>node_traits::node</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1group__functions_1a1b34158c035fd89d731080cac21cbb16" name="reduced_node_traits"><type>reduced_slist_node_traits&lt; node_traits &gt;::type</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1group__functions_1a49e0a5218b6710a3373c5d39e7c444b5" name="slist_node_ptr"><type>reduced_node_traits::node_ptr</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1group__functions_1af737b2d4b8557677587eeed45bed7cbe" name="slist_node"><type>reduced_node_traits::node</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1group__functions_1a69c4c8d9b877f8b6461bbeccdd9ae100" name="group_algorithms"><type><classname>circular_slist_algorithms</classname>&lt; group_traits &gt;</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1group__functions_1af84c60a57f57758df361597a6c9c07f7" name="node_algorithms"><type><classname>circular_slist_algorithms</classname>&lt; node_traits &gt;</type></typedef>
<method-group name="public static functions">
<method id="doxygen.structboost_1_1intrusive_1_1group__functions_1ab6345dfd7f1594b90b837bbb4ba87fb8" name="get_bucket_before_begin" specifiers="static"><type>slist_node_ptr</type><parameter name="bucket_beg"><paramtype>slist_node_ptr</paramtype></parameter><parameter name="bucket_last"><paramtype>slist_node_ptr</paramtype></parameter><parameter name="sp"><paramtype>slist_node_ptr</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1group__functions_1ab26d0a71441834b7fd65ba2ded2e350c" name="get_bucket_before_begin" specifiers="static"><type>slist_node_ptr</type><parameter name="bucket_beg"><paramtype>slist_node_ptr</paramtype></parameter><parameter name="bucket_last"><paramtype>slist_node_ptr</paramtype></parameter><parameter name="sp"><paramtype>slist_node_ptr</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1group__functions_1a58db06edf058415af5a84ba25c267f9b" name="get_prev_to_first_in_group" specifiers="static"><type>node_ptr</type><parameter name="bucket_node"><paramtype>slist_node_ptr</paramtype></parameter><parameter name="first_in_group"><paramtype>node_ptr</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1group__functions_1a6510dc5860c6d8fa2f27862bfb798871" name="erase_from_group" specifiers="static"><type>void</type><parameter name="end_ptr"><paramtype>slist_node_ptr</paramtype></parameter><parameter name="to_erase_ptr"><paramtype>node_ptr</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1group__functions_1aa8f49ffce0e98ee2763dee2725c8e30c" name="erase_from_group" specifiers="static"><type>void</type><parameter name=""><paramtype>slist_node_ptr</paramtype></parameter><parameter name=""><paramtype>node_ptr</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1group__functions_1a97035c6e8171c923b99e991b317c2f79" name="get_last_in_group" specifiers="static"><type>node_ptr</type><parameter name="first_in_group"><paramtype>node_ptr</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1group__functions_1ae5f228b0923229d2c2ca2baf8aa1f421" name="get_last_in_group" specifiers="static"><type>node_ptr</type><parameter name="n"><paramtype>node_ptr</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1group__functions_1a046952d21d1dd9de30260782e2254391" name="get_first_in_group" specifiers="static"><type>node_ptr</type><parameter name="n"><paramtype>node_ptr</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1group__functions_1af6ef8f075da89e9dea0c20e0a1985867" name="get_first_in_group" specifiers="static"><type>node_ptr</type><parameter name="n"><paramtype>node_ptr</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1group__functions_1a21761d6d4694245d238e44a78aa670f6" name="is_first_in_group" specifiers="static"><type>bool</type><parameter name="ptr"><paramtype>node_ptr</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1group__functions_1a656b39e748dca5b7a1173b10db1e5873" name="insert_in_group" specifiers="static"><type>void</type><parameter name="first_in_group"><paramtype>node_ptr</paramtype></parameter><parameter name="n"><paramtype>node_ptr</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1group__functions_1a084f251841168eaec573f10897476619" name="insert_in_group" specifiers="static"><type>void</type><parameter name=""><paramtype>node_ptr</paramtype></parameter><parameter name=""><paramtype>node_ptr</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1group__functions_1a3d159005678b6ff5d6c58e4bcf458286" name="split_group" specifiers="static"><type>node_ptr</type><parameter name="new_first"><paramtype>node_ptr const</paramtype></parameter></method>
</method-group>
</struct><struct id="doxygen.structboost_1_1intrusive_1_1hash__bool__flags" name="hash_bool_flags"><data-member id="doxygen.structboost_1_1intrusive_1_1hash__bool__flags_1ab20bed51e28109b27c188e35ad5cb566" name="unique_keys_pos" specifiers="static"><type>const std::size_t</type></data-member>
<data-member id="doxygen.structboost_1_1intrusive_1_1hash__bool__flags_1a943cb618d3ad84af8dcf7f9c4995257b" name="constant_time_size_pos" specifiers="static"><type>const std::size_t</type></data-member>
<data-member id="doxygen.structboost_1_1intrusive_1_1hash__bool__flags_1a286dd119c1f18d1eb12d1235b887b543" name="power_2_buckets_pos" specifiers="static"><type>const std::size_t</type></data-member>
<data-member id="doxygen.structboost_1_1intrusive_1_1hash__bool__flags_1a4d60d926af68bd7e199789b23d3762da" name="cache_begin_pos" specifiers="static"><type>const std::size_t</type></data-member>
<data-member id="doxygen.structboost_1_1intrusive_1_1hash__bool__flags_1af171054eb132c7e14b265f95a3f95773" name="compare_hash_pos" specifiers="static"><type>const std::size_t</type></data-member>
<data-member id="doxygen.structboost_1_1intrusive_1_1hash__bool__flags_1aaad2ce95f53d6c721820d1ab74437f84" name="incremental_pos" specifiers="static"><type>const std::size_t</type></data-member>
<data-member id="doxygen.structboost_1_1intrusive_1_1hash__bool__flags_1ae9c275576795126f2e5bccb5b5cce498" name="linear_buckets_pos" specifiers="static"><type>const std::size_t</type></data-member>
<data-member id="doxygen.structboost_1_1intrusive_1_1hash__bool__flags_1aaa7f7a017c04fc4f712f3a0900221d8e" name="fastmod_buckets_pos" specifiers="static"><type>const std::size_t</type></data-member>
</struct><struct id="doxygen.structboost_1_1intrusive_1_1hash__key__equal" name="hash_key_equal"><template>
      <template-type-parameter name="T"/>
      <template-type-parameter name="VoidOrKeyOfValue"/>
      <template-type-parameter name="VoidOrKeyEqual"/>
    </template><inherit access="public">boost::intrusive::get_equal_to&lt; VoidOrKeyEqual, hash_key_types_base&lt; T, VoidOrKeyOfValue &gt;::key_type &gt;</inherit></struct><struct id="doxygen.structboost_1_1intrusive_1_1hash__key__hash" name="hash_key_hash"><template>
      <template-type-parameter name="T"/>
      <template-type-parameter name="VoidOrKeyOfValue"/>
      <template-type-parameter name="VoidOrKeyHash"/>
    </template><inherit access="public">boost::intrusive::get_hash&lt; VoidOrKeyHash, hash_key_types_base&lt; T, VoidOrKeyOfValue &gt;::key_type &gt;</inherit></struct><struct id="doxygen.structboost_1_1intrusive_1_1hash__key__types__base" name="hash_key_types_base"><template>
      <template-type-parameter name="T"/>
      <template-type-parameter name="VoidOrKeyOfValue"/>
    </template><typedef id="doxygen.structboost_1_1intrusive_1_1hash__key__types__base_1a5aab2be1f2b8e028acd08921b5f6a6a0" name="key_of_value"><type>get_hash_key_of_value&lt; VoidOrKeyOfValue, T &gt;::type</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hash__key__types__base_1a5f51aa501423011d416eb2a69c67116d" name="key_type"><type>key_of_value::type</type></typedef>
</struct><struct id="doxygen.structboost_1_1intrusive_1_1hashdata__internal" name="hashdata_internal"><template>
      <template-type-parameter name="ValueTraits"/>
      <template-type-parameter name="VoidOrKeyOfValue"/>
      <template-type-parameter name="VoidOrKeyHash"/>
      <template-type-parameter name="VoidOrKeyEqual"/>
      <template-type-parameter name="BucketTraits"/>
      <template-type-parameter name="SizeType"/>
      <template-nontype-parameter name="BoolFlags"><type>std::size_t</type></template-nontype-parameter>
    </template><inherit access="public">boost::intrusive::hashtable_size_wrapper&lt; DeriveFrom, SizeType, bool &gt;</inherit><typedef id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a281ddd5a8a03357212584dc423868a84" name="split_bucket_hash_equal_t"><type>get_hashtable_size_wrapper_bucket&lt; ValueTraits, VoidOrKeyOfValue, VoidOrKeyHash, VoidOrKeyEqual, BucketTraits, SizeType, BoolFlags &gt;::type</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1aa4abe3da1ff1cbebb43e7ae6d431b67d" name="key_equal"><type>split_bucket_hash_equal_t::key_equal</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a7d141828fa8d19e1afff1258e28b5bb0" name="hasher"><type>split_bucket_hash_equal_t::hasher</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a8d719c741a3624d0db4cd2387c0cd17d" name="bucket_plus_vtraits_t"><type>bucket_plus_vtraits&lt; ValueTraits, BucketTraits, <classname>linear_buckets</classname> &gt;</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1ab50b9b690b6a47154be42cf5f50cc61a" name="size_type"><type>SizeType</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1ac623febab69562378030d7c401fa1905" name="split_traits"><type>split_bucket_hash_equal_t::size_traits</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a1c897f0fd0ed9f21d9cf725ad0de6058" name="bucket_ptr"><type>bucket_plus_vtraits_t::bucket_ptr</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a05e157d054550782ab4c399ed7983312" name="const_value_traits_ptr"><type>bucket_plus_vtraits_t::const_value_traits_ptr</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a552dc54cfbd4962ec08ca4cf90b8130d" name="siterator"><type>bucket_plus_vtraits_t::siterator</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1afca3b2c161d4b89c3eeca0353947a56d" name="bucket_traits"><type>bucket_plus_vtraits_t::bucket_traits</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a1e83798027f0870e31bf64f5c08e2857" name="value_traits"><type>bucket_plus_vtraits_t::value_traits</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a80a8e85681f51b531bbc1de7ec25585d" name="bucket_type"><type>bucket_plus_vtraits_t::bucket_type</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a8031858ad125c6392bc9d0b0979e3309" name="value_type"><type>value_traits::value_type</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1af0f1cf22ddb486cf54af4650a725e54f" name="pointer"><type>value_traits::pointer</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1aed38a1a0b333731c0e3ebe190a78835a" name="const_pointer"><type>value_traits::const_pointer</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a3d447686891b53a499dcbbf5ef12a601" name="reference"><type><classname>pointer_traits</classname>&lt; pointer &gt;::reference</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1ab48dc8b0e61ce935f8fa3ab4cf1ea5ba" name="const_reference"><type><classname>pointer_traits</classname>&lt; const_pointer &gt;::reference</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1ada9d34ccb1762debd2ee8ab2d1c60c51" name="node_traits"><type>value_traits::node_traits</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a85526fa8e0d643c17983fa761174aba3" name="node"><type>node_traits::node</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a37fc18a68cfef5dad9a76e394542544f" name="node_ptr"><type>node_traits::node_ptr</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1ad844d7f427502f0a03f7957543170aa6" name="const_node_ptr"><type>node_traits::const_node_ptr</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a302a80e7fc463c813bbdf451b81c5032" name="slist_node_algorithms"><type>bucket_plus_vtraits_t::slist_node_algorithms</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a35e1d04aad3035e394127166b032be6d" name="slist_node_ptr"><type>bucket_plus_vtraits_t::slist_node_ptr</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a8c2ba1ac99ee2b2e84ca18258bb0461b" name="hash_types_base"><type>hash_key_types_base&lt; typename ValueTraits::value_type, VoidOrKeyOfValue &gt;</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a4d33e783b41a9a04de2b5918a4a08d50" name="key_of_value"><type>hash_types_base::key_of_value</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a819f59543673c53cb9ae142572f553bf" name="store_hash_t"><type><emphasis>unspecified</emphasis></type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a5d4f2a04200d1d40c9f53a0a2ac5210c" name="local_iterator"><type><emphasis>unspecified</emphasis></type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a167b15b7112eda1de14bab991819f560" name="const_local_iterator"><type><emphasis>unspecified</emphasis></type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1ac4542cafee4492266cf852c9b5cc497b" name="linear_buckets_t"><type><emphasis>unspecified</emphasis></type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a16b13951f2f4b1fa09bf6f99f2ad54f2" name="iterator"><type>bucket_plus_vtraits_t::iterator</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a9addc87a94701f37e665770fdf00949f" name="const_iterator"><type>bucket_plus_vtraits_t::const_iterator</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a4aa7a403361be87e139d3814c7010a4e" name="fastmod_buckets_t"><type><emphasis>unspecified</emphasis></type></typedef>
<data-member id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1aae59fa340567733fa568921b33cbdbdd" name="linear_buckets" specifiers="static"><type>const bool</type></data-member>
<data-member id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a4994e52eb4543f681942fe399e14e1fe" name="store_hash" specifiers="static"><type>const bool</type></data-member>
<data-member id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a7082652da391a2b3d0935084be657145" name="safemode_or_autounlink" specifiers="static"><type>const bool</type></data-member>
<data-member id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a59e433e8dbffa7a9f5da4f32a153cd53" name="stateful_value_traits" specifiers="static"><type>const bool</type></data-member>
<data-member id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1adc692224edd629e5ab2196bbd50bbd8d" name="incremental" specifiers="static"><type>const bool</type></data-member>
<data-member id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a44f0795c42c25efc16c84f1610d996ef" name="power_2_buckets" specifiers="static"><type>const bool</type></data-member>
<data-member id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a6b0ba55ed65b279ba3c69abc81b021ae" name="fastmod_buckets" specifiers="static"><type>const bool</type></data-member>
<method-group name="public member functions">
<constructor id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a22780cfb480369ce1e0f061e7d3dfaed"><parameter name="val_traits"><paramtype>const ValueTraits &amp;</paramtype></parameter><parameter name="b_traits"><paramtype>const bucket_traits &amp;</paramtype></parameter><parameter name="h"><paramtype>const hasher &amp;</paramtype></parameter><parameter name="e"><paramtype>const key_equal &amp;</paramtype></parameter></constructor>
<constructor id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a51c461ff5916aab8e2306e88b8246a9e"><parameter name="other"><paramtype>hashdata_internal &amp;&amp;</paramtype></parameter></constructor>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1ab3f0c5f94999a98c1798a240edb0a649" name="priv_split_traits"><type>split_bucket_hash_equal_t::size_traits_t</type></method>
<destructor id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1af29db4c5489e2e6bfa7793e3024ac711"/>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1ae37898384aa5e354bdfb90a6afd1698f" name="priv_clear_buckets"><type>void</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a8fbbdf442751d77006ebfe3d4ce44d9a" name="priv_clear_buckets_and_cache"><type>void</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a370cc12cbe909b2cef870aea018c84d2" name="priv_init_buckets_and_cache"><type>void</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a50678cca8967e31189999a41d3be601b" name="split_count" cv="const noexcept"><type>SizeType</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a975aba8fec273ca9d91de9935fa20e82" name="split_count" cv="noexcept"><type>void</type><parameter name="s"><paramtype>SizeType</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a88e9802098c4ff19bc0c35889e0506a2" name="inc_split_count" cv="noexcept"><type>void</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a027d757e3af09ca790ff0b8214405fac" name="dec_split_count" cv="noexcept"><type>void</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a5bb8aaa95c2aa5331ce4d4b2ab208f48" name="iterator_to" cv="noexcept(!linear_buckets)"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a4edcb5f00b047c06c5df6f7a60e47f42" name="iterator_to" cv="const noexcept(!linear_buckets)"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a913a4bac7b8e51827ba9192e2dd14df0" name="iterator_to"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a3eb1fb5b49c3be593bbf809d8289ca39" name="iterator_to" cv="const"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1ab6384f549811e51be43d0cf5ba3bbf18" name="priv_hash_to_bucket" cv="const"><type>bucket_type &amp;</type><parameter name="hash_value"><paramtype>std::size_t</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a7ac89cd16d160cc72c81a00261ae2592" name="priv_hash_to_bucket_ptr" cv="const"><type>bucket_ptr</type><parameter name="hash_value"><paramtype>std::size_t</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a4af94532caef8340631b9e4d43277b9a" name="priv_hash_to_nbucket" cv="const"><type>size_type</type><parameter name="hash_value"><paramtype>std::size_t</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1aa1e8c7b7a622f9c446b0d9bc3c7b8b58" name="priv_hash_to_nbucket" cv="const"><type>size_type</type><parameter name="hash_value"><paramtype>std::size_t</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a4088a993d4cf559278b7b392903ae9cf" name="priv_hash_to_nbucket" cv="const"><type>size_type</type><parameter name="hash_value"><paramtype>std::size_t</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter><purpose>fastmod_buckets_t </purpose></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1ae46a69daff31524e241281b9f438db2d" name="iterator_to" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1af09e156d32cb9906fd2d761f6f7618d3" name="iterator_to" cv="const noexcept"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a5a96b6268b7c8e3b4fb8962ecaa03587" name="local_iterator_to" cv="noexcept"><type>local_iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1ad1b84aa95873b62abccee14259dbdbe0" name="local_iterator_to" cv="const noexcept"><type>const_local_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a21e90625e0fcf87910f483816078c4a7" name="bucket_count" cv="const noexcept"><type>size_type</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1aabbc3900c5bb79112e58a6724c63ae47" name="bucket_size" cv="const noexcept"><type>size_type</type><parameter name="n"><paramtype>size_type</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1affcaee8df63146e7778f65f023d32866" name="bucket_pointer" cv="const noexcept"><type>bucket_ptr</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a9e545751855b8e4f718f3663f7f61ded" name="begin" cv="noexcept"><type>local_iterator</type><parameter name="n"><paramtype>size_type</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1ac960d73aa5f09e1ce17959971f127a57" name="begin" cv="const noexcept"><type>const_local_iterator</type><parameter name="n"><paramtype>size_type</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a0d3b09d401c94fc88d3887046b1b603c" name="cbegin" cv="const noexcept"><type>const_local_iterator</type><parameter name="n"><paramtype>size_type</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a9a4e29b29c5e51ecc257bfc82ba64a8b" name="end" cv="noexcept"><type>local_iterator</type><parameter name="n"><paramtype>size_type</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a0b4d1d5c718cc2353b37591a62ceff1f" name="end" cv="const noexcept"><type>const_local_iterator</type><parameter name="n"><paramtype>size_type</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a568743c56e6190be474f4e39f9ddea51" name="cend" cv="const noexcept"><type>const_local_iterator</type><parameter name="n"><paramtype>size_type</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1aafe54e94cddedd01a169eef29c2d1765" name="begin" cv="noexcept"><type>iterator</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a912093ab8fa5d6ce966362ad7e71daa5" name="begin" cv="const noexcept"><type>const_iterator</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a80c80c0a7c986f78a7bd1937eeecba51" name="cbegin" cv="const noexcept"><type>const_iterator</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a37e1f8c02d94ab7c6550bf4298a9605e" name="hash_function" cv="const"><type>hasher</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a986158e320fcbe8a4834d3cdabea07bb" name="key_eq" cv="const"><type>key_equal</type></method>
</method-group>
<method-group name="public static functions">
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a40cd465997697da39035421a1635a67b" name="initial_split_from_bucket_count" cv="noexcept" specifiers="static"><type>SizeType</type><parameter name="bc"><paramtype>SizeType</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a68c918850fc24164b7995d7d5ebd29d8" name="rehash_split_from_bucket_count" cv="noexcept" specifiers="static"><type>SizeType</type><parameter name="bc"><paramtype>SizeType</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1af7d2b5c8c8a230bca4b9b1a766f40cb3" name="s_local_iterator_to" cv="noexcept" specifiers="static"><type>local_iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a1a69cfd6fa4121ce1e7e383d4cea23ac" name="s_local_iterator_to" cv="noexcept" specifiers="static"><type>const_local_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1a5a0df2c177add8f995c5f73bad8ade60" name="suggested_upper_bucket_count" cv="noexcept" specifiers="static"><type>size_type</type><parameter name="n"><paramtype>size_type</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashdata__internal_1ae3a757e16e7c1904f1bdcaed34222461" name="suggested_lower_bucket_count" cv="noexcept" specifiers="static"><type>size_type</type><parameter name="n"><paramtype>size_type</paramtype></parameter></method>
</method-group>
</struct><class id="doxygen.classboost_1_1intrusive_1_1hashtable" name="hashtable"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><inherit access="private">boost::intrusive::hashtable_size_wrapper&lt; DeriveFrom, SizeType, bool &gt;</inherit><description><para>The class template hashtable is an intrusive hash table container, that is used to construct intrusive <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link> and <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__multiset">unordered_multiset</link> containers. The no-throw guarantee holds only, if the VoidOrKeyEqual object and Hasher don't throw.</para><para>hashtable is a semi-intrusive container: each object to be stored in the container must contain a proper hook, but the container also needs additional auxiliary memory to work: hashtable needs a pointer to an array of type <computeroutput>bucket_type</computeroutput> to be passed in the constructor. This bucket array must have at least the same lifetime as the container. This makes the use of hashtable more complicated than purely intrusive containers. <computeroutput>bucket_type</computeroutput> is default-constructible, copyable and assignable</para><para>The template parameter <computeroutput>T</computeroutput> is the type to be managed by the container. The user can specify additional options and if no options are provided default options are used.</para><para>The container supports the following options: <computeroutput>base_hook&lt;&gt;/member_hook&lt;&gt;/value_traits&lt;&gt;</computeroutput>, <computeroutput>constant_time_size&lt;&gt;</computeroutput>, <computeroutput>size_type&lt;&gt;</computeroutput>, <computeroutput>hash&lt;&gt;</computeroutput> and <computeroutput>equal&lt;&gt;</computeroutput> <computeroutput>bucket_traits&lt;&gt;</computeroutput>, power_2_buckets&lt;&gt;, cache_begin&lt;&gt; and incremental&lt;&gt;.</para><para>hashtable only provides forward iterators but it provides 4 iterator types: iterator and const_iterator to navigate through the whole container and local_iterator and const_local_iterator to navigate through the values stored in a single bucket. Local iterators are faster and smaller.</para><para>It's not recommended to use non constant-time size hashtables because several key functions, like "empty()", become non-constant time functions. Non constant_time size hashtables are mainly provided to support auto-unlink hooks.</para><para>hashtables, does not make automatic rehashings nor offers functions related to a load factor. Rehashing can be explicitly requested and the user must provide a new bucket array that will be used from that moment.</para><para>Since no automatic rehashing is done, iterators are never invalidated when inserting or erasing elements. Iterators are only invalidated when rehashing. </para></description><typedef id="doxygen.classboost_1_1intrusive_1_1hashtable_1af06727f270690125eb189cd4d803f048" name="value_traits"><type>ValueTraits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1hashtable_1aa8f01146b842a31f7ccf96ebc880a76a" name="pointer"><type>value_traits::pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1hashtable_1a661c71533446ff0d9bd42b5b6d1ff9a9" name="const_pointer"><type>value_traits::const_pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1hashtable_1a857863426303f15c40ddba0523aa686f" name="value_type"><type>value_traits::value_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1hashtable_1a55f5b2465287518811828214dd264db2" name="key_type"><type>hash_types_base::key_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1hashtable_1a0fe01d4e15730dc133e3ebac7c9a74f6" name="key_of_value"><type>hash_types_base::key_of_value</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1hashtable_1ae05302fb3d655f5c52ebebfe17912fbe" name="reference"><type><classname>pointer_traits</classname>&lt; pointer &gt;::reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1hashtable_1a369934f3cef8911fdbe3cfe9ece53a9d" name="const_reference"><type><classname>pointer_traits</classname>&lt; const_pointer &gt;::reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1hashtable_1ab00c6a9d11e7210bd56d2aed46d70a48" name="difference_type"><type><classname>pointer_traits</classname>&lt; pointer &gt;::difference_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1hashtable_1af3cf5ef94d09b5ce0d1a67f693a3f9d6" name="size_type"><type>SizeType</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1hashtable_1aab9b39445d1061523221ebefb7928a1d" name="key_equal"><type>internal_type::key_equal</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1hashtable_1a5a05994981ee14c45256fa28a96565dc" name="hasher"><type>internal_type::hasher</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1hashtable_1adbbdbec19d7eb069d750a6eadf3e2e6b" name="bucket_type"><type>internal_type::bucket_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1hashtable_1add11dca2e2d973fc4b30bd3d6c5d022a" name="bucket_ptr"><type>internal_type::bucket_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1hashtable_1a4cf821821438cf9514dc576c7be71ea2" name="iterator"><type>internal_type::iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1hashtable_1a07dea4af4e64bcaa3a5412eabb18ea99" name="const_iterator"><type>internal_type::const_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1hashtable_1a1888bea06ec0b31ac926700d6b6f4bdc" name="local_iterator"><type>internal_type::local_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1hashtable_1a6a107553372b4601b262e8b098a6eb45" name="const_local_iterator"><type>internal_type::const_local_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1hashtable_1a111fe76fef064cf8a53180c8c1a725c0" name="node_traits"><type>value_traits::node_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1hashtable_1afaa12b15b2275c207352a779e8b14754" name="node"><type>node_traits::node</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1hashtable_1aad0330de7785e0c64f2d9df0832083c3" name="node_ptr"><type><classname>pointer_traits</classname>&lt; pointer &gt;::template rebind_pointer&lt; node &gt;::type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1hashtable_1ad2937ed8d8415b3d261e2a44333dcec4" name="const_node_ptr"><type><classname>pointer_traits</classname>&lt; pointer &gt;::template rebind_pointer&lt; constnode &gt;::type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1hashtable_1ab91f19fc84ff88eb6f8d77f2baa2a7e5" name="node_reference"><type><classname>pointer_traits</classname>&lt; node_ptr &gt;::reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1hashtable_1aaa8260eda1a7c755e3e1483faf27d3d1" name="const_node_reference"><type><classname>pointer_traits</classname>&lt; const_node_ptr &gt;::reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1hashtable_1a507948dae6718330cd4476e6f97aa557" name="slist_node_algorithms"><type>internal_type::slist_node_algorithms</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1hashtable_1ad74c6aa93179df0ac5eb2e0aadf7748b" name="insert_commit_data"><type>insert_commit_data_impl</type></typedef>
<data-member id="doxygen.classboost_1_1intrusive_1_1hashtable_1a1af8694f3568de96ccd760c5be4c83a1" name="stateful_value_traits" specifiers="static"><type>const bool</type></data-member>
<data-member id="doxygen.classboost_1_1intrusive_1_1hashtable_1a895d687b916a9aaa9953553a47ab23cc" name="store_hash" specifiers="static"><type>const bool</type></data-member>
<data-member id="doxygen.classboost_1_1intrusive_1_1hashtable_1a8e53f87e1b2b69b4cfea44378736c3e8" name="unique_keys" specifiers="static"><type>const bool</type></data-member>
<data-member id="doxygen.classboost_1_1intrusive_1_1hashtable_1a776cfee98676c1e9f7e4a94ee8be141c" name="constant_time_size" specifiers="static"><type>const bool</type></data-member>
<data-member id="doxygen.classboost_1_1intrusive_1_1hashtable_1a2b5a5da1f0e4b61ba63e15000205befc" name="cache_begin" specifiers="static"><type>const bool</type></data-member>
<data-member id="doxygen.classboost_1_1intrusive_1_1hashtable_1a59dea92cfed4093bbbc159e6b06ffd51" name="compare_hash" specifiers="static"><type>const bool</type></data-member>
<data-member id="doxygen.classboost_1_1intrusive_1_1hashtable_1aa255da3c23608b08991c2765c41a4728" name="incremental" specifiers="static"><type>const bool</type></data-member>
<data-member id="doxygen.classboost_1_1intrusive_1_1hashtable_1a7fc196369744263603ffa8db7b03cfce" name="power_2_buckets" specifiers="static"><type>const bool</type></data-member>
<data-member id="doxygen.classboost_1_1intrusive_1_1hashtable_1ae08604aed8ba3a6ed0822f884eee1a6a" name="optimize_multikey" specifiers="static"><type>const bool</type></data-member>
<data-member id="doxygen.classboost_1_1intrusive_1_1hashtable_1ae4171bbb2bbf464cd11550e39ae4a668" name="linear_buckets" specifiers="static"><type>const bool</type></data-member>
<data-member id="doxygen.classboost_1_1intrusive_1_1hashtable_1a13ba464c269e33702df5e32db94d9f21" name="fastmod_buckets" specifiers="static"><type>const bool</type></data-member>
<data-member id="doxygen.classboost_1_1intrusive_1_1hashtable_1a12ff95a96c37e45aef92639a8b5e2e9d" name="bucket_overhead" specifiers="static"><type>const std::size_t</type></data-member>
<method-group name="private member functions">
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a32d72826397ae010db81488cd7ccca9d" name="default_init_actions"><type>void</type></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a5f3873dbe52f56a9548c2893b35ed751" name="priv_size_count" cv="const noexcept"><type>SizeType</type></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1aa18f0599dc8754fa85fc77d8391cdb05" name="priv_size_count" cv="noexcept"><type>void</type><parameter name="s"><paramtype>SizeType</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a62b38bca45ee11ebf046d293bb890d29" name="priv_size_inc" cv="noexcept"><type>void</type></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a5cadd43d4fc4907da4c216558e5ef5fd" name="priv_size_dec" cv="noexcept"><type>void</type></method>
</method-group>
<method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1hashtable_1acf89a3947d2ce93a9299a8b5796868cd" specifiers="explicit"><parameter name="b_traits"><paramtype>const <classname>bucket_traits</classname> &amp;</paramtype></parameter><parameter name="hash_func"><paramtype>const hasher &amp;</paramtype><default>hasher()</default></parameter><parameter name="equal_func"><paramtype>const key_equal &amp;</paramtype><default>key_equal()</default></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter><description><para><emphasis role="bold">Requires</emphasis>: buckets must not be being used by any other resource.</para><para><emphasis role="bold">Effects</emphasis>: Constructs an empty <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>, storing a reference to the bucket array and copies of the key_hasher and equal_func functors.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the copy constructor or invocation of hash_func or equal_func throws.</para><para><emphasis role="bold">Notes</emphasis>: buckets array must be disposed only after *this is disposed. </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1hashtable_1ae58f5a33fe459ef5ca9ef119db51154b"><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="unique"><paramtype>bool</paramtype></parameter><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><parameter name="b_traits"><paramtype>const <classname>bucket_traits</classname> &amp;</paramtype></parameter><parameter name="hash_func"><paramtype>const hasher &amp;</paramtype><default>hasher()</default></parameter><parameter name="equal_func"><paramtype>const key_equal &amp;</paramtype><default>key_equal()</default></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter><description><para><emphasis role="bold">Requires</emphasis>: buckets must not be being used by any other resource and dereferencing iterator must yield an lvalue of type value_type.</para><para><emphasis role="bold">Effects</emphasis>: Constructs an empty container and inserts elements from [b, e).</para><para><emphasis role="bold">Complexity</emphasis>: If N is distance(b, e): Average case is O(N) (with a good hash function and with buckets_len &gt;= N),worst case O(N^2).</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the copy constructor or invocation of hasher or key_equal throws.</para><para><emphasis role="bold">Notes</emphasis>: buckets array must be disposed only after *this is disposed. </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1hashtable_1a36564b33a4d8cc8b83c225f71af4d462"><parameter name="x"><paramtype><classname>hashtable</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Constructs a container moving resources from another container. Internal value traits, bucket traits, hasher and comparison are move constructed and nodes belonging to x are linked to *this.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node's move constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the move constructor of value traits, bucket traits, hasher or comparison throws. </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1hashtable_1a8dc302104f5006e39d46375f04ff999c"><type><classname>hashtable</classname> &amp;</type><parameter name="x"><paramtype><classname>hashtable</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Equivalent to swap. </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1hashtable_1af02c8cda75866aa8f24b7512f72b4938"><description><para><emphasis role="bold">Effects</emphasis>: Detaches all elements from this. The objects in the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link> are not deleted (i.e. no destructors are called).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements in the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>, if it's a safe-mode or auto-unlink value. Otherwise constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1af4812c8e45f8fb1f021ae2640f07f8b6" name="begin" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the beginning of the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>.</para><para><emphasis role="bold">Complexity</emphasis>: Amortized constant time. Worst case (empty <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>): O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1a616249749d62a70976b8f9b1965d4acd">bucket_count()</link>)</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1ae1f3ce8cf3dc44f0fe91d79c4f360068" name="begin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>.</para><para><emphasis role="bold">Complexity</emphasis>: Amortized constant time. Worst case (empty <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>): O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1a616249749d62a70976b8f9b1965d4acd">bucket_count()</link>)</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1abc726cebf744bbf3f58535fd6660bc3c" name="cbegin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>.</para><para><emphasis role="bold">Complexity</emphasis>: Amortized constant time. Worst case (empty <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>): O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1a616249749d62a70976b8f9b1965d4acd">bucket_count()</link>)</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1ae208a726bf8b9630604afa9ca5ffc67b" name="end" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the end of the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a128ece72892bcc11a4be90046eefc57a" name="end" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a0da70ad1f248410272e14d8c4331ba9b" name="cend" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1afe225e99736ab33e51cc6fee729b9982" name="hash_function" cv="const"><type>hasher</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the hasher object used by the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If hasher copy-constructor throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a3494589a4ca434f3e0b87dfec8c3c4b2" name="key_eq" cv="const"><type>key_equal</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the key_equal object used by the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If key_equal copy-constructor throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1ab211495f77617ffb89e43e08109cf486" name="empty" cv="const noexcept"><type>bool</type><description><para><emphasis role="bold">Effects</emphasis>: Returns true if the container is empty.</para><para><emphasis role="bold">Complexity</emphasis>: if constant-time size and <link linkend="doxygen.structboost_1_1intrusive_1_1cache__begin">cache_begin</link> options are disabled, average constant time (worst case, with <link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1ab211495f77617ffb89e43e08109cf486">empty()</link> == true: O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1a616249749d62a70976b8f9b1965d4acd">bucket_count()</link>). Otherwise constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1acd932ad92fd2f2c5a6fecc5fc143a158" name="size" cv="const noexcept"><type>size_type</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the number of elements stored in the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this if <link linkend="doxygen.structboost_1_1intrusive_1_1constant__time__size">constant_time_size</link> is false. Constant-time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a13a65e35e1cbd0b504e9fd2e0a0ac139" name="swap"><type>void</type><parameter name="other"><paramtype><classname>hashtable</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: the hasher and the equality function unqualified swap call should not throw.</para><para><emphasis role="bold">Effects</emphasis>: Swaps the contents of two unordered_sets. Swaps also the contained bucket array and equality and hasher functors.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If the <link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1a13a65e35e1cbd0b504e9fd2e0a0ac139">swap()</link> call for the comparison or hash functors found using ADL throw. Basic guarantee. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1aa051822ba2be2d845536f6d0e002d954" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype>const <classname>hashtable</classname> &amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw Cloner should yield to nodes that compare equal and produce the same hash than the original node.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(const_reference ) and inserts them on *this. The hash function and the equality predicate are copied from the source.</para><para>If <link linkend="doxygen.structboost_1_1intrusive_1_1store__hash">store_hash</link> option is true, this method does not use the hash function.</para><para>If any operation throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner or hasher throw or hash or equality predicate copying throws. Basic guarantee. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a65d9837ebc1e3f56d673a26f2b8c3c8d" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype><classname>hashtable</classname> &amp;&amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw Cloner should yield to nodes that compare equal and produce the same hash than the original node.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(reference) and inserts them on *this. The hash function and the equality predicate are copied from the source.</para><para>If <link linkend="doxygen.structboost_1_1intrusive_1_1store__hash">store_hash</link> option is true, this method does not use the hash function.</para><para>If any operation throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner or hasher throw or hash or equality predicate copying throws. Basic guarantee. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a51a76c484242615af4453ada7ba239dd" name="insert_equal"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue</para><para><emphasis role="bold">Effects</emphasis>: Inserts the value into the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>.</para><para><emphasis role="bold">Returns</emphasis>: An iterator to the inserted value.</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(1), worst case O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1acd932ad92fd2f2c5a6fecc5fc143a158">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: If the internal hasher or the equality functor throws. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a468e0167a599a73fb583c226efb43add" name="insert_equal"><type>void</type><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type.</para><para><emphasis role="bold">Effects</emphasis>: Equivalent to this-&gt;insert_equal(t) for each element in [b, e).</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(N), where N is distance(b, e). Worst case O(N*this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1acd932ad92fd2f2c5a6fecc5fc143a158">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: If the internal hasher or the equality functor throws. Basic guarantee.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a5f2b123189b5dee1d1aa32c3592d3f69" name="insert_unique"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue</para><para><emphasis role="bold">Effects</emphasis>: Tries to inserts value into the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>.</para><para><emphasis role="bold">Returns</emphasis>: If the value is not already present inserts it and returns a pair containing the iterator to the new value and true. If there is an equivalent value returns a pair containing an iterator to the already present value and false.</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(1), worst case O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1acd932ad92fd2f2c5a6fecc5fc143a158">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: If the internal hasher or the equality functor throws. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a9ac5c6918b9cffc6f8aa9e879179aff0" name="insert_unique"><type>void</type><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type.</para><para><emphasis role="bold">Effects</emphasis>: Equivalent to this-&gt;insert_unique(t) for each element in [b, e).</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(N), where N is distance(b, e). Worst case O(N*this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1acd932ad92fd2f2c5a6fecc5fc143a158">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: If the internal hasher or the equality functor throws. Basic guarantee.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a0b2aa868e6bfd8ca3e8b06aafe0e5c40" name="insert_unique_check"><type>std::pair&lt; iterator, bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyHasher"/>
          <template-type-parameter name="KeyEqual"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="hash_func"><paramtype>KeyHasher</paramtype></parameter><parameter name="equal_func"><paramtype>KeyEqual</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "hash_func" must be a hash function that induces the same hash values as the stored hasher. The difference is that "hash_func" hashes the given key instead of the value_type.</para><para>"equal_func" must be a equality function that induces the same equality as key_equal. The difference is that "equal_func" compares an arbitrary key with the contained values.</para><para><emphasis role="bold">Effects</emphasis>: Checks if a value can be inserted in the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>, using a user provided key instead of the value itself.</para><para><emphasis role="bold">Returns</emphasis>: If there is an equivalent value returns a pair containing an iterator to the already present value and false. If the value can be inserted returns true in the returned pair boolean and fills "commit_data" that is meant to be used with the "insert_commit" function.</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(1), worst case O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1acd932ad92fd2f2c5a6fecc5fc143a158">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: If hash_func or equal_func throw. Strong guarantee.</para><para><emphasis role="bold">Notes</emphasis>: This function is used to improve performance when constructing a value_type is expensive: if there is an equivalent value the constructed object must be discarded. Many times, the part of the node that is used to impose the hash or the equality is much cheaper to construct than the value_type and this function offers the possibility to use that the part to check if the insertion will be successful.</para><para>If the check is successful, the user can construct the value_type and use "insert_commit" to insert the object in constant-time.</para><para>"commit_data" remains valid for a subsequent "insert_commit" only if no more objects are inserted or erased from the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>.</para><para>After a successful rehashing insert_commit_data remains valid. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1ae07661c29a681adf117ba3b55b01d7fb" name="insert_unique_check"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Checks if a value can be inserted in the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>, using a user provided key instead of the value itself.</para><para><emphasis role="bold">Returns</emphasis>: If there is an equivalent value returns a pair containing an iterator to the already present value and false. If the value can be inserted returns true in the returned pair boolean and fills "commit_data" that is meant to be used with the "insert_commit" function.</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(1), worst case O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1acd932ad92fd2f2c5a6fecc5fc143a158">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: If hasher or key_compare throw. Strong guarantee.</para><para><emphasis role="bold">Notes</emphasis>: This function is used to improve performance when constructing a value_type is expensive: if there is an equivalent value the constructed object must be discarded. Many times, the part of the node that is used to impose the hash or the equality is much cheaper to construct than the value_type and this function offers the possibility to use that the part to check if the insertion will be successful.</para><para>If the check is successful, the user can construct the value_type and use "insert_commit" to insert the object in constant-time.</para><para>"commit_data" remains valid for a subsequent "insert_commit" only if no more objects are inserted or erased from the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>.</para><para>After a successful rehashing insert_commit_data remains valid. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1acf7646095aa44457dda31ebe4168f093" name="insert_unique_commit" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter><parameter name="commit_data"><paramtype>const insert_commit_data &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue of type value_type. commit_data must have been obtained from a previous call to "insert_check". No objects should have been inserted or erased from the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link> between the "insert_check" that filled "commit_data" and the call to "insert_commit".</para><para><emphasis role="bold">Effects</emphasis>: Inserts the value in the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link> using the information obtained from the "commit_data" that a previous "insert_check" filled.</para><para><emphasis role="bold">Returns</emphasis>: An iterator to the newly inserted object.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function has only sense if a "insert_check" has been previously executed to fill "commit_data". No value should be inserted or erased between the "insert_check" and "insert_commit" calls.</para><para>After a successful rehashing insert_commit_data remains valid. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a5e9101493567903ea5c01d08297af34b" name="insert_unique_fast_commit" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter><parameter name="commit_data"><paramtype>const insert_commit_data &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue of type value_type. commit_data must have been obtained from a previous call to "insert_check". No objects should have been inserted or erased from the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link> between the "insert_check" that filled "commit_data" and the call to "insert_commit".</para><para>No rehashing shall be performed between <computeroutput>insert_check</computeroutput> and <computeroutput>insert_fast_commit</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Inserts the value in the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link> using the information obtained from the "commit_data" that a previous "insert_check" filled.</para><para><emphasis role="bold">Returns</emphasis>: An iterator to the newly inserted object.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function has only sense if a "insert_check" has been previously executed to fill "commit_data". No value should be inserted or erased between the "insert_check" and "insert_commit" calls.</para><para>Since this commit operation does not support rehashing between the check and the commit, it's faster than <computeroutput>insert_commit</computeroutput>. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a4f03cabd1782ded30ae2895ccac4b87a" name="erase" cv="noexcept"><type>void</type><parameter name="i"><paramtype>const_iterator</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases the element pointed to by i.</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(1), worst case O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1acd932ad92fd2f2c5a6fecc5fc143a158">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased element. No destructors are called. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a504637ed5b54647fa6c6c71255de4cff" name="erase" cv="noexcept"><type>void</type><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases the range pointed to by b end e.</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(distance(b, e)), worst case O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1acd932ad92fd2f2c5a6fecc5fc143a158">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a91123d39883ce0d3247141bdd2315055" name="erase"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given value.</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(this-&gt;count(value)). Worst case O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1acd932ad92fd2f2c5a6fecc5fc143a158">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: If the internal hasher or the equality functor throws. Basic guarantee.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1ad567bfc61a002f518bfadd03fb17d788" name="erase"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyHasher"/>
          <template-type-parameter name="KeyEqual"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="hash_func"><paramtype>KeyHasher</paramtype></parameter><parameter name="equal_func"><paramtype>KeyEqual</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "hash_func" must be a hash function that induces the same hash values as the stored hasher. The difference is that "hash_func" hashes the given key instead of the value_type.</para><para>"equal_func" must be a equality function that induces the same equality as key_equal. The difference is that "equal_func" compares an arbitrary key with the contained values.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements that have the same hash and compare equal with the given key.</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(this-&gt;count(value)). Worst case O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1acd932ad92fd2f2c5a6fecc5fc143a158">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: If hash_func or equal_func throw. Basic guarantee.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a64d3813ba3b8928d8f0bbaddf7514e40" name="erase_and_dispose" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="i"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases the element pointed to by i. Disposer::operator()(pointer) is called for the removed element.</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(1), worst case O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1acd932ad92fd2f2c5a6fecc5fc143a158">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased elements. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1ae5f975af707262d5df856e98791454e9" name="erase_and_dispose" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases the range pointed to by b end e. Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(distance(b, e)), worst case O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1acd932ad92fd2f2c5a6fecc5fc143a158">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased elements. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a12628dfbe1d0314e8997e452a2813909" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given value. Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(this-&gt;count(value)). Worst case O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1acd932ad92fd2f2c5a6fecc5fc143a158">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: If the internal hasher or the equality functor throws. Basic guarantee.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a27ae5c590e034a236158db355329f9bc" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyHasher"/>
          <template-type-parameter name="KeyEqual"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="hash_func"><paramtype>KeyHasher</paramtype></parameter><parameter name="equal_func"><paramtype>KeyEqual</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "equal_func". Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(this-&gt;count(value)). Worst case O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1acd932ad92fd2f2c5a6fecc5fc143a158">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: If hash_func or equal_func throw. Basic guarantee.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased elements. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a244d6e8f6f9040a6816c9bf2a0b13530" name="clear" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements on the container. if it's a safe-mode or auto-unlink value_type. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a282d85ca2059c527776b6e9f62a47085" name="clear_and_dispose" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements on the container. Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a43f3c3f8706c7f0f0c78018d25c9ef1c" name="count" cv="const"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Returns the number of contained elements with the given value</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(1), worst case O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1acd932ad92fd2f2c5a6fecc5fc143a158">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: If the internal hasher or the equality functor throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a396fea14278b69dd722fdf93621b1d5d" name="count" cv="const"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyHasher"/>
          <template-type-parameter name="KeyEqual"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="hash_func"><paramtype>KeyHasher</paramtype></parameter><parameter name="equal_func"><paramtype>KeyEqual</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "hash_func" must be a hash function that induces the same hash values as the stored hasher. The difference is that "hash_func" hashes the given key instead of the value_type.</para><para>"equal_func" must be a equality function that induces the same equality as key_equal. The difference is that "equal_func" compares an arbitrary key with the contained values.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of contained elements with the given key</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(1), worst case O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1acd932ad92fd2f2c5a6fecc5fc143a158">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: If hash_func or equal throw. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a03f47cdd5de1e8d7bd834660e0a79b2a" name="find"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element is equal to "value" or <link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1ae208a726bf8b9630604afa9ca5ffc67b">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(1), worst case O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1acd932ad92fd2f2c5a6fecc5fc143a158">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: If the internal hasher or the equality functor throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1af87cbd0cb22f939a2b37cf05546b5956" name="find"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyHasher"/>
          <template-type-parameter name="KeyEqual"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="hash_func"><paramtype>KeyHasher</paramtype></parameter><parameter name="equal_func"><paramtype>KeyEqual</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "hash_func" must be a hash function that induces the same hash values as the stored hasher. The difference is that "hash_func" hashes the given key instead of the value_type.</para><para>"equal_func" must be a equality function that induces the same equality as key_equal. The difference is that "equal_func" compares an arbitrary key with the contained values.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is "key" according to the given hash and equality functor or <link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1ae208a726bf8b9630604afa9ca5ffc67b">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(1), worst case O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1acd932ad92fd2f2c5a6fecc5fc143a158">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: If hash_func or equal_func throw.</para><para><emphasis role="bold">Note</emphasis>: This function is used when constructing a value_type is expensive and the value_type can be compared with a cheaper key type. Usually this key is part of the value_type. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a381103085025908357e00bc40f420a57" name="find" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Finds a const_iterator to the first element whose key is "key" or <link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1ae208a726bf8b9630604afa9ca5ffc67b">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(1), worst case O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1acd932ad92fd2f2c5a6fecc5fc143a158">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: If the internal hasher or the equality functor throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1abd9d73ff1e2fba737717f3489d8aea86" name="find" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyHasher"/>
          <template-type-parameter name="KeyEqual"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="hash_func"><paramtype>KeyHasher</paramtype></parameter><parameter name="equal_func"><paramtype>KeyEqual</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "hash_func" must be a hash function that induces the same hash values as the stored hasher. The difference is that "hash_func" hashes the given key instead of the value_type.</para><para>"equal_func" must be a equality function that induces the same equality as key_equal. The difference is that "equal_func" compares an arbitrary key with the contained values.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is "key" according to the given hasher and equality functor or <link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1ae208a726bf8b9630604afa9ca5ffc67b">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(1), worst case O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1acd932ad92fd2f2c5a6fecc5fc143a158">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: If hash_func or equal_func throw.</para><para><emphasis role="bold">Note</emphasis>: This function is used when constructing a value_type is expensive and the value_type can be compared with a cheaper key type. Usually this key is part of the value_type. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a1e7160a51373b3d56caad2c2bc5e3c20" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Returns a range containing all elements with values equivalent to value. Returns std::make_pair(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1ae208a726bf8b9630604afa9ca5ffc67b">end()</link>, this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1ae208a726bf8b9630604afa9ca5ffc67b">end()</link>) if no such elements exist.</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(this-&gt;count(value)). Worst case O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1acd932ad92fd2f2c5a6fecc5fc143a158">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: If the internal hasher or the equality functor throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a79666c3598c47b409eb32245175b086e" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyHasher"/>
          <template-type-parameter name="KeyEqual"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="hash_func"><paramtype>KeyHasher</paramtype></parameter><parameter name="equal_func"><paramtype>KeyEqual</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "hash_func" must be a hash function that induces the same hash values as the stored hasher. The difference is that "hash_func" hashes the given key instead of the value_type.</para><para>"equal_func" must be a equality function that induces the same equality as key_equal. The difference is that "equal_func" compares an arbitrary key with the contained values.</para><para><emphasis role="bold">Effects</emphasis>: Returns a range containing all elements with equivalent keys. Returns std::make_pair(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1ae208a726bf8b9630604afa9ca5ffc67b">end()</link>, this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1ae208a726bf8b9630604afa9ca5ffc67b">end()</link>) if no such elements exist.</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(this-&gt;count(key, hash_func, equal_func)). Worst case O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1acd932ad92fd2f2c5a6fecc5fc143a158">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: If hash_func or the equal_func throw.</para><para><emphasis role="bold">Note</emphasis>: This function is used when constructing a value_type is expensive and the value_type can be compared with a cheaper key type. Usually this key is part of the value_type. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a6e20cb164937c2767184d9ab5b3e7ad2" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Returns a range containing all elements with values equivalent to value. Returns std::make_pair(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1ae208a726bf8b9630604afa9ca5ffc67b">end()</link>, this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1ae208a726bf8b9630604afa9ca5ffc67b">end()</link>) if no such elements exist.</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(this-&gt;count(value)). Worst case O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1acd932ad92fd2f2c5a6fecc5fc143a158">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: If the internal hasher or the equality functor throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a3e495d3bbb084f88013f81e14993d61a" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyHasher"/>
          <template-type-parameter name="KeyEqual"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="hash_func"><paramtype>KeyHasher</paramtype></parameter><parameter name="equal_func"><paramtype>KeyEqual</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "hash_func" must be a hash function that induces the same hash values as the stored hasher. The difference is that "hash_func" hashes the given key instead of the value_type.</para><para>"equal_func" must be a equality function that induces the same equality as key_equal. The difference is that "equal_func" compares an arbitrary key with the contained values.</para><para><emphasis role="bold">Effects</emphasis>: Returns a range containing all elements with equivalent keys. Returns std::make_pair(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1ae208a726bf8b9630604afa9ca5ffc67b">end()</link>, this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1ae208a726bf8b9630604afa9ca5ffc67b">end()</link>) if no such elements exist.</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(this-&gt;count(key, hash_func, equal_func)). Worst case O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1acd932ad92fd2f2c5a6fecc5fc143a158">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: If the hasher or equal_func throw.</para><para><emphasis role="bold">Note</emphasis>: This function is used when constructing a value_type is expensive and the value_type can be compared with a cheaper key type. Usually this key is part of the value_type. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a6b50d0043ebb2ff1484e07b20417f891" name="iterator_to" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue and shall be in a <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link> of appropriate type. Otherwise the behavior is undefined.</para><para><emphasis role="bold">Effects</emphasis>: Returns: a valid iterator belonging to the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link> that points to the value</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If the internal hash function throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a2dc83658236c137e26e1320c75fac6bd" name="iterator_to" cv="const noexcept"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue and shall be in a <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link> of appropriate type. Otherwise the behavior is undefined.</para><para><emphasis role="bold">Effects</emphasis>: Returns: a valid const_iterator belonging to the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link> that points to the value</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If the internal hash function throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a99614b16cf2f7ede1603bcf78e9e9061" name="local_iterator_to" cv="noexcept"><type>local_iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue and shall be in a <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link> of appropriate type. Otherwise the behavior is undefined.</para><para><emphasis role="bold">Effects</emphasis>: Returns: a valid local_iterator belonging to the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link> that points to the value</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1aadebbacf436248c2e39d337ebae43e1c" name="local_iterator_to" cv="const noexcept"><type>const_local_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue and shall be in a <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link> of appropriate type. Otherwise the behavior is undefined.</para><para><emphasis role="bold">Effects</emphasis>: Returns: a valid const_local_iterator belonging to the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link> that points to the value</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a616249749d62a70976b8f9b1965d4acd" name="bucket_count" cv="const noexcept"><type>size_type</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the number of buckets passed in the constructor or the last rehash function.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a2b006189ca751b4ddfed64a386c39ecc" name="bucket_size" cv="const noexcept"><type>size_type</type><parameter name="n"><paramtype>size_type</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: n is in the range [0, this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1a616249749d62a70976b8f9b1965d4acd">bucket_count()</link>).</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of elements in the nth bucket.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1af26639ea2948a13f1b712f1a6535e966" name="bucket" cv="const"><type>size_type</type><parameter name="k"><paramtype>const key_type &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Returns the index of the bucket in which elements with keys equivalent to k would be found, if any such element existed.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If the hash functor throws.</para><para><emphasis role="bold">Note</emphasis>: the return value is in the range [0, this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1a616249749d62a70976b8f9b1965d4acd">bucket_count()</link>). </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a6852bdb0a38311e90d73d3fbdf96f740" name="bucket" cv="const"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyHasher"/>
        </template><parameter name="k"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="hash_func"><paramtype>KeyHasher</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "hash_func" must be a hash function that induces the same hash values as the stored hasher. The difference is that "hash_func" hashes the given key instead of the value_type.</para><para><emphasis role="bold">Effects</emphasis>: Returns the index of the bucket in which elements with keys equivalent to k would be found, if any such element existed.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If hash_func throws.</para><para><emphasis role="bold">Note</emphasis>: the return value is in the range [0, this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1a616249749d62a70976b8f9b1965d4acd">bucket_count()</link>). </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a41b2664cf178a2ea728846c0c99b266e" name="bucket_pointer" cv="const noexcept"><type>bucket_ptr</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the bucket array pointer passed in the constructor or the last rehash function.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1ab1726819770e922b10dba050a833290c" name="begin" cv="noexcept"><type>local_iterator</type><parameter name="n"><paramtype>size_type</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: n is in the range [0, this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1a616249749d62a70976b8f9b1965d4acd">bucket_count()</link>).</para><para><emphasis role="bold">Effects</emphasis>: Returns a local_iterator pointing to the beginning of the sequence stored in the bucket n.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: [this-&gt;begin(n), this-&gt;end(n)) is a valid range containing all of the elements in the nth bucket. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1ad75676ebdc905f9450951160b4c1e8db" name="begin" cv="const noexcept"><type>const_local_iterator</type><parameter name="n"><paramtype>size_type</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: n is in the range [0, this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1a616249749d62a70976b8f9b1965d4acd">bucket_count()</link>).</para><para><emphasis role="bold">Effects</emphasis>: Returns a const_local_iterator pointing to the beginning of the sequence stored in the bucket n.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: [this-&gt;begin(n), this-&gt;end(n)) is a valid range containing all of the elements in the nth bucket. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1aea7536e4f2c2c549837de30b12aeb6a2" name="cbegin" cv="const noexcept"><type>const_local_iterator</type><parameter name="n"><paramtype>size_type</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: n is in the range [0, this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1a616249749d62a70976b8f9b1965d4acd">bucket_count()</link>).</para><para><emphasis role="bold">Effects</emphasis>: Returns a const_local_iterator pointing to the beginning of the sequence stored in the bucket n.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: [this-&gt;begin(n), this-&gt;end(n)) is a valid range containing all of the elements in the nth bucket. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a7e3a539068195c4c6ac72af5097b53b7" name="end" cv="noexcept"><type>local_iterator</type><parameter name="n"><paramtype>size_type</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: n is in the range [0, this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1a616249749d62a70976b8f9b1965d4acd">bucket_count()</link>).</para><para><emphasis role="bold">Effects</emphasis>: Returns a local_iterator pointing to the end of the sequence stored in the bucket n.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: [this-&gt;begin(n), this-&gt;end(n)) is a valid range containing all of the elements in the nth bucket. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1acf16c764b76cae72955852817de0aba0" name="end" cv="const noexcept"><type>const_local_iterator</type><parameter name="n"><paramtype>size_type</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: n is in the range [0, this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1a616249749d62a70976b8f9b1965d4acd">bucket_count()</link>).</para><para><emphasis role="bold">Effects</emphasis>: Returns a const_local_iterator pointing to the end of the sequence stored in the bucket n.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: [this-&gt;begin(n), this-&gt;end(n)) is a valid range containing all of the elements in the nth bucket. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1acfc1ace8597fce3ad190f16e4e60a87e" name="cend" cv="const noexcept"><type>const_local_iterator</type><parameter name="n"><paramtype>size_type</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: n is in the range [0, this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1a616249749d62a70976b8f9b1965d4acd">bucket_count()</link>).</para><para><emphasis role="bold">Effects</emphasis>: Returns a const_local_iterator pointing to the end of the sequence stored in the bucket n.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: [this-&gt;begin(n), this-&gt;end(n)) is a valid range containing all of the elements in the nth bucket. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a3097044c475f63af857795090d6b464e" name="rehash"><type>void</type><parameter name="new_bucket_traits"><paramtype>const <classname>bucket_traits</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: new_bucket_traits can hold a pointer to a new bucket array or the same as the old bucket array with a different length. new_size is the length of the the array pointed by new_buckets. If new_bucket_traits.bucket_begin() == this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1a41b2664cf178a2ea728846c0c99b266e">bucket_pointer()</link> new_bucket_traits.bucket_count() can be bigger or smaller than this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1a616249749d62a70976b8f9b1965d4acd">bucket_count()</link>. 'new_bucket_traits' copy constructor should not throw.</para><para><emphasis role="bold">Effects</emphasis>: If <computeroutput>new_bucket_traits.bucket_begin() == this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1a41b2664cf178a2ea728846c0c99b266e">bucket_pointer()</link></computeroutput> is false, unlinks values from the old bucket and inserts then in the new one according to the hash value of values.</para><para>If <computeroutput>new_bucket_traits.bucket_begin() == this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1a41b2664cf178a2ea728846c0c99b266e">bucket_pointer()</link></computeroutput> is true, the implementations avoids moving values as much as possible.</para><para>Bucket traits hold by *this is assigned from new_bucket_traits. If the container is configured as incremental&lt;&gt;, the split bucket is set to the new <link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1a616249749d62a70976b8f9b1965d4acd">bucket_count()</link>.</para><para>If <link linkend="doxygen.structboost_1_1intrusive_1_1store__hash">store_hash</link> option is true, this method does not use the hash function. If false, the implementation tries to minimize calls to the hash function (e.g. once for equivalent values if optimize_multikey&lt;true&gt; is true).</para><para>If rehash is successful updates the internal <link linkend="doxygen.structboost_1_1intrusive_1_1bucket__traits">bucket_traits</link> with new_bucket_traits.</para><para><emphasis role="bold">Complexity</emphasis>: Average case linear in this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1acd932ad92fd2f2c5a6fecc5fc143a158">size()</link>, worst case quadratic.</para><para><emphasis role="bold">Throws</emphasis>: If the hasher functor throws. Basic guarantee. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1aa091815e6a43e75ed77e9607caf162eb" name="full_rehash"><type>void</type><description><para><emphasis role="bold">Note</emphasis>: This function is used when keys from inserted elements are changed (e.g. a language change when key is a string) but uniqueness and hash properties are preserved so a fast full rehash recovers invariants for *this without extracting and reinserting all elements again.</para><para><emphasis role="bold">Requires</emphasis>: Calls produced to the hash function should not alter the value uniqueness properties of already inserted elements. If hasher(key1) == hasher(key2) was true when elements were inserted, it shall be true during calls produced in the execution of this function.</para><para>key_equal is not called inside this function so it is assumed that key_equal(value1, value2) should produce the same results as before for inserted elements.</para><para><emphasis role="bold">Effects</emphasis>: Reprocesses all values hold by *this, recalculating their hash values and redistributing them though the buckets.</para><para>If <link linkend="doxygen.structboost_1_1intrusive_1_1store__hash">store_hash</link> option is true, this method uses the hash function and updates the stored hash value.</para><para><emphasis role="bold">Complexity</emphasis>: Average case linear in this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1acd932ad92fd2f2c5a6fecc5fc143a158">size()</link>, worst case quadratic.</para><para><emphasis role="bold">Throws</emphasis>: If the hasher functor throws. Basic guarantee. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a2142e538bab24e27e30deea5d3ad5217" name="incremental_rehash"><type>bool</type><parameter name="grow"><paramtype>bool</paramtype><default>true</default></parameter><description><para><emphasis role="bold">Requires</emphasis>:</para><para><emphasis role="bold">Effects</emphasis>:</para><para><emphasis role="bold">Complexity</emphasis>:</para><para><emphasis role="bold">Throws</emphasis>:</para><para><emphasis role="bold">Note</emphasis>: this method is only available if incremental&lt;true&gt; option is activated. </para></description><description><para>grow</para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a32770294522a6d583d74444b63762ff6" name="incremental_rehash" cv="noexcept"><type>bool</type><parameter name="new_bucket_traits"><paramtype>const <classname>bucket_traits</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: If new_bucket_traits.bucket_count() is not this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1a616249749d62a70976b8f9b1965d4acd">bucket_count()</link>/2 or this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1a616249749d62a70976b8f9b1965d4acd">bucket_count()</link>*2, or this-&gt;split_bucket() != new_bucket_traits.bucket_count() returns false and does nothing.</para><para>Otherwise, copy assigns new_bucket_traits to the internal <link linkend="doxygen.structboost_1_1intrusive_1_1bucket__traits">bucket_traits</link> and transfers all the objects from old buckets to the new ones.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to <link linkend="doxygen.classboost_1_1intrusive_1_1hashtable_1acd932ad92fd2f2c5a6fecc5fc143a158">size()</link>.</para><para><emphasis role="bold">Throws</emphasis>: Nothing</para><para><emphasis role="bold">Note</emphasis>: this method is only available if incremental&lt;true&gt; option is activated. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1aba557c36d1604640d8a943f0cda76e64" name="split_count" cv="const noexcept"><type>size_type</type><description><para><emphasis role="bold">Requires</emphasis>: incremental&lt;&gt; option must be set</para><para><emphasis role="bold">Effects</emphasis>: returns the current split count</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing </para></description></method>
</method-group>
<method-group name="public static functions">
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1ad51f3db8e836bb4118983a125842ec6d" name="s_local_iterator_to" cv="noexcept" specifiers="static"><type>local_iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue and shall be in a <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link> of appropriate type. Otherwise the behavior is undefined.</para><para><emphasis role="bold">Effects</emphasis>: Returns: a valid local_iterator belonging to the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link> that points to the value</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This static function is available only if the <emphasis>value traits</emphasis> is stateless. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a2b094758dfed5c3e45a948a25f0d6cf6" name="s_local_iterator_to" cv="noexcept" specifiers="static"><type>const_local_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue and shall be in a <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link> of appropriate type. Otherwise the behavior is undefined.</para><para><emphasis role="bold">Effects</emphasis>: Returns: a valid const_local_iterator belonging to the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link> that points to the value</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This static function is available only if the <emphasis>value traits</emphasis> is stateless. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1ae9812e43d25f3b54e6f9c44ee9934911" name="suggested_upper_bucket_count" cv="noexcept" specifiers="static"><type>size_type</type><parameter name="n"><paramtype>size_type</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Returns the nearest new bucket count optimized for the container that is bigger or equal than n. This suggestion can be used to create bucket arrays with a size that will usually improve container's performance. If such value does not exist, the higher possible value is returned.</para><para><emphasis role="bold">Complexity</emphasis>: Amortized constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1hashtable_1a33dd079e39fcb192d11d2a6ae3597194" name="suggested_lower_bucket_count" cv="noexcept" specifiers="static"><type>size_type</type><parameter name="n"><paramtype>size_type</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Returns the nearest new bucket count optimized for the container that is smaller or equal than n. This suggestion can be used to create bucket arrays with a size that will usually improve container's performance. If such value does not exist, the lowest possible value is returned.</para><para><emphasis role="bold">Complexity</emphasis>: Amortized constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
</method-group>
</class><struct id="doxygen.structboost_1_1intrusive_1_1hashtable__defaults" name="hashtable_defaults"><typedef id="doxygen.structboost_1_1intrusive_1_1hashtable__defaults_1a14f35a9d17dbfa26ecd4329e19e9536c" name="proto_value_traits"><type>default_hashtable_hook_applier</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashtable__defaults_1ac4d816f66cca3983dd08c88f047c1c49" name="size_type"><type>std::size_t</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashtable__defaults_1a70647160dab725ae1cea8fccc9721c3d" name="key_of_value"><type>void</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashtable__defaults_1a5cdfbd6e5e7ee8f3dd0f39a885e1e2a5" name="equal"><type>void</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashtable__defaults_1a2d23cfc38ed7cc75f2528bc6f5d1dc1e" name="hash"><type>void</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashtable__defaults_1a7bb0f2bb9cd5939d6ea0e705c108d850" name="bucket_traits"><type>default_bucket_traits</type></typedef>
<data-member id="doxygen.structboost_1_1intrusive_1_1hashtable__defaults_1a3250b13ce9775dc97f5d841e20450809" name="constant_time_size" specifiers="static"><type>const bool</type></data-member>
<data-member id="doxygen.structboost_1_1intrusive_1_1hashtable__defaults_1ae6e56b044e575dfbdc21a91444c24508" name="power_2_buckets" specifiers="static"><type>const bool</type></data-member>
<data-member id="doxygen.structboost_1_1intrusive_1_1hashtable__defaults_1acc8afac2ec12db188e4b1bbf5a8180c6" name="cache_begin" specifiers="static"><type>const bool</type></data-member>
<data-member id="doxygen.structboost_1_1intrusive_1_1hashtable__defaults_1a9fc5ae7f8b55f05e4e046150b477bd01" name="compare_hash" specifiers="static"><type>const bool</type></data-member>
<data-member id="doxygen.structboost_1_1intrusive_1_1hashtable__defaults_1a1867c009c02d462dd63d993945afd8a5" name="incremental" specifiers="static"><type>const bool</type></data-member>
<data-member id="doxygen.structboost_1_1intrusive_1_1hashtable__defaults_1a804cdd7fa40fd038a73402366a35e7c2" name="linear_buckets" specifiers="static"><type>const bool</type></data-member>
<data-member id="doxygen.structboost_1_1intrusive_1_1hashtable__defaults_1ad117a58160db5cf18c73ba7c4f91c559" name="fastmod_buckets" specifiers="static"><type>const bool</type></data-member>
</struct><struct id="doxygen.structboost_1_1intrusive_1_1hashtable__equal__holder" name="hashtable_equal_holder"><template>
      <template-type-parameter name="ValueTraits"/>
      <template-type-parameter name="BucketTraits"/>
      <template-type-parameter name="VoidOrKeyOfValue"/>
      <template-type-parameter name="VoidOrKeyEqual"/>
      <template-nontype-parameter name="LinearBuckets"><type>bool</type></template-nontype-parameter>
    </template><typedef id="doxygen.structboost_1_1intrusive_1_1hashtable__equal__holder_1a05cf4d25214f7cc01921946200ddae88" name="type"><type><emphasis>unspecified</emphasis></type></typedef>
</struct><struct id="doxygen.structboost_1_1intrusive_1_1hashtable__size__wrapper" name="hashtable_size_wrapper"><template>
      <template-type-parameter name="DeriveFrom"/>
      <template-type-parameter name="SizeType"/>
      <template-nontype-parameter name=""><type>bool</type></template-nontype-parameter>
    </template><inherit access="public">DeriveFrom</inherit><typedef id="doxygen.structboost_1_1intrusive_1_1hashtable__size__wrapper_1a0e2fea64b959908261dac984ce4241a9" name="size_traits"><type><emphasis>unspecified</emphasis></type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashtable__size__wrapper_1a9bf513877fdb8352d3cbd909cfe169bc" name="size_traits_const_t"><type>const size_traits &amp;</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashtable__size__wrapper_1a4f4af837c3132e163f5d5d0369aee85b" name="size_traits_t"><type>size_traits &amp;</type></typedef>
<data-member id="doxygen.structboost_1_1intrusive_1_1hashtable__size__wrapper_1aa418596f2a61766e1343c9ea19f2c701" name="size_traits_"><type>size_traits</type></data-member>
<method-group name="public member functions">
<constructor id="doxygen.structboost_1_1intrusive_1_1hashtable__size__wrapper_1af5be6432b0f5ef4b9efa718cc67cf038"><template>
          <template-type-parameter name="Base"/>
          <template-type-parameter name="Arg0"/>
          <template-type-parameter name="Arg1"/>
          <template-type-parameter name="Arg2"/>
        </template><parameter name="base"><paramtype>BOOST_FWD_REF(Base)</paramtype></parameter><parameter name="arg0"><paramtype>BOOST_FWD_REF(Arg0)</paramtype></parameter><parameter name="arg1"><paramtype>BOOST_FWD_REF(Arg1)</paramtype></parameter><parameter name="arg2"><paramtype>BOOST_FWD_REF(Arg2)</paramtype></parameter></constructor>
<constructor id="doxygen.structboost_1_1intrusive_1_1hashtable__size__wrapper_1acd6c0d7ee1d9297d79da561f000c1a94"><parameter name="other"><paramtype>hashtable_size_wrapper &amp;&amp;</paramtype></parameter></constructor>
<method id="doxygen.structboost_1_1intrusive_1_1hashtable__size__wrapper_1ad322d0ed1f1fd9ea7af1b74221f7debe" name="get_hashtable_size_wrapper_size" cv="const"><type>SizeType</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashtable__size__wrapper_1a7dce49e04d9a6f52e6bb39894224383b" name="set_hashtable_size_wrapper_size"><type>void</type><parameter name="s"><paramtype>SizeType</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashtable__size__wrapper_1afd8a20469589a209f7a47a8bba7bc4af" name="inc_hashtable_size_wrapper_size"><type>void</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashtable__size__wrapper_1ad5b700ba84ef1a6b8623e90523b9fb36" name="dec_hashtable_size_wrapper_size"><type>void</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashtable__size__wrapper_1a723f63df6e1ec34bf3282f3b54e7ddae" name="priv_size_traits"><type>size_traits_t</type></method>
</method-group>
</struct><struct-specialization id="doxygen.structboost_1_1intrusive_1_1hashtable__size__wrapper_3_01DeriveFrom_00_01SizeType_00_01false_01_4" name="hashtable_size_wrapper"><template>
      <template-type-parameter name="DeriveFrom"/>
      <template-type-parameter name="SizeType"/>
    </template><specialization><template-arg>DeriveFrom</template-arg><template-arg>SizeType</template-arg><template-arg>false</template-arg></specialization><inherit access="public">DeriveFrom</inherit><typedef id="doxygen.structboost_1_1intrusive_1_1hashtable__size__wrapper_3_01DeriveFrom_00_01SizeType_00_01false_01_4_1adf2bce6a26a872cc74bd42598e2a18c6" name="size_traits"><type><emphasis>unspecified</emphasis></type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashtable__size__wrapper_3_01DeriveFrom_00_01SizeType_00_01false_01_4_1a597f96f1acbb6ea8e76c7e18c1f72e40" name="size_traits_const_t"><type>size_traits</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1hashtable__size__wrapper_3_01DeriveFrom_00_01SizeType_00_01false_01_4_1aee1c25507a3c3011b93a54113f82d768" name="size_traits_t"><type>size_traits</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.structboost_1_1intrusive_1_1hashtable__size__wrapper_3_01DeriveFrom_00_01SizeType_00_01false_01_4_1a30ed139132e1bacfe47a46d371cac168"><template>
          <template-type-parameter name="Base"/>
          <template-type-parameter name="Arg0"/>
          <template-type-parameter name="Arg1"/>
          <template-type-parameter name="Arg2"/>
        </template><parameter name="base"><paramtype>BOOST_FWD_REF(Base)</paramtype></parameter><parameter name="arg0"><paramtype>BOOST_FWD_REF(Arg0)</paramtype></parameter><parameter name="arg1"><paramtype>BOOST_FWD_REF(Arg1)</paramtype></parameter><parameter name="arg2"><paramtype>BOOST_FWD_REF(Arg2)</paramtype></parameter></constructor>
<constructor id="doxygen.structboost_1_1intrusive_1_1hashtable__size__wrapper_3_01DeriveFrom_00_01SizeType_00_01false_01_4_1ac66f109728edae401dd272f99aed888c"><parameter name="other"><paramtype>hashtable_size_wrapper &amp;&amp;</paramtype></parameter></constructor>
<method id="doxygen.structboost_1_1intrusive_1_1hashtable__size__wrapper_3_01DeriveFrom_00_01SizeType_00_01false_01_4_1a06efb9e085c569f49aa51d9951d5c8a4" name="get_hashtable_size_wrapper_size" cv="const"><type>SizeType</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashtable__size__wrapper_3_01DeriveFrom_00_01SizeType_00_01false_01_4_1a061eedebdf3104efc90b66b869aabafb" name="set_hashtable_size_wrapper_size"><type>void</type><parameter name=""><paramtype>SizeType</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashtable__size__wrapper_3_01DeriveFrom_00_01SizeType_00_01false_01_4_1a7ed49a9b24040b0b85f554aa837b0314" name="inc_hashtable_size_wrapper_size"><type>void</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashtable__size__wrapper_3_01DeriveFrom_00_01SizeType_00_01false_01_4_1a8927085dbf9c091fd7ac3e8318060fa8" name="dec_hashtable_size_wrapper_size"><type>void</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1hashtable__size__wrapper_3_01DeriveFrom_00_01SizeType_00_01false_01_4_1af9aa2a59e8b316722716341c907e00bf" name="priv_size_traits"><type>size_traits</type></method>
</method-group>
</struct-specialization><class id="doxygen.classboost_1_1intrusive_1_1incremental__rehash__rollback" name="incremental_rehash_rollback"><template>
      <template-type-parameter name="BucketType"/>
      <template-type-parameter name="SplitTraits"/>
      <template-type-parameter name="SlistNodeAlgorithms"/>
    </template><method-group name="private member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1incremental__rehash__rollback_1a787c62df506611190beaa5620b328e4b"/>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1incremental__rehash__rollback_1ad66d7db138414d324f79deb28715bd91"><type>incremental_rehash_rollback &amp;</type><parameter name=""><paramtype>const incremental_rehash_rollback &amp;</paramtype></parameter></copy-assignment>
<constructor id="doxygen.classboost_1_1intrusive_1_1incremental__rehash__rollback_1a08c11a221a6171a0ae523021d92b4de0"><parameter name=""><paramtype>const incremental_rehash_rollback &amp;</paramtype></parameter></constructor>
</method-group>
<method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1incremental__rehash__rollback_1a20d3544a20baf70bed10aa94e27eb8b6"><parameter name="source_bucket"><paramtype>bucket_type &amp;</paramtype></parameter><parameter name="destiny_bucket"><paramtype>bucket_type &amp;</paramtype></parameter><parameter name="split_tr"><paramtype>split_traits &amp;</paramtype></parameter></constructor>
<method id="doxygen.classboost_1_1intrusive_1_1incremental__rehash__rollback_1a1add3b4f59c1e29928f163b93c789ce8" name="release"><type>void</type></method>
<destructor id="doxygen.classboost_1_1intrusive_1_1incremental__rehash__rollback_1a449d4ae2671a663a16c2a261c8dbfa31"/>
</method-group>
</class><struct id="doxygen.structboost_1_1intrusive_1_1insert__commit__data__impl" name="insert_commit_data_impl"><data-member id="doxygen.structboost_1_1intrusive_1_1insert__commit__data__impl_1a42f81b451f3158262a21510b1dd9b008" name="hash"><type>std::size_t</type></data-member>
<data-member id="doxygen.structboost_1_1intrusive_1_1insert__commit__data__impl_1abefb411cd7e267e5baf27c148ac5df66" name="bucket_idx"><type>std::size_t</type></data-member>
<method-group name="public member functions">
<method id="doxygen.structboost_1_1intrusive_1_1insert__commit__data__impl_1a7bd8ff728bfef23eb9dc41dc8f17ad16" name="get_hash" cv="const"><type>std::size_t</type></method>
<method id="doxygen.structboost_1_1intrusive_1_1insert__commit__data__impl_1ae919f0c54ff342fde91761f5d472817b" name="set_hash"><type>void</type><parameter name="h"><paramtype>std::size_t</paramtype></parameter></method>
</method-group>
</struct><struct-specialization id="doxygen.structboost_1_1intrusive_1_1is__default__hook__tag_3_01default__hashtable__hook__applier_01_4" name="is_default_hook_tag"><template>
    </template><specialization><template-arg>default_hashtable_hook_applier</template-arg></specialization><data-member id="doxygen.structboost_1_1intrusive_1_1is__default__hook__tag_3_01default__hashtable__hook__applier_01_4_1a5ecca4d07fa64ce3e7b77a77fc6adea2" name="value" specifiers="static"><type>const bool</type></data-member>
</struct-specialization><struct id="doxygen.structboost_1_1intrusive_1_1make__hashtable" name="make_hashtable"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define a <computeroutput>hashtable</computeroutput> that yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__hashtable_1a854036d4780a3b1582f1491bb69e940f" name="type"><type>implementation_defined</type></typedef>
</struct><struct id="doxygen.structboost_1_1intrusive_1_1node__cast__adaptor" name="node_cast_adaptor"><template>
      <template-type-parameter name="F"/>
      <template-type-parameter name="SlistNodePtr"/>
      <template-type-parameter name="NodePtr"/>
    </template><typedef id="doxygen.structboost_1_1intrusive_1_1node__cast__adaptor_1a8e5c5b6436cc7e07f3444f471ed18c25" name="base_t"><type><emphasis>unspecified</emphasis></type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1node__cast__adaptor_1a8b097649dbdbd26c14f52987827e6262" name="slist_node"><type><classname>pointer_traits</classname>&lt; SlistNodePtr &gt;::element_type</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1node__cast__adaptor_1a311affba28f9c536fd846646ef03a0c3" name="node"><type><classname>pointer_traits</classname>&lt; NodePtr &gt;::element_type</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.structboost_1_1intrusive_1_1node__cast__adaptor_1a87e6c7c85e9a25f0b6ef68bc96aab9f0"><template>
          <template-type-parameter name="ConvertibleToF"/>
          <template-type-parameter name="RealValuTraits"/>
        </template><parameter name="c2f"><paramtype>const ConvertibleToF &amp;</paramtype></parameter><parameter name="traits"><paramtype>const RealValuTraits *</paramtype></parameter></constructor>
<method id="doxygen.structboost_1_1intrusive_1_1node__cast__adaptor_1a4108690785fc8aeda1c085d6fd4a53c7" name="operator()"><type>base_t::node_ptr</type><parameter name="to_clone"><paramtype>const slist_node &amp;</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1node__cast__adaptor_1a23a37828ca6bc861b5dea36e12e88b5a" name="operator()"><type>void</type><parameter name="to_clone"><paramtype>SlistNodePtr</paramtype></parameter></method>
</method-group>
</struct><struct id="doxygen.structboost_1_1intrusive_1_1node__functions" name="node_functions"><template>
      <template-type-parameter name="NodeTraits"/>
    </template><method-group name="public static functions">
<method id="doxygen.structboost_1_1intrusive_1_1node__functions_1a905f449978c69a4e074c19346fd70918" name="store_hash" specifiers="static"><type>void</type><parameter name="p"><paramtype>typename NodeTraits::node_ptr</paramtype></parameter><parameter name="h"><paramtype>std::size_t</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1node__functions_1acb1499bd58b2169e63938f34ebff6e51" name="store_hash" specifiers="static"><type>void</type><parameter name=""><paramtype>typename NodeTraits::node_ptr</paramtype></parameter><parameter name=""><paramtype>std::size_t</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
</method-group>
</struct><struct id="doxygen.structboost_1_1intrusive_1_1optimize__multikey__is__true" name="optimize_multikey_is_true"><template>
      <template-type-parameter name="T"/>
    </template><struct id="doxygen.structboost_1_1intrusive_1_1optimize__multikey__is__true_1_1two__or__three" name="two_or_three"><template>
      <template-nontype-parameter name="Add"><type>bool</type></template-nontype-parameter>
    </template><data-member id="doxygen.structboost_1_1intrusive_1_1optimize__multikey__is__true_1_1two__or__three_1a9d188a5dc56c724010e41c2f3dc24e1b" name="_"><type><emphasis>unspecified</emphasis></type></data-member>
</struct><data-member id="doxygen.structboost_1_1intrusive_1_1optimize__multikey__is__true_1a027d1b298d73b4119602ee8b181cdd8c" name="value" specifiers="static"><type>const bool</type></data-member>
<method-group name="public static functions">
<method id="doxygen.structboost_1_1intrusive_1_1optimize__multikey__is__true_1a8cef3742d7b6401b701ba2cde1a5ed90" name="test" specifiers="static"><type><emphasis>unspecified</emphasis></type><template>
          <template-type-parameter name="U"/>
        </template><parameter name=""><paramtype>...</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1optimize__multikey__is__true_1ad07cc8af3826697a08c00213f05a383f" name="test" specifiers="static"><type>two_or_three&lt; U::optimize_multikey &gt;</type><template>
          <template-type-parameter name="U"/>
        </template><parameter name=""><paramtype>int</paramtype></parameter></method>
</method-group>
</struct><struct id="doxygen.structboost_1_1intrusive_1_1store__hash__is__true" name="store_hash_is_true"><template>
      <template-type-parameter name="T"/>
    </template><struct id="doxygen.structboost_1_1intrusive_1_1store__hash__is__true_1_1two__or__three" name="two_or_three"><template>
      <template-nontype-parameter name="Add"><type>bool</type></template-nontype-parameter>
    </template><data-member id="doxygen.structboost_1_1intrusive_1_1store__hash__is__true_1_1two__or__three_1a98895900d41cddbd0e6180f2704c4d15" name="_"><type><emphasis>unspecified</emphasis></type></data-member>
</struct><data-member id="doxygen.structboost_1_1intrusive_1_1store__hash__is__true_1aaf88db5ad83ff251c67525bb76ab5bea" name="value" specifiers="static"><type>const bool</type></data-member>
<method-group name="public static functions">
<method id="doxygen.structboost_1_1intrusive_1_1store__hash__is__true_1ab73518ef34e8feb79882002ee3e112a2" name="test" specifiers="static"><type><emphasis>unspecified</emphasis></type><template>
          <template-type-parameter name="U"/>
        </template><parameter name=""><paramtype>...</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1store__hash__is__true_1af4d1e41427a82b3d18f1eb3974c2838b" name="test" specifiers="static"><type>two_or_three&lt; U::store_hash &gt;</type><template>
          <template-type-parameter name="U"/>
        </template><parameter name=""><paramtype>int</paramtype></parameter></method>
</method-group>
</struct><struct id="doxygen.structboost_1_1intrusive_1_1unordered__bucket" name="unordered_bucket"><template>
      <template-type-parameter name="ValueTraitsOrHookOption"/>
    </template><inherit access="public">boost::intrusive::unordered_bucket_impl&lt; ValueTraitsOrHookOption::template pack&lt; empty &gt;::proto_value_traits &gt;</inherit><description><para>This metafunction will obtain the type of a bucket from the <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> or hook option to be used with a hash container. </para></description></struct><struct id="doxygen.structboost_1_1intrusive_1_1unordered__bucket__impl" name="unordered_bucket_impl"><template>
      <template-type-parameter name="SupposedValueTraits"/>
    </template><typedef id="doxygen.structboost_1_1intrusive_1_1unordered__bucket__impl_1a91df179d8a10d431f9b819f31ecbebff" name="node_traits"><type><emphasis>unspecified</emphasis></type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1unordered__bucket__impl_1aff9c2bb66d01e713347c4f895010b45a" name="reduced_node_traits"><type>reduced_slist_node_traits&lt; node_traits &gt;::type</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1unordered__bucket__impl_1ac43b72c3023abee642ec1a4c391cb3e1" name="type"><type>bucket_impl&lt; reduced_node_traits &gt;</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1unordered__bucket__impl_1a77f04afab51cb43ae9c27a3e77d198b2" name="pointer"><type><classname>pointer_traits</classname>&lt; typenamereduced_node_traits::node_ptr &gt;::template rebind_pointer&lt; type &gt;::type</type></typedef>
</struct><struct id="doxygen.structboost_1_1intrusive_1_1unordered__bucket__ptr" name="unordered_bucket_ptr"><template>
      <template-type-parameter name="ValueTraitsOrHookOption"/>
    </template><inherit access="public">boost::intrusive::unordered_bucket_ptr_impl&lt; ValueTraitsOrHookOption::template pack&lt; empty &gt;::proto_value_traits &gt;</inherit><description><para>This metafunction will obtain the type of a bucket pointer from the <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> or hook option to be used with a hash container. </para></description></struct><struct id="doxygen.structboost_1_1intrusive_1_1unordered__bucket__ptr__impl" name="unordered_bucket_ptr_impl"><template>
      <template-type-parameter name="SupposedValueTraits"/>
    </template><typedef id="doxygen.structboost_1_1intrusive_1_1unordered__bucket__ptr__impl_1a54b8fcdf7d42a0e520059a40dc0dfea0" name="type"><type>unordered_bucket_impl&lt; SupposedValueTraits &gt;::pointer</type></typedef>
</struct><struct id="doxygen.structboost_1_1intrusive_1_1unordered__default__bucket__traits" name="unordered_default_bucket_traits"><template>
      <template-type-parameter name="ValueTraitsOrHookOption"/>
    </template><description><para>This metafunction will obtain the type of the default bucket traits (when the user does not specify the bucket_traits&lt;&gt; option) from the <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> or hook option to be used with a hash container. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1unordered__default__bucket__traits_1af84b7197a6bd1f1afa1969d0ee13eefa" name="supposed_value_traits"><type>ValueTraitsOrHookOption::template pack&lt; empty &gt;::proto_value_traits</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1unordered__default__bucket__traits_1a5767b5293c1998db34d4560a06b3eac8" name="type"><type>bucket_traits_impl&lt; typename unordered_bucket_ptr_impl&lt; supposed_value_traits &gt;::type, std::size_t &gt;</type></typedef>
</struct>































<function id="doxygen.hashtable_8hpp_1afb1aa9d8a71e9f6409834005b9e6e9a5" name="priv_algo_find"><type>InputIt</type><template>
          <template-type-parameter name="InputIt"/>
          <template-type-parameter name="T"/>
        </template><parameter name="first"><paramtype>InputIt</paramtype></parameter><parameter name="last"><paramtype>InputIt</paramtype></parameter><parameter name="value"><paramtype>const T &amp;</paramtype></parameter></function>
<function id="doxygen.hashtable_8hpp_1a64e6a184f69bc023edcb5ae269919dd7" name="priv_algo_count"><type>boost::intrusive::iterator_traits&lt; InputIt &gt;::difference_type</type><template>
          <template-type-parameter name="InputIt"/>
          <template-type-parameter name="T"/>
        </template><parameter name="first"><paramtype>InputIt</paramtype></parameter><parameter name="last"><paramtype>InputIt</paramtype></parameter><parameter name="value"><paramtype>const T &amp;</paramtype></parameter></function>
<function id="doxygen.hashtable_8hpp_1a43524dace6c370ac44701b5e3f13f7f4" name="priv_algo_is_permutation"><type>bool</type><template>
          <template-type-parameter name="ForwardIterator1"/>
          <template-type-parameter name="ForwardIterator2"/>
        </template><parameter name="first1"><paramtype>ForwardIterator1</paramtype></parameter><parameter name="last1"><paramtype>ForwardIterator1</paramtype></parameter><parameter name="first2"><paramtype>ForwardIterator2</paramtype></parameter></function>
<function id="doxygen.hashtable_8hpp_1a7518548bb110c57101bbdaa95723f319" name="dcast_bucket_ptr"><type><classname>pointer_traits</classname>&lt; SlistNodePtr &gt;::template rebind_pointer&lt; Node &gt;::type</type><template>
          <template-type-parameter name="Node"/>
          <template-type-parameter name="SlistNodePtr"/>
        </template><parameter name="p"><paramtype>const SlistNodePtr &amp;</paramtype></parameter></function>
<function id="doxygen.hashtable_8hpp_1a28aa75ea09c42eaf1e2f4003f0d52635" name="hash_to_bucket"><type>std::size_t</type><parameter name="hash_value"><paramtype>std::size_t</paramtype></parameter><parameter name="bucket_cnt"><paramtype>std::size_t</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></function>
<function id="doxygen.hashtable_8hpp_1ac86fe170ec6c40331d9bc3bf4a119966" name="hash_to_bucket"><type>std::size_t</type><parameter name="hash_value"><paramtype>std::size_t</paramtype></parameter><parameter name="bucket_cnt"><paramtype>std::size_t</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></function>
<function id="doxygen.hashtable_8hpp_1a1fb60d3b2d1aad3cce83ecccbb5454ac" name="hash_to_bucket_split"><type>std::size_t</type><template>
          <template-nontype-parameter name="Power2Buckets"><type>bool</type></template-nontype-parameter>
          <template-nontype-parameter name="Incremental"><type>bool</type></template-nontype-parameter>
        </template><parameter name="hash_value"><paramtype>std::size_t</paramtype></parameter><parameter name="bucket_cnt"><paramtype>std::size_t</paramtype></parameter><parameter name="split"><paramtype>std::size_t</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter><purpose><link linkend="doxygen.structboost_1_1intrusive_1_1fastmod__buckets">fastmod_buckets</link> </purpose></function>
<function id="doxygen.hashtable_8hpp_1aad8872d7969a2ca735892cc9b144cf5c" name="hash_to_bucket_split"><type>std::size_t</type><template>
          <template-nontype-parameter name="Power2Buckets"><type>bool</type></template-nontype-parameter>
          <template-nontype-parameter name="Incremental"><type>bool</type></template-nontype-parameter>
        </template><parameter name="hash_value"><paramtype>std::size_t</paramtype></parameter><parameter name=""><paramtype>std::size_t</paramtype></parameter><parameter name="split"><paramtype>std::size_t</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></function>




















</namespace>
</namespace>
</header>
<header id="doxygen.intrusive__fwd_8hpp" name="boost/intrusive/intrusive_fwd.hpp">
<para>This header file forward declares most Intrusive classes.</para><para>It forward declares the following containers and hooks:<itemizedlist>
<listitem><para><link linkend="doxygen.classboost_1_1intrusive_1_1slist">boost::intrusive::slist</link> / <link linkend="doxygen.classboost_1_1intrusive_1_1slist__base__hook">boost::intrusive::slist_base_hook</link> / <link linkend="doxygen.classboost_1_1intrusive_1_1slist__member__hook">boost::intrusive::slist_member_hook</link></para>
</listitem><listitem><para><link linkend="doxygen.classboost_1_1intrusive_1_1list">boost::intrusive::list</link> / <link linkend="doxygen.classboost_1_1intrusive_1_1list__base__hook">boost::intrusive::list_base_hook</link> / <link linkend="doxygen.classboost_1_1intrusive_1_1list__member__hook">boost::intrusive::list_member_hook</link></para>
</listitem><listitem><para><link linkend="doxygen.classboost_1_1intrusive_1_1bstree">boost::intrusive::bstree</link> / <link linkend="doxygen.classboost_1_1intrusive_1_1bs__set">boost::intrusive::bs_set</link> / <link linkend="doxygen.classboost_1_1intrusive_1_1bs__multiset">boost::intrusive::bs_multiset</link> / <link linkend="doxygen.classboost_1_1intrusive_1_1bs__set__base__hook">boost::intrusive::bs_set_base_hook</link> / <link linkend="doxygen.classboost_1_1intrusive_1_1bs__set__member__hook">boost::intrusive::bs_set_member_hook</link></para>
</listitem><listitem><para><link linkend="doxygen.classboost_1_1intrusive_1_1rbtree">boost::intrusive::rbtree</link> / <link linkend="doxygen.classboost_1_1intrusive_1_1set">boost::intrusive::set</link> / <link linkend="doxygen.classboost_1_1intrusive_1_1multiset">boost::intrusive::multiset</link> / <link linkend="doxygen.classboost_1_1intrusive_1_1set__base__hook">boost::intrusive::set_base_hook</link> / <link linkend="doxygen.classboost_1_1intrusive_1_1set__member__hook">boost::intrusive::set_member_hook</link></para>
</listitem><listitem><para><link linkend="doxygen.classboost_1_1intrusive_1_1avltree">boost::intrusive::avltree</link> / <link linkend="doxygen.classboost_1_1intrusive_1_1avl__set">boost::intrusive::avl_set</link> / <link linkend="doxygen.classboost_1_1intrusive_1_1avl__multiset">boost::intrusive::avl_multiset</link> / <link linkend="doxygen.classboost_1_1intrusive_1_1avl__set__base__hook">boost::intrusive::avl_set_base_hook</link> / <link linkend="doxygen.classboost_1_1intrusive_1_1avl__set__member__hook">boost::intrusive::avl_set_member_hook</link></para>
</listitem><listitem><para><link linkend="doxygen.classboost_1_1intrusive_1_1splaytree">boost::intrusive::splaytree</link> / <link linkend="doxygen.classboost_1_1intrusive_1_1splay__set">boost::intrusive::splay_set</link> / <link linkend="doxygen.classboost_1_1intrusive_1_1splay__multiset">boost::intrusive::splay_multiset</link></para>
</listitem><listitem><para><link linkend="doxygen.classboost_1_1intrusive_1_1sgtree">boost::intrusive::sgtree</link> / <link linkend="doxygen.classboost_1_1intrusive_1_1sg__set">boost::intrusive::sg_set</link> / <link linkend="doxygen.classboost_1_1intrusive_1_1sg__multiset">boost::intrusive::sg_multiset</link></para>
</listitem><listitem><para><link linkend="doxygen.classboost_1_1intrusive_1_1treap">boost::intrusive::treap</link> / <link linkend="doxygen.classboost_1_1intrusive_1_1treap__set">boost::intrusive::treap_set</link> / <link linkend="doxygen.classboost_1_1intrusive_1_1treap__multiset">boost::intrusive::treap_multiset</link></para>
</listitem><listitem><para><link linkend="doxygen.classboost_1_1intrusive_1_1hashtable">boost::intrusive::hashtable</link> / <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">boost::intrusive::unordered_set</link> / <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__multiset">boost::intrusive::unordered_multiset</link> / <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set__base__hook">boost::intrusive::unordered_set_base_hook</link> / <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set__member__hook">boost::intrusive::unordered_set_member_hook</link> /</para>
</listitem><listitem><para><link linkend="doxygen.classboost_1_1intrusive_1_1any__base__hook">boost::intrusive::any_base_hook</link> / <link linkend="doxygen.classboost_1_1intrusive_1_1any__member__hook">boost::intrusive::any_member_hook</link></para>
</listitem></itemizedlist>
</para><para>It forward declares the following container or hook options:<itemizedlist>
<listitem><para><link linkend="doxygen.structboost_1_1intrusive_1_1constant__time__size">boost::intrusive::constant_time_size</link> / <link linkend="doxygen.structboost_1_1intrusive_1_1size__type">boost::intrusive::size_type</link> / <link linkend="doxygen.structboost_1_1intrusive_1_1compare">boost::intrusive::compare</link> / <link linkend="doxygen.structboost_1_1intrusive_1_1equal">boost::intrusive::equal</link></para>
</listitem><listitem><para><link linkend="doxygen.structboost_1_1intrusive_1_1floating__point">boost::intrusive::floating_point</link> / <link linkend="doxygen.structboost_1_1intrusive_1_1priority">boost::intrusive::priority</link> / <link linkend="doxygen.structboost_1_1intrusive_1_1hash">boost::intrusive::hash</link></para>
</listitem><listitem><para><link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">boost::intrusive::value_traits</link> / <link linkend="doxygen.structboost_1_1intrusive_1_1member__hook">boost::intrusive::member_hook</link> / <link linkend="doxygen.structboost_1_1intrusive_1_1function__hook">boost::intrusive::function_hook</link> / <link linkend="doxygen.structboost_1_1intrusive_1_1base__hook">boost::intrusive::base_hook</link></para>
</listitem><listitem><para><link linkend="doxygen.structboost_1_1intrusive_1_1void__pointer">boost::intrusive::void_pointer</link> / <link linkend="doxygen.structboost_1_1intrusive_1_1tag">boost::intrusive::tag</link> / <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">boost::intrusive::link_mode</link></para>
</listitem><listitem><para><link linkend="doxygen.structboost_1_1intrusive_1_1optimize__size">boost::intrusive::optimize_size</link> / <link linkend="doxygen.structboost_1_1intrusive_1_1linear">boost::intrusive::linear</link> / <link linkend="doxygen.structboost_1_1intrusive_1_1cache__last">boost::intrusive::cache_last</link></para>
</listitem><listitem><para><link linkend="doxygen.structboost_1_1intrusive_1_1bucket__traits">boost::intrusive::bucket_traits</link> / <link linkend="doxygen.structboost_1_1intrusive_1_1store__hash">boost::intrusive::store_hash</link> / <link linkend="doxygen.structboost_1_1intrusive_1_1optimize__multikey">boost::intrusive::optimize_multikey</link></para>
</listitem><listitem><para><link linkend="doxygen.structboost_1_1intrusive_1_1power__2__buckets">boost::intrusive::power_2_buckets</link> / <link linkend="doxygen.structboost_1_1intrusive_1_1cache__begin">boost::intrusive::cache_begin</link> / <link linkend="doxygen.structboost_1_1intrusive_1_1compare__hash">boost::intrusive::compare_hash</link> / <link linkend="doxygen.structboost_1_1intrusive_1_1incremental">boost::intrusive::incremental</link></para>
</listitem></itemizedlist>
</para><para>It forward declares the following value traits utilities:<itemizedlist>
<listitem><para><link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">boost::intrusive::value_traits</link> / <link linkend="doxygen.structboost_1_1intrusive_1_1derivation__value__traits">boost::intrusive::derivation_value_traits</link> / <link linkend="doxygen.structboost_1_1intrusive_1_1trivial__value__traits">boost::intrusive::trivial_value_traits</link></para>
</listitem></itemizedlist>
</para><para>Finally it forward declares the following general purpose utilities:<itemizedlist>
<listitem><para><link linkend="doxygen.structboost_1_1intrusive_1_1pointer__plus__bits">boost::intrusive::pointer_plus_bits</link> / boost::intrusive::priority_compare. </para>
</listitem></itemizedlist>
</para></header>
<header id="doxygen.linear__slist__algorithms_8hpp" name="boost/intrusive/linear_slist_algorithms.hpp">
<namespace name="boost">
<namespace name="intrusive">
<class id="doxygen.classboost_1_1intrusive_1_1linear__slist__algorithms" name="linear_slist_algorithms"><template>
      <template-type-parameter name="NodeTraits"/>
    </template><description><para><link linkend="doxygen.classboost_1_1intrusive_1_1linear__slist__algorithms">linear_slist_algorithms</link> provides basic algorithms to manipulate nodes forming a linear singly linked list.</para><para><link linkend="doxygen.classboost_1_1intrusive_1_1linear__slist__algorithms">linear_slist_algorithms</link> is configured with a NodeTraits class, which encapsulates the information about the node to be manipulated. NodeTraits must support the following interface:</para><para><emphasis role="bold">Typedefs</emphasis>:</para><para><computeroutput>node</computeroutput>: The type of the node that forms the linear list</para><para><computeroutput>node_ptr</computeroutput>: A pointer to a node</para><para><computeroutput>const_node_ptr</computeroutput>: A pointer to a const node</para><para><emphasis role="bold">Static functions</emphasis>:</para><para><computeroutput>static node_ptr get_next(const_node_ptr n);</computeroutput></para><para><computeroutput>static void set_next(node_ptr n, node_ptr next);</computeroutput> </para></description><typedef id="doxygen.classboost_1_1intrusive_1_1linear__slist__algorithms_1ae63093a56f4d1507fa1236cee28587ce" name="node"><type>NodeTraits::node</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1linear__slist__algorithms_1a388221133b998964905bb60cdae0b1e5" name="node_ptr"><type>NodeTraits::node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1linear__slist__algorithms_1a609dc52346d23dd8fdb5e4cb5ad442cd" name="const_node_ptr"><type>NodeTraits::const_node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1linear__slist__algorithms_1a1e2fa80609da7253129e0f848c942a38" name="node_traits"><type>NodeTraits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1linear__slist__algorithms_1a91bea3fa925b0e049e619d7fbcbd6bb0" name="node_pair"><type>twin&lt; node_ptr &gt;</type></typedef>
<method-group name="public static functions">
<method id="doxygen.classboost_1_1intrusive_1_1linear__slist__algorithms_1a5f2d6db87b6a4fafc2eab8e225ec9cb0" name="init" cv="noexcept" specifiers="static"><type>void</type><parameter name="this_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Constructs an non-used list element, putting the next pointer to null: <computeroutput>NodeTraits::get_next(this_node) == node_ptr()</computeroutput></para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1linear__slist__algorithms_1ac4c918c0e16368f8bf51e53b5991be2a" name="unique" cv="noexcept" specifiers="static"><type>bool</type><parameter name="this_node"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: this_node must be in a circular list or be an empty circular list.</para><para><emphasis role="bold">Effects</emphasis>: Returns true is "this_node" is the only node of a circular list: or it's a not inserted node: <computeroutput>return node_ptr() == NodeTraits::get_next(this_node) || NodeTraits::get_next(this_node) == this_node</computeroutput></para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1linear__slist__algorithms_1a6c9dccdf4196e2be47c77e9e25ac09a7" name="inited" cv="noexcept" specifiers="static"><type>bool</type><parameter name="this_node"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Returns true is "this_node" has the same state as if it was inited using "init(node_ptr)"</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1linear__slist__algorithms_1afe3fcce14a80fbd34d4a9f5f96070bae" name="unlink_after" cv="noexcept" specifiers="static"><type>void</type><parameter name="prev_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: prev_node must be in a circular list or be an empty circular list.</para><para><emphasis role="bold">Effects</emphasis>: Unlinks the next node of prev_node from the circular list.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1linear__slist__algorithms_1a02b0396dacf3c426f8cd855aa6c362a1" name="unlink_after" cv="noexcept" specifiers="static"><type>void</type><parameter name="prev_node"><paramtype>node_ptr</paramtype></parameter><parameter name="last_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: prev_node and last_node must be in a circular list or be an empty circular list.</para><para><emphasis role="bold">Effects</emphasis>: Unlinks the range (prev_node, last_node) from the linear list.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1linear__slist__algorithms_1a77a596f873e1232012a2e97f88e4cf5f" name="link_after" cv="noexcept" specifiers="static"><type>void</type><parameter name="prev_node"><paramtype>node_ptr</paramtype></parameter><parameter name="this_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: prev_node must be a node of a linear list.</para><para><emphasis role="bold">Effects</emphasis>: Links this_node after prev_node in the linear list.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1linear__slist__algorithms_1a9c3bb49bb91783bbacad536311d15619" name="transfer_after" cv="noexcept" specifiers="static"><type>void</type><parameter name="p"><paramtype>node_ptr</paramtype></parameter><parameter name="b"><paramtype>node_ptr</paramtype></parameter><parameter name="e"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: b and e must be nodes of the same linear list or an empty range. and p must be a node of a different linear list.</para><para><emphasis role="bold">Effects</emphasis>: Removes the nodes from (b, e] range from their linear list and inserts them after p in p's linear list.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1linear__slist__algorithms_1aac8a9fe60b561e00392703551d973b63" name="init_header" cv="noexcept" specifiers="static"><type>void</type><parameter name="this_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Constructs an empty list, making this_node the only node of the circular list: <computeroutput>NodeTraits::get_next(this_node) == this_node</computeroutput>.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1linear__slist__algorithms_1a88310e287ec77dd8239827dd20d1023d" name="end_node" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name=""><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'p' is the first node of a list.</para><para><emphasis role="bold">Effects</emphasis>: Returns a pointer to a node that represents the "end" (one past end) node</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1linear__slist__algorithms_1a530a2440948a8346f10615725f4df2c1" name="is_empty" cv="noexcept" specifiers="static"><type>bool</type><parameter name="this_node"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Returns true if this_node_points to an empty list.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1linear__slist__algorithms_1a97bb619a4ab83419118fffd208c6ea42" name="is_sentinel" cv="noexcept" specifiers="static"><type>bool</type><parameter name="this_node"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Returns true if this_node points to a sentinel node.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1linear__slist__algorithms_1a7b3fea480e4cd8181f28f168062663ce" name="set_sentinel" cv="noexcept" specifiers="static"><type>void</type><parameter name="this_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Marks this node as a "sentinel" node, a special state that is different from "empty", that can be used to mark a special state of the list</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1linear__slist__algorithms_1afb95c3db10c4228b0ca03d7fd79dc065" name="get_previous_node" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="prev_init_node"><paramtype>node_ptr</paramtype></parameter><parameter name="this_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: this_node and prev_init_node must be in the same linear list.</para><para><emphasis role="bold">Effects</emphasis>: Returns the previous node of this_node in the linear list starting. the search from prev_init_node. The first node checked for equality is NodeTraits::get_next(prev_init_node).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements between prev_init_node and this_node.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1linear__slist__algorithms_1a767685437411c8f3fa206933fb14b881" name="count" cv="noexcept" specifiers="static"><type>std::size_t</type><parameter name="this_node"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: this_node must be in a linear list or be an empty linear list.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of nodes in a linear list. If the linear list is empty, returns 1.</para><para><emphasis role="bold">Complexity</emphasis>: Linear</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1linear__slist__algorithms_1a14f72f656bb27e5cbc60de03fceb5602" name="swap_trailing_nodes" cv="noexcept" specifiers="static"><type>void</type><parameter name="this_node"><paramtype>node_ptr</paramtype></parameter><parameter name="other_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: this_node and other_node must be nodes inserted in linear lists or be empty linear lists.</para><para><emphasis role="bold">Effects</emphasis>: Moves all the nodes previously chained after this_node after other_node and vice-versa.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1linear__slist__algorithms_1a89865f5a8f52e1f1ececb81b62c666c2" name="reverse" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="p"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Reverses the order of elements in the list.</para><para><emphasis role="bold">Returns</emphasis>: The new first node of the list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: This function is linear to the contained elements. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1linear__slist__algorithms_1aa45659ebc0bf46c77482662c16694fa6" name="move_first_n_backwards" cv="noexcept" specifiers="static"><type>node_pair</type><parameter name="p"><paramtype>node_ptr</paramtype></parameter><parameter name="n"><paramtype>std::size_t</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Moves the first n nodes starting at p to the end of the list.</para><para><emphasis role="bold">Returns</emphasis>: A pair containing the new first and last node of the list or if there has been any movement, a null pair if n leads to no movement.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements plus the number moved positions. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1linear__slist__algorithms_1a71e31b7b2e886c6728ee9a479bc76d15" name="move_first_n_forward" cv="noexcept" specifiers="static"><type>node_pair</type><parameter name="p"><paramtype>node_ptr</paramtype></parameter><parameter name="n"><paramtype>std::size_t</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Moves the first n nodes starting at p to the beginning of the list.</para><para><emphasis role="bold">Returns</emphasis>: A pair containing the new first and last node of the list or if there has been any movement, a null pair if n leads to no movement.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements plus the number moved positions. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1linear__slist__algorithms_1a01185e4c0c410a899cea02f84b258d9d" name="transfer_after" cv="noexcept" specifiers="static"><type>void</type><parameter name="p"><paramtype>node_ptr</paramtype></parameter><parameter name="other"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: other must be a list and p must be a node of a different linear list.</para><para><emphasis role="bold">Effects</emphasis>: Transfers all nodes from other after p in p's linear list.</para><para><emphasis role="bold">Complexity</emphasis>: Linear</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1linear__slist__algorithms_1a6047008c64b859796d8c89e77e9955a3" name="detach_and_dispose" cv="noexcept" specifiers="static"><type>std::size_t</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="p"><paramtype>node_ptr</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "disposer" must be an object function taking a node_ptr parameter and shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Unlinks all nodes reachable from p (but not p) and calls <computeroutput>void disposer::operator()(node_ptr)</computeroutput> for every node of the list where p is linked.</para><para><emphasis role="bold">Returns</emphasis>: The number of disposed nodes</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of element of the list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
</method-group>
</class>



























































</namespace>
</namespace>
</header>
<header id="doxygen.link__mode_8hpp" name="boost/intrusive/link_mode.hpp">
<namespace name="boost">
<namespace name="intrusive">
<enum id="doxygen.link__mode_8hpp_1a78f33f6f20c898563c4449b5cff5d9c3" name="link_mode_type"><enumvalue id="doxygen.link__mode_8hpp_1a78f33f6f20c898563c4449b5cff5d9c3a4c3d2e712478e5909d4b7894d1013efd" name="normal_link"><description><para>If this linking policy is specified in a <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> class as the <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link>, containers configured with such <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> won't set the hooks of the erased values to a default state. Containers also won't check that the hooks of the new values are default initialized. </para></description></enumvalue><enumvalue id="doxygen.link__mode_8hpp_1a78f33f6f20c898563c4449b5cff5d9c3a6986f7668fffa8430436c1570947d6b8" name="safe_link"><description><para>If this linking policy is specified in a <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> class as the <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link>, containers configured with such <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> will set the hooks of the erased values to a default state. Containers also will check that the hooks of the new values are default initialized. </para></description></enumvalue><enumvalue id="doxygen.link__mode_8hpp_1a78f33f6f20c898563c4449b5cff5d9c3a011376ecf7089c0e51487138c86c88b6" name="auto_unlink"><description><para>Same as "safe_link" but the user type is an auto-unlink type, so the containers with constant-time size features won't be compatible with <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> configured with this policy. Containers also know that the a value can be silently erased from the container without using any function provided by the containers. </para></description></enumvalue><description><para>This enumeration defines the type of <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> that can be defined for Boost.Intrusive containers </para></description></enum>




























































</namespace>
</namespace>
</header>
<header id="doxygen.list_8hpp" name="boost/intrusive/list.hpp">
<namespace name="boost">
<namespace name="intrusive">
<class id="doxygen.classboost_1_1intrusive_1_1list" name="list"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>The class template list is an intrusive container that mimics most of the interface of std::list as described in the C++ standard.</para><para>The template parameter <computeroutput>T</computeroutput> is the type to be managed by the container. The user can specify additional options and if no options are provided default options are used.</para><para>The container supports the following options: <computeroutput>base_hook&lt;&gt;/member_hook&lt;&gt;/value_traits&lt;&gt;</computeroutput>, <computeroutput>constant_time_size&lt;&gt;</computeroutput> and <computeroutput>size_type&lt;&gt;</computeroutput>. </para></description><typedef id="doxygen.classboost_1_1intrusive_1_1list_1a985d44369a35024e65a0204ea012e08e" name="value_traits"><type>ValueTraits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1list_1a214b7d75f518f5fa6234af51ecfc3024" name="pointer"><type>value_traits::pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1list_1abc6a1165308482b7fd58e37ad236c8c7" name="const_pointer"><type>value_traits::const_pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1list_1a421d6aee975cda1b9118e4c07610eaa7" name="value_type"><type><classname>pointer_traits</classname>&lt; pointer &gt;::element_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1list_1aee9a84ab1fcfed336e947a62fcee4843" name="reference"><type><classname>pointer_traits</classname>&lt; pointer &gt;::reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1list_1a60b93ac8856aadaa2ec8545c36a87b67" name="const_reference"><type><classname>pointer_traits</classname>&lt; const_pointer &gt;::reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1list_1a4e2615293afa02b443f344bcc1f1bcf6" name="difference_type"><type><classname>pointer_traits</classname>&lt; pointer &gt;::difference_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1list_1aab02e26f21ba5e37b8dc25c713e62880" name="size_type"><type>SizeType</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1list_1a47133dbac742951a62fb5c0d325ab384" name="iterator"><type>list_iterator&lt; value_traits, false &gt;</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1list_1a53ee5ac7fb1c491df35e151f62f59d78" name="const_iterator"><type>list_iterator&lt; value_traits, true &gt;</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1list_1a0490fedd97508333e0126026561c4be1" name="reverse_iterator"><type>boost::intrusive::reverse_iterator&lt; iterator &gt;</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1list_1afd3b2dc27de4ff448db60ef9e489646c" name="const_reverse_iterator"><type>boost::intrusive::reverse_iterator&lt; const_iterator &gt;</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1list_1a6bdc311b68acba7be428b39fc42db572" name="node_traits"><type>value_traits::node_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1list_1a5d8d41fcf5785b4716ec811d1bc9b764" name="node"><type>node_traits::node</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1list_1a728faa17576579e2feda8055dcee81b0" name="node_ptr"><type>node_traits::node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1list_1af957167f1040d48ab0024019c94a5ff0" name="const_node_ptr"><type>node_traits::const_node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1list_1a1f9de3cac6f9884644bcfd79400c3b0d" name="node_algorithms"><type><classname>circular_list_algorithms</classname>&lt; node_traits &gt;</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1list_1afa1e6c3b692efa02d6196e69012b1b84" name="header_holder_type"><type><emphasis>unspecified</emphasis></type></typedef>
<data-member id="doxygen.classboost_1_1intrusive_1_1list_1a9dbdaad4648528c497b41355d39e5e02" name="constant_time_size" specifiers="static"><type>const bool</type></data-member>
<data-member id="doxygen.classboost_1_1intrusive_1_1list_1a92983e9982f81248ed6029908af85327" name="stateful_value_traits" specifiers="static"><type>const bool</type></data-member>
<data-member id="doxygen.classboost_1_1intrusive_1_1list_1a9ee6dc1b06d33b40ce9ff7df346a8345" name="has_container_from_iterator" specifiers="static"><type>const bool</type></data-member>
<method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1list_1ad0c63604a98fb2fbbaec0f4f43c12f34"><description><para><emphasis role="bold">Effects</emphasis>: constructs an empty list.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node constructor throws (this does not happen with predefined Boost.Intrusive hooks). </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1list_1ae40b2211648c4643f90f3c16fe3d07a7" specifiers="explicit"><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: constructs an empty list.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node constructor throws (this does not happen with predefined Boost.Intrusive hooks). </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1list_1a1ef7eca62a55189e8da0c6d2c252d46e"><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type.</para><para><emphasis role="bold">Effects</emphasis>: Constructs a list equal to the range [first,last).</para><para><emphasis role="bold">Complexity</emphasis>: Linear in distance(b, e). No copy constructors are called.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node constructor throws (this does not happen with predefined Boost.Intrusive hooks). </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1list_1a5afa7f7c0ec109622bafe9492a631a73"><parameter name="x"><paramtype><classname>list</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Constructs a container moving resources from another container. Internal value traits are move constructed and nodes belonging to x (except the node representing the "end") are linked to *this.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node's move constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the move constructor of value traits throws. </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1list_1ad10e2544ef8086bcdb6d74d9cbcdc462"><type><classname>list</classname> &amp;</type><parameter name="x"><paramtype><classname>list</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Equivalent to swap </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1list_1a0ac3ca9b6aa98b1fa1100508d17ebf43"><description><para><emphasis role="bold">Effects</emphasis>: If it's not a safe-mode or an auto-unlink value_type the destructor does nothing (ie. no code is generated). Otherwise it detaches all elements from this. In this case the objects in the list are not deleted (i.e. no destructors are called), but the hooks according to the ValueTraits template parameter are set to their default value.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements in the list, if it's a safe-mode or auto-unlink value . Otherwise constant. </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1list_1ad97526a9559c899006a5e21c0aaba092" name="push_back" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue.</para><para><emphasis role="bold">Effects</emphasis>: Inserts the value in the back of the list. No copy constructors are called.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a586ed16a809412d678ba1225ac8316b9" name="push_front" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue.</para><para><emphasis role="bold">Effects</emphasis>: Inserts the value in the front of the list. No copy constructors are called.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a41b56679a9abcea2a0ca51e98e0110d7" name="pop_back" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Erases the last element of the list. No destructors are called.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased element. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1aa93173eaf8c78a3ea6698f8a42cb466b" name="pop_back_and_dispose" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases the last element of the list. No destructors are called. Disposer::operator()(pointer) is called for the removed element.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased element. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a8d1687b611e5a1d4178cb6ebe284ed11" name="pop_front" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Erases the first element of the list. No destructors are called.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased element. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a13a912a68a7f9b9bfa337b95c8520d16" name="pop_front_and_dispose" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases the first element of the list. No destructors are called. Disposer::operator()(pointer) is called for the removed element.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased element. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a951874e4ce83665bf9f2c2e2753ff808" name="front" cv="noexcept"><type>reference</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reference to the first element of the list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1ae91cf2ec0531df3b6a89b03c639d95bc" name="front" cv="const noexcept"><type>const_reference</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reference to the first element of the list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a83987ce3d5997b8187c9b094dcbf63d1" name="back" cv="noexcept"><type>reference</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reference to the last element of the list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1ad4ff4def188411499e0e48866b35b9d9" name="back" cv="const noexcept"><type>const_reference</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reference to the last element of the list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1afb49d4991111161f971371251a664787" name="begin" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element contained in the list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a1bcbc1e924776a8dfc2281e83c2eb2b9" name="begin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator to the first element contained in the list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1ad6bcea2ae323b44aec87546f9e7a40bb" name="cbegin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator to the first element contained in the list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a3b2796bfd67cb0ca2832e24786790996" name="end" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the end of the list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a900f24c455a4a19ddf8fc6fc88b54b2a" name="end" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator to the end of the list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1adb6a9fc06d2a868407a9ab2495c80e78" name="cend" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a constant iterator to the end of the list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1abe68c3a9ef81a9ad36086db3b4eeb988" name="rbegin" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the beginning of the reversed list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a3e2ccde26c36f5f82965bfd588e2b24d" name="rbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a2200fa7f1520ee5b3a0fcd08dc7aae26" name="crbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1aa1318b9ddafb1e9e16723acfd8cee512" name="rend" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the end of the reversed list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1ac8c776abdedb43c79f93cd236860c5da" name="rend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a0e99e18c1b79b02a3b52327a014cb66b" name="crend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a37f32d45ded5bec6875d394b1604cd6a" name="size" cv="const noexcept"><type>size_type</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the number of the elements contained in the list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements contained in the list. if constant-time size option is disabled. Constant time otherwise.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1affc274e6001eff8b27ca023907185c5b" name="empty" cv="const noexcept"><type>bool</type><description><para><emphasis role="bold">Effects</emphasis>: Returns true if the list contains no elements.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a422e1f7f9e7b00069b312be95c8258d7" name="swap" cv="noexcept"><type>void</type><parameter name="other"><paramtype><classname>list</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Swaps the elements of x and *this.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1aeaa504a99438df3ae420f65fd1befd03" name="shift_backwards" cv="noexcept"><type>void</type><parameter name="n"><paramtype>size_type</paramtype><default>1</default></parameter><description><para><emphasis role="bold">Effects</emphasis>: Moves backwards all the elements, so that the first element becomes the second, the second becomes the third... the last element becomes the first one.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of shifts.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a570cee0d8d118f30f0961592f713c4ff" name="shift_forward" cv="noexcept"><type>void</type><parameter name="n"><paramtype>size_type</paramtype><default>1</default></parameter><description><para><emphasis role="bold">Effects</emphasis>: Moves forward all the elements, so that the second element becomes the first, the third becomes the second... the first element becomes the last one.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of shifts.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1acf2430b91167248da60c2501d19ea7f2" name="erase" cv="noexcept"><type>iterator</type><parameter name="i"><paramtype>const_iterator</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases the element pointed by i of the list. No destructors are called.</para><para><emphasis role="bold">Returns</emphasis>: the first element remaining beyond the removed element, or <link linkend="doxygen.classboost_1_1intrusive_1_1list_1a3b2796bfd67cb0ca2832e24786790996">end()</link> if no such element exists.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased element. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a62a300b5ac8d90effbdd5c42f7b177cd" name="erase" cv="noexcept"><type>iterator</type><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: b and e must be valid iterators to elements in *this.</para><para><emphasis role="bold">Effects</emphasis>: Erases the element range pointed by b and e No destructors are called.</para><para><emphasis role="bold">Returns</emphasis>: the first element remaining beyond the removed elements, or <link linkend="doxygen.classboost_1_1intrusive_1_1list_1a3b2796bfd67cb0ca2832e24786790996">end()</link> if no such element exists.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of erased elements if it's a safe-mode or auto-unlink value, or constant-time size is enabled. Constant-time otherwise.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a33031305bbe4989af154dc29de2e1fe2" name="erase" cv="noexcept"><type>iterator</type><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter><parameter name="n"><paramtype>size_type</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: b and e must be valid iterators to elements in *this. n must be distance(b, e).</para><para><emphasis role="bold">Effects</emphasis>: Erases the element range pointed by b and e No destructors are called.</para><para><emphasis role="bold">Returns</emphasis>: the first element remaining beyond the removed elements, or <link linkend="doxygen.classboost_1_1intrusive_1_1list_1a3b2796bfd67cb0ca2832e24786790996">end()</link> if no such element exists.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of erased elements if it's a safe-mode or auto-unlink value is enabled. Constant-time otherwise.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1ae114f1f6a62a15c3c6d93912c1064358" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="i"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases the element pointed by i of the list. No destructors are called. Disposer::operator()(pointer) is called for the removed element.</para><para><emphasis role="bold">Returns</emphasis>: the first element remaining beyond the removed element, or <link linkend="doxygen.classboost_1_1intrusive_1_1list_1a3b2796bfd67cb0ca2832e24786790996">end()</link> if no such element exists.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased element. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a759198e5dbf81accad3bf880c0136306" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases the element range pointed by b and e No destructors are called. Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Returns</emphasis>: the first element remaining beyond the removed elements, or <link linkend="doxygen.classboost_1_1intrusive_1_1list_1a3b2796bfd67cb0ca2832e24786790996">end()</link> if no such element exists.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements erased.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased elements. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a043f148d16219430aff57e0f67842c98" name="clear" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Erases all the elements of the container. No destructors are called.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements of the list. if it's a safe-mode or auto-unlink value_type. Constant time otherwise.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a03bdfdb82c1efd70dba1957cae0d8941" name="clear_and_dispose" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements of the container. No destructors are called. Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements of the list.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased elements. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1ab450633e5d1877cd97c69f1a0dcab529" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype>const <classname>list</classname> &amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(const_reference ) and inserts them on *this.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws. Basic guarantee. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a91c26bf198be4afe3d8b5f361172da96" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype><classname>list</classname> &amp;&amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(reference) and inserts them on *this.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws. Basic guarantee. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a6e75f01aa720c3b9fd122486327b2fd5" name="insert" cv="noexcept"><type>iterator</type><parameter name="p"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue and p must be a valid iterator of *this.</para><para><emphasis role="bold">Effects</emphasis>: Inserts the value before the position pointed by p.</para><para><emphasis role="bold">Returns</emphasis>: An iterator to the inserted element.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time. No copy constructors are called.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1aa30e76f3e128402ecd101abafcf2b0fa" name="insert" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="p"><paramtype>const_iterator</paramtype></parameter><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type and p must be a valid iterator of *this.</para><para><emphasis role="bold">Effects</emphasis>: Inserts the range pointed by b and e before the position p. No copy constructors are called.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements inserted.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1adcb6772facf04de438e57f7747f72e99" name="assign" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type.</para><para><emphasis role="bold">Effects</emphasis>: Clears the list and inserts the range pointed by b and e. No destructors or copy constructors are called.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements inserted plus linear to the elements contained in the list if it's a safe-mode or auto-unlink value. Linear to the number of elements inserted in the list otherwise.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1ae3f6aae83c6291dfcdada07ceac24d51" name="dispose_and_assign" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Iterator"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type.</para><para><emphasis role="bold">Effects</emphasis>: Clears the list and inserts the range pointed by b and e. No destructors or copy constructors are called. Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements inserted plus linear to the elements contained in the list.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a3212224591f19c3d5fd7692453983006" name="splice" cv="noexcept"><type>void</type><parameter name="p"><paramtype>const_iterator</paramtype></parameter><parameter name="x"><paramtype><classname>list</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: p must be a valid iterator of *this.</para><para><emphasis role="bold">Effects</emphasis>: Transfers all the elements of list x to this list, before the the element pointed by p. No destructors or copy constructors are called.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Note</emphasis>: Iterators of values obtained from list x now point to elements of this list. Iterators of this list and all the references are not invalidated. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a47d58d38f572de3285263f5ad3a658cc" name="splice" cv="noexcept"><type>void</type><parameter name="p"><paramtype>const_iterator</paramtype></parameter><parameter name="x"><paramtype><classname>list</classname> &amp;</paramtype></parameter><parameter name="new_ele"><paramtype>const_iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: p must be a valid iterator of *this. new_ele must point to an element contained in list x.</para><para><emphasis role="bold">Effects</emphasis>: Transfers the value pointed by new_ele, from list x to this list, before the element pointed by p. No destructors or copy constructors are called. If p == new_ele or p == ++new_ele, this function is a null operation.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Note</emphasis>: Iterators of values obtained from list x now point to elements of this list. Iterators of this list and all the references are not invalidated. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a073b156c192223abdba17c56024a5279" name="splice" cv="noexcept"><type>void</type><parameter name="p"><paramtype>const_iterator</paramtype></parameter><parameter name="x"><paramtype><classname>list</classname> &amp;</paramtype></parameter><parameter name="f"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: p must be a valid iterator of *this. f and e must point to elements contained in list x.</para><para><emphasis role="bold">Effects</emphasis>: Transfers the range pointed by f and e from list x to this list, before the element pointed by p. No destructors or copy constructors are called.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements transferred if constant-time size option is enabled. Constant-time otherwise.</para><para><emphasis role="bold">Note</emphasis>: Iterators of values obtained from list x now point to elements of this list. Iterators of this list and all the references are not invalidated. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a3e4fdf25968acb0a91abe24bd4b304dd" name="splice" cv="noexcept"><type>void</type><parameter name="p"><paramtype>const_iterator</paramtype></parameter><parameter name="x"><paramtype><classname>list</classname> &amp;</paramtype></parameter><parameter name="f"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter><parameter name="n"><paramtype>size_type</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: p must be a valid iterator of *this. f and e must point to elements contained in list x. n == distance(f, e)</para><para><emphasis role="bold">Effects</emphasis>: Transfers the range pointed by f and e from list x to this list, before the element pointed by p. No destructors or copy constructors are called.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Note</emphasis>: Iterators of values obtained from list x now point to elements of this list. Iterators of this list and all the references are not invalidated. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1aaff11e279a5ddb81b80d5a5125940636" name="sort"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: This function sorts the list *this according to operator &lt;. The sort is stable, that is, the relative order of equivalent elements is preserved.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node constructor throws (this does not happen with predefined Boost.Intrusive hooks) or operator &lt; throws. Basic guarantee.</para><para><emphasis role="bold">Notes</emphasis>: Iterators and references are not invalidated.</para><para><emphasis role="bold">Complexity</emphasis>: The number of comparisons is approximately N log N, where N is the list's size. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1aa3821c344d08f61727f81b03f1cc4702" name="sort"><type>void</type><template>
          <template-type-parameter name="Predicate"/>
        </template><parameter name="p"><paramtype>Predicate</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: p must be a comparison function that induces a strict weak ordering</para><para><emphasis role="bold">Effects</emphasis>: This function sorts the list *this according to p. The sort is stable, that is, the relative order of equivalent elements is preserved.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the predicate throws. Basic guarantee.</para><para><emphasis role="bold">Notes</emphasis>: This won't throw if list_base_hook&lt;&gt; or <link linkend="doxygen.classboost_1_1intrusive_1_1list__member__hook">list_member_hook</link> are used. Iterators and references are not invalidated.</para><para><emphasis role="bold">Complexity</emphasis>: The number of comparisons is approximately N log N, where N is the list's size. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a5de7ac4f75ba6255edd47ccb7eb9c6f4" name="merge"><type>void</type><parameter name="x"><paramtype><classname>list</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: This function removes all of x's elements and inserts them in order into *this according to operator &lt;. The merge is stable; that is, if an element from *this is equivalent to one from x, then the element from *this will precede the one from x.</para><para><emphasis role="bold">Throws</emphasis>: If operator &lt; throws. Basic guarantee.</para><para><emphasis role="bold">Complexity</emphasis>: This function is linear time: it performs at most <link linkend="doxygen.classboost_1_1intrusive_1_1list_1a37f32d45ded5bec6875d394b1604cd6a">size()</link> + x.size() - 1 comparisons.</para><para><emphasis role="bold">Note</emphasis>: Iterators and references are not invalidated </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a6c8f9750f4aba1dd130f1787a7a57778" name="merge"><type>void</type><template>
          <template-type-parameter name="Predicate"/>
        </template><parameter name="x"><paramtype><classname>list</classname> &amp;</paramtype></parameter><parameter name="p"><paramtype>Predicate</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: p must be a comparison function that induces a strict weak ordering and both *this and x must be sorted according to that ordering The lists x and *this must be distinct.</para><para><emphasis role="bold">Effects</emphasis>: This function removes all of x's elements and inserts them in order into *this. The merge is stable; that is, if an element from *this is equivalent to one from x, then the element from *this will precede the one from x.</para><para><emphasis role="bold">Throws</emphasis>: If the predicate throws. Basic guarantee.</para><para><emphasis role="bold">Complexity</emphasis>: This function is linear time: it performs at most <link linkend="doxygen.classboost_1_1intrusive_1_1list_1a37f32d45ded5bec6875d394b1604cd6a">size()</link> + x.size() - 1 comparisons.</para><para><emphasis role="bold">Note</emphasis>: Iterators and references are not invalidated. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a4b546d17acc447a2a651beeed102a33c" name="reverse" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Reverses the order of elements in the list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: This function is linear time.</para><para><emphasis role="bold">Note</emphasis>: Iterators and references are not invalidated </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1abe8373184d4c87ed6517d3757840e533" name="remove" cv="noexcept"><type>void</type><parameter name="value"><paramtype>const_reference</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Removes all the elements that compare equal to value. No destructors are called.</para><para><emphasis role="bold">Throws</emphasis>: If operator == throws. Basic guarantee.</para><para><emphasis role="bold">Complexity</emphasis>: Linear time. It performs exactly <link linkend="doxygen.classboost_1_1intrusive_1_1list_1a37f32d45ded5bec6875d394b1604cd6a">size()</link> comparisons for equality.</para><para><emphasis role="bold">Note</emphasis>: The relative order of elements that are not removed is unchanged, and iterators to elements that are not removed remain valid. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1ad9f42ec6c40374fb41fbc2405bb3aa54" name="remove_and_dispose" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="value"><paramtype>const_reference</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Removes all the elements that compare equal to value. Disposer::operator()(pointer) is called for every removed element.</para><para><emphasis role="bold">Throws</emphasis>: If operator == throws. Basic guarantee.</para><para><emphasis role="bold">Complexity</emphasis>: Linear time. It performs exactly <link linkend="doxygen.classboost_1_1intrusive_1_1list_1a37f32d45ded5bec6875d394b1604cd6a">size()</link> comparisons for equality.</para><para><emphasis role="bold">Note</emphasis>: The relative order of elements that are not removed is unchanged, and iterators to elements that are not removed remain valid. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a4f8a1cc8bb38fe6da372a860c505a78d" name="remove_if"><type>void</type><template>
          <template-type-parameter name="Pred"/>
        </template><parameter name="pred"><paramtype>Pred</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Removes all the elements for which a specified predicate is satisfied. No destructors are called.</para><para><emphasis role="bold">Throws</emphasis>: If pred throws. Basic guarantee.</para><para><emphasis role="bold">Complexity</emphasis>: Linear time. It performs exactly <link linkend="doxygen.classboost_1_1intrusive_1_1list_1a37f32d45ded5bec6875d394b1604cd6a">size()</link> calls to the predicate.</para><para><emphasis role="bold">Note</emphasis>: The relative order of elements that are not removed is unchanged, and iterators to elements that are not removed remain valid. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a1870dc8c53d839e8eeddba76a4dc46a2" name="remove_and_dispose_if"><type>void</type><template>
          <template-type-parameter name="Pred"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="pred"><paramtype>Pred</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Removes all the elements for which a specified predicate is satisfied. Disposer::operator()(pointer) is called for every removed element.</para><para><emphasis role="bold">Throws</emphasis>: If pred throws. Basic guarantee.</para><para><emphasis role="bold">Complexity</emphasis>: Linear time. It performs exactly <link linkend="doxygen.classboost_1_1intrusive_1_1list_1a37f32d45ded5bec6875d394b1604cd6a">size()</link> comparisons for equality.</para><para><emphasis role="bold">Note</emphasis>: The relative order of elements that are not removed is unchanged, and iterators to elements that are not removed remain valid. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a3388a3cf109f85a1dad6dbbacd982a36" name="unique"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Removes adjacent duplicate elements or adjacent elements that are equal from the list. No destructors are called.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison operator throws. Basic guarantee.</para><para><emphasis role="bold">Complexity</emphasis>: Linear time (<link linkend="doxygen.classboost_1_1intrusive_1_1list_1a37f32d45ded5bec6875d394b1604cd6a">size()</link>-1 comparisons calls to pred()).</para><para><emphasis role="bold">Note</emphasis>: The relative order of elements that are not removed is unchanged, and iterators to elements that are not removed remain valid. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a13c7cc421b2c7efab4b13a6e3a420d84" name="unique"><type>void</type><template>
          <template-type-parameter name="BinaryPredicate"/>
        </template><parameter name="pred"><paramtype>BinaryPredicate</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Removes adjacent duplicate elements or adjacent elements that satisfy some binary predicate from the list. No destructors are called.</para><para><emphasis role="bold">Throws</emphasis>: If pred throws. Basic guarantee.</para><para><emphasis role="bold">Complexity</emphasis>: Linear time (<link linkend="doxygen.classboost_1_1intrusive_1_1list_1a37f32d45ded5bec6875d394b1604cd6a">size()</link>-1 comparisons equality comparisons).</para><para><emphasis role="bold">Note</emphasis>: The relative order of elements that are not removed is unchanged, and iterators to elements that are not removed remain valid. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1ad87c9a03fb873f42909c3520c2b2992b" name="unique_and_dispose"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Removes adjacent duplicate elements or adjacent elements that are equal from the list. Disposer::operator()(pointer) is called for every removed element.</para><para><emphasis role="bold">Throws</emphasis>: If the equality operator throws. Basic guarantee.</para><para><emphasis role="bold">Complexity</emphasis>: Linear time (<link linkend="doxygen.classboost_1_1intrusive_1_1list_1a37f32d45ded5bec6875d394b1604cd6a">size()</link>-1) comparisons equality comparisons.</para><para><emphasis role="bold">Note</emphasis>: The relative order of elements that are not removed is unchanged, and iterators to elements that are not removed remain valid. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1ad7806e8639fae3225a5e0d1a3cc8a2b0" name="unique_and_dispose"><type>void</type><template>
          <template-type-parameter name="BinaryPredicate"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="pred"><paramtype>BinaryPredicate</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Removes adjacent duplicate elements or adjacent elements that satisfy some binary predicate from the list. Disposer::operator()(pointer) is called for every removed element.</para><para><emphasis role="bold">Throws</emphasis>: If pred throws. Basic guarantee.</para><para><emphasis role="bold">Complexity</emphasis>: Linear time (<link linkend="doxygen.classboost_1_1intrusive_1_1list_1a37f32d45ded5bec6875d394b1604cd6a">size()</link>-1) comparisons equality comparisons.</para><para><emphasis role="bold">Note</emphasis>: The relative order of elements that are not removed is unchanged, and iterators to elements that are not removed remain valid. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a67823b0e3f23d5b83e0642ca5fd92ade" name="iterator_to" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be a reference to a value inserted in a list.</para><para><emphasis role="bold">Effects</emphasis>: This function returns a const_iterator pointing to the element</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Note</emphasis>: Iterators and references are not invalidated. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1aa00740cbc8811b20ef6cfb2bfe1dc589" name="iterator_to" cv="const noexcept"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be a const reference to a value inserted in a list.</para><para><emphasis role="bold">Effects</emphasis>: This function returns an iterator pointing to the element.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Note</emphasis>: Iterators and references are not invalidated. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a0bdaaff4d5357be6e1d6817f22e176c1" name="check" cv="const"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Asserts the integrity of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Linear time.</para><para><emphasis role="bold">Note</emphasis>: The method has no effect when asserts are turned off (e.g., with NDEBUG). Experimental function, interface might change in future versions. </para></description></method>
</method-group>
<method-group name="public static functions">
<method id="doxygen.classboost_1_1intrusive_1_1list_1a706c94988834ddcaf00ea4422b3e3dbc" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type><classname>list</classname> &amp;</type><parameter name="end_iterator"><paramtype>iterator</paramtype></parameter><description><para><emphasis role="bold">Precondition</emphasis>: end_iterator must be a valid end iterator of list.</para><para><emphasis role="bold">Effects</emphasis>: Returns a const reference to the list associated to the end iterator</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a89349e7583d04acab96df2adcdbf21e5" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type>const <classname>list</classname> &amp;</type><parameter name="end_iterator"><paramtype>const_iterator</paramtype></parameter><description><para><emphasis role="bold">Precondition</emphasis>: end_iterator must be a valid end const_iterator of list.</para><para><emphasis role="bold">Effects</emphasis>: Returns a const reference to the list associated to the end iterator</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1a98d78c61de9955d8429c6df62bc4dfbc" name="s_iterator_to" cv="noexcept" specifiers="static"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be a reference to a value inserted in a list.</para><para><emphasis role="bold">Effects</emphasis>: This function returns a const_iterator pointing to the element</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Note</emphasis>: Iterators and references are not invalidated. This static function is available only if the <emphasis>value traits</emphasis> is stateless. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list_1ae7f075a437ffe8a66cf0347ed7fd22c8" name="s_iterator_to" cv="noexcept" specifiers="static"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be a const reference to a value inserted in a list.</para><para><emphasis role="bold">Effects</emphasis>: This function returns an iterator pointing to the element.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Note</emphasis>: Iterators and references are not invalidated. This static function is available only if the <emphasis>value traits</emphasis> is stateless. </para></description></method>
</method-group>
</class><struct id="doxygen.structboost_1_1intrusive_1_1make__list" name="make_list"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define a <computeroutput>list</computeroutput> that yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__list_1a7800459672bc52359ec3369f71fbdc2a" name="type"><type>implementation_defined</type></typedef>
</struct>



























































</namespace>
</namespace>
</header>
<header id="doxygen.list__hook_8hpp" name="boost/intrusive/list_hook.hpp">
<namespace name="boost">
<namespace name="intrusive">
<class id="doxygen.classboost_1_1intrusive_1_1list__base__hook" name="list_base_hook"><template>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><inherit access="public">make_list_base_hook::type</inherit><description><para>Derive a class from this hook in order to store objects of that class in an list.</para><para>The hook admits the following options: <computeroutput>tag&lt;&gt;</computeroutput>, <computeroutput>void_pointer&lt;&gt;</computeroutput> and <computeroutput>link_mode&lt;&gt;</computeroutput>.</para><para><computeroutput>tag&lt;&gt;</computeroutput> defines a tag to identify the node. The same tag value can be used in different classes, but if a class is derived from more than one <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1list__base__hook">list_base_hook</link></computeroutput>, then each <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1list__base__hook">list_base_hook</link></computeroutput> needs its unique tag.</para><para><computeroutput>link_mode&lt;&gt;</computeroutput> will specify the linking mode of the hook (<computeroutput>normal_link</computeroutput>, <computeroutput>auto_unlink</computeroutput> or <computeroutput>safe_link</computeroutput>).</para><para><computeroutput>void_pointer&lt;&gt;</computeroutput> is the pointer type that will be used internally in the hook and the container configured to use this hook. </para></description><method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1list__base__hook_1aba0d76401ed0ae50477a15c2ed779bb0" cv="noexcept"><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput> or <computeroutput>safe_link</computeroutput> initializes the node to an unlinked state.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1list__base__hook_1afdf1cfea0aac76c758d0487ed6672346" cv="noexcept"><parameter name=""><paramtype>const <classname>list_base_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput> or <computeroutput>safe_link</computeroutput> initializes the node to an unlinked state. The argument is ignored.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Rationale</emphasis>: Providing a copy-constructor makes classes using the hook STL-compliant without forcing the user to do some additional work. <computeroutput>swap</computeroutput> can be used to emulate move-semantics. </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1list__base__hook_1ab6d21333ac52295103b5025a282cf187" cv="noexcept"><type><classname>list_base_hook</classname> &amp;</type><parameter name=""><paramtype>const <classname>list_base_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Empty function. The argument is ignored.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Rationale</emphasis>: Providing an assignment operator makes classes using the hook STL-compliant without forcing the user to do some additional work. <computeroutput>swap</computeroutput> can be used to emulate move-semantics. </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1list__base__hook_1a47f640b3a9e6d22b7ef53b25cc549fcd"><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>normal_link</computeroutput>, the destructor does nothing (ie. no code is generated). If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>safe_link</computeroutput> and the object is stored in an list an assertion is raised. If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput> and <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1list__base__hook_1aabb9d639e4a19d71988c4e09c287c99c">is_linked()</link></computeroutput> is true, the node is unlinked.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1list__base__hook_1abef7efcb2db32fb0a73893a65de91580" name="swap_nodes" cv="noexcept"><type>void</type><parameter name="other"><paramtype><classname>list_base_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Swapping two nodes swaps the position of the elements related to those nodes in one or two containers. That is, if the node this is part of the element e1, the node x is part of the element e2 and both elements are included in the containers s1 and s2, then after the swap-operation e1 is in s2 at the position of e2 and e2 is in s1 at the position of e1. If one element is not in a container, then after the swap-operation the other element is not in a container. Iterators to e1 and e2 related to those nodes are invalidated.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list__base__hook_1aabb9d639e4a19d71988c4e09c287c99c" name="is_linked" cv="const"><type>bool</type><description><para><emphasis role="bold">Precondition</emphasis>: <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> must be <computeroutput>safe_link</computeroutput> or <computeroutput>auto_unlink</computeroutput>.</para><para><emphasis role="bold">Returns</emphasis>: true, if the node belongs to a container, false otherwise. This function can be used to test whether <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1list_1a67823b0e3f23d5b83e0642ca5fd92ade">list::iterator_to</link></computeroutput> will return a valid iterator.</para><para><emphasis role="bold">Complexity</emphasis>: Constant </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list__base__hook_1a2dce27d85b889511313c7507b6a26382" name="unlink" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Removes the node if it's inserted in a container. This function is only allowed if <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput>.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
</method-group>
</class><class id="doxygen.classboost_1_1intrusive_1_1list__member__hook" name="list_member_hook"><template>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><inherit access="public">make_list_member_hook::type</inherit><description><para>Store this hook in a class to be inserted in an list.</para><para>The hook admits the following options: <computeroutput>void_pointer&lt;&gt;</computeroutput> and <computeroutput>link_mode&lt;&gt;</computeroutput>.</para><para><computeroutput>link_mode&lt;&gt;</computeroutput> will specify the linking mode of the hook (<computeroutput>normal_link</computeroutput>, <computeroutput>auto_unlink</computeroutput> or <computeroutput>safe_link</computeroutput>).</para><para><computeroutput>void_pointer&lt;&gt;</computeroutput> is the pointer type that will be used internally in the hook and the container configured to use this hook. </para></description><method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1list__member__hook_1a7eb790d6207ca94c871a82de7509d360" cv="noexcept"><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput> or <computeroutput>safe_link</computeroutput> initializes the node to an unlinked state.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1list__member__hook_1af21266c579f0cbf61d5f6e48dba9809b" cv="noexcept"><parameter name=""><paramtype>const <classname>list_member_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput> or <computeroutput>safe_link</computeroutput> initializes the node to an unlinked state. The argument is ignored.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Rationale</emphasis>: Providing a copy-constructor makes classes using the hook STL-compliant without forcing the user to do some additional work. <computeroutput>swap</computeroutput> can be used to emulate move-semantics. </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1list__member__hook_1a04dd3c5470f2e5a64ec7e81ee5768141" cv="noexcept"><type><classname>list_member_hook</classname> &amp;</type><parameter name=""><paramtype>const <classname>list_member_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Empty function. The argument is ignored.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Rationale</emphasis>: Providing an assignment operator makes classes using the hook STL-compliant without forcing the user to do some additional work. <computeroutput>swap</computeroutput> can be used to emulate move-semantics. </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1list__member__hook_1a33763ef105c393e12e68edf3de8513de"><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>normal_link</computeroutput>, the destructor does nothing (ie. no code is generated). If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>safe_link</computeroutput> and the object is stored in an list an assertion is raised. If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput> and <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1list__member__hook_1ada1063f7660d8b4d8b6bf453105d18dc">is_linked()</link></computeroutput> is true, the node is unlinked.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1list__member__hook_1a8f66f1a157a74784b2ea44ec59a4d214" name="swap_nodes" cv="noexcept"><type>void</type><parameter name="other"><paramtype><classname>list_member_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Swapping two nodes swaps the position of the elements related to those nodes in one or two containers. That is, if the node this is part of the element e1, the node x is part of the element e2 and both elements are included in the containers s1 and s2, then after the swap-operation e1 is in s2 at the position of e2 and e2 is in s1 at the position of e1. If one element is not in a container, then after the swap-operation the other element is not in a container. Iterators to e1 and e2 related to those nodes are invalidated.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list__member__hook_1ada1063f7660d8b4d8b6bf453105d18dc" name="is_linked" cv="const"><type>bool</type><description><para><emphasis role="bold">Precondition</emphasis>: <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> must be <computeroutput>safe_link</computeroutput> or <computeroutput>auto_unlink</computeroutput>.</para><para><emphasis role="bold">Returns</emphasis>: true, if the node belongs to a container, false otherwise. This function can be used to test whether <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1list_1a67823b0e3f23d5b83e0642ca5fd92ade">list::iterator_to</link></computeroutput> will return a valid iterator.</para><para><emphasis role="bold">Complexity</emphasis>: Constant </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1list__member__hook_1a1a7edee8988b10c386d7d73c53ad60fc" name="unlink" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Removes the node if it's inserted in a container. This function is only allowed if <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput>.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
</method-group>
</class><struct id="doxygen.structboost_1_1intrusive_1_1make__list__base__hook" name="make_list_base_hook"><template>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define a <computeroutput><computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1list__base__hook">list_base_hook</link></computeroutput> that</computeroutput> yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__list__base__hook_1a73fc1a2ef621f391deadfaa93502f975" name="type"><type>implementation_defined</type></typedef>
</struct><struct id="doxygen.structboost_1_1intrusive_1_1make__list__member__hook" name="make_list_member_hook"><template>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define a <computeroutput><computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1list__member__hook">list_member_hook</link></computeroutput> that</computeroutput> yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__list__member__hook_1ac4c7dd88ccd6e0c09104c183bdc806df" name="type"><type>implementation_defined</type></typedef>
</struct>



























































</namespace>
</namespace>
</header>
<header id="doxygen.member__value__traits_8hpp" name="boost/intrusive/member_value_traits.hpp">
<namespace name="boost">
<namespace name="intrusive">
<struct id="doxygen.structboost_1_1intrusive_1_1member__value__traits" name="member_value_traits"><template>
      <template-type-parameter name="T"/>
      <template-type-parameter name="NodeTraits"/>
      <template-nontype-parameter name="PtrToMember"><type>typename NodeTraits::node T::*</type></template-nontype-parameter>
      <template-nontype-parameter name="LinkMode"><type>link_mode_type</type><default>safe_link</default></template-nontype-parameter>
    </template><description><para>This value traits template is used to create value traits from user defined node traits where value_traits::value_type will store a node_traits::node </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1member__value__traits_1a1b389d1404377496be52a2b760468b03" name="node_traits"><type>NodeTraits</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1member__value__traits_1afb72b46bb146bfdf3d9e5fb403f23500" name="value_type"><type>T</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1member__value__traits_1a3e84c237475f751154c1adb964bb7a04" name="node"><type>node_traits::node</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1member__value__traits_1af67cfe8341fa62e68faf6268942d2e05" name="node_ptr"><type>node_traits::node_ptr</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1member__value__traits_1a1be4025959602451255ec9ad6e09cd4a" name="const_node_ptr"><type>node_traits::const_node_ptr</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1member__value__traits_1aaf150d51b3927849fd212e3af6e926aa" name="node_ptr_traits"><type><classname>pointer_traits</classname>&lt; node_ptr &gt;</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1member__value__traits_1aecb59ae56e78cfee0eb0ec29d371b312" name="pointer"><type><classname>pointer_traits</classname>&lt; node_ptr &gt;::template rebind_pointer&lt; T &gt;::type</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1member__value__traits_1a461eeb0b6f13db982796974008788dab" name="const_pointer"><type><classname>pointer_traits</classname>&lt; node_ptr &gt;::template rebind_pointer&lt; constT &gt;::type</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1member__value__traits_1a7334af1a047fb8f266a76968273a0a94" name="reference"><type>value_type &amp;</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1member__value__traits_1acf94f3f77722685840c9a299ef167922" name="const_reference"><type>const value_type &amp;</type></typedef>
<data-member id="doxygen.structboost_1_1intrusive_1_1member__value__traits_1ad6e7c0810deefa383e613b4ed3c0c741" name="link_mode" specifiers="static"><type>const link_mode_type</type></data-member>
<method-group name="public static functions">
<method id="doxygen.structboost_1_1intrusive_1_1member__value__traits_1a7cc7fb9d8f514c88a5cd76a0ec0c3444" name="to_node_ptr" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1member__value__traits_1af1910829c679e7464bddb95d87bae252" name="to_node_ptr" cv="noexcept" specifiers="static"><type>const_node_ptr</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1member__value__traits_1a1b57de2d52a5b1760d22cf6c9a3bdc4e" name="to_value_ptr" cv="noexcept" specifiers="static"><type>pointer</type><parameter name="n"><paramtype>node_ptr</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1member__value__traits_1ac954668055270cbe0238d02f93d9ac17" name="to_value_ptr" cv="noexcept" specifiers="static"><type>const_pointer</type><parameter name="n"><paramtype>const_node_ptr</paramtype></parameter></method>
</method-group>
</struct>



























































</namespace>
</namespace>
</header>
<header id="doxygen.options_8hpp" name="boost/intrusive/options.hpp">
<namespace name="boost">
<namespace name="intrusive">
<struct id="doxygen.structboost_1_1intrusive_1_1base__hook" name="base_hook"><template>
      <template-type-parameter name="BaseHook"/>
    </template><description><para>This option setter specifies that the container must use the specified base hook </para></description></struct><struct id="doxygen.structboost_1_1intrusive_1_1bucket__traits" name="bucket_traits"><template>
      <template-type-parameter name="BucketTraits"/>
    </template><description><para>This option setter specifies the bucket traits class for unordered associative containers. When this option is specified, instead of using the default bucket traits, a user defined holder will be defined </para></description></struct><struct id="doxygen.structboost_1_1intrusive_1_1cache__begin" name="cache_begin"><template>
      <template-nontype-parameter name="Enabled"><type>bool</type></template-nontype-parameter>
    </template><description><para>This option setter specifies if the container will cache a pointer to the first non-empty bucket so that begin() is always constant-time. This is specially helpful when we can have containers with a few elements but with big bucket arrays (that is, hashtables with low load factors). </para></description></struct><struct id="doxygen.structboost_1_1intrusive_1_1cache__last" name="cache_last"><template>
      <template-nontype-parameter name="Enabled"><type>bool</type></template-nontype-parameter>
    </template><description><para>If true, slist also stores a pointer to the last element of the singly linked list. This allows O(1) swap and splice_after(iterator, slist &amp;) for circular slists and makes possible new functions like push_back(reference) and back(). </para></description></struct><struct id="doxygen.structboost_1_1intrusive_1_1compare" name="compare"><template>
      <template-type-parameter name="Compare"/>
    </template><description><para>This option setter specifies the strict weak ordering comparison functor for the value type </para></description></struct><struct id="doxygen.structboost_1_1intrusive_1_1compare__hash" name="compare_hash"><template>
      <template-nontype-parameter name="Enabled"><type>bool</type></template-nontype-parameter>
    </template><description><para>This option setter specifies if the container will compare the hash value before comparing objects. This option can't be specified if store_hash&lt;&gt; is not true. This is specially helpful when we have containers with a high load factor. and the comparison function is much more expensive that comparing already stored hash values. </para></description></struct><struct id="doxygen.structboost_1_1intrusive_1_1constant__time__size" name="constant_time_size"><template>
      <template-nontype-parameter name="Enabled"><type>bool</type></template-nontype-parameter>
    </template><description><para>This option setter specifies if the intrusive container stores its size as a member to obtain constant-time size() member. </para></description></struct><struct id="doxygen.structboost_1_1intrusive_1_1equal" name="equal"><template>
      <template-type-parameter name="Equal"/>
    </template><description><para>This option setter specifies the equality functor for the value type </para></description></struct><struct id="doxygen.structboost_1_1intrusive_1_1fastmod__buckets" name="fastmod_buckets"><template>
      <template-nontype-parameter name="Enabled"><type>bool</type></template-nontype-parameter>
    </template><description><para>WARNING: this option is EXPERIMENTAL, don't use it in production code This option setter specifies if the length of the bucket array provided by the user will always be a value specified by the suggested_upper|lower_bucket_count call. This allows the use of some precomputed values and speeds hash to bucket index operations, leading to better performance. In debug mode, the provided bucket array length will be checked with assertions. </para></description></struct><struct id="doxygen.structboost_1_1intrusive_1_1floating__point" name="floating_point"><template>
      <template-nontype-parameter name="Enabled"><type>bool</type></template-nontype-parameter>
    </template><description><para>This option setter for scapegoat containers specifies if the intrusive scapegoat container should use a non-variable alpha value that does not need floating-point operations.</para><para>If activated, the fixed alpha value is 1/sqrt(2). This option also saves some space in the container since the alpha value and some additional data does not need to be stored in the container.</para><para>If the user only needs an alpha value near 1/sqrt(2), this option also improves performance since avoids logarithm and division operations when rebalancing the tree. </para></description></struct><struct id="doxygen.structboost_1_1intrusive_1_1function__hook" name="function_hook"><template>
      <template-type-parameter name="Functor"/>
    </template><description><para>This option setter specifies the function object that will be used to convert between values to be inserted in a container and the hook to be used for that purpose. </para></description></struct><struct id="doxygen.structboost_1_1intrusive_1_1hash" name="hash"><template>
      <template-type-parameter name="Hash"/>
    </template><description><para>This option setter specifies the hash functor for the value type </para></description></struct><struct id="doxygen.structboost_1_1intrusive_1_1header__holder__type" name="header_holder_type"><template>
      <template-type-parameter name="HeaderHolder"/>
    </template><purpose>This option setter specifies a container header holder type. </purpose></struct><struct id="doxygen.structboost_1_1intrusive_1_1incremental" name="incremental"><template>
      <template-nontype-parameter name="Enabled"><type>bool</type></template-nontype-parameter>
    </template><description><para>This option setter specifies if the hash container will use incremental hashing. With incremental hashing the cost of hash table expansion is spread out across each hash table insertion operation, as opposed to be incurred all at once. Therefore linear hashing is well suited for interactive applications or real-time appplications where the worst-case insertion time of non-incremental hash containers (rehashing the whole bucket array) is not admisible. </para></description></struct><struct id="doxygen.structboost_1_1intrusive_1_1key__of__value" name="key_of_value"><template>
      <template-type-parameter name="KeyOfValue"/>
    </template><description><para>This option setter specifies a function object that specifies the type of the key of an associative container and an operator to obtain it from a value type.</para><para>This function object must the define a <computeroutput>type</computeroutput> member typedef and a member with signature <computeroutput>type [const&amp;] operator()(const value_type &amp;) const</computeroutput> that will return the key from a value_type of an associative container </para></description></struct><struct id="doxygen.structboost_1_1intrusive_1_1linear" name="linear"><template>
      <template-nontype-parameter name="Enabled"><type>bool</type></template-nontype-parameter>
    </template><description><para>This option setter specifies if the slist container should use a linear implementation instead of a circular one. </para></description></struct><struct id="doxygen.structboost_1_1intrusive_1_1linear__buckets" name="linear_buckets"><template>
      <template-nontype-parameter name="Enabled"><type>bool</type></template-nontype-parameter>
    </template><description><para>This option setter specifies if the buckets (which form a singly linked lists of nodes) are linear (true) or circular (false, default value). Linear buckets can improve performance in some cases, but the container loses some features like obtaining an iterator from a value. </para></description></struct><struct id="doxygen.structboost_1_1intrusive_1_1link__mode" name="link_mode"><template>
      <template-nontype-parameter name="LinkType"><type>link_mode_type</type></template-nontype-parameter>
    </template><description><para>This option setter specifies the link mode (normal_link, safe_link or auto_unlink) </para></description></struct><struct id="doxygen.structboost_1_1intrusive_1_1member__hook" name="member_hook"><template>
      <template-type-parameter name="Parent"/>
      <template-type-parameter name="MemberHook"/>
      <template-nontype-parameter name="PtrToMember"><type>MemberHook Parent::*</type></template-nontype-parameter>
    </template><description><para>This option setter specifies the member hook the container must use. </para></description></struct><struct id="doxygen.structboost_1_1intrusive_1_1optimize__multikey" name="optimize_multikey"><template>
      <template-nontype-parameter name="Enabled"><type>bool</type></template-nontype-parameter>
    </template><description><para>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 <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__multiset">unordered_multiset</link> containers with a great number of elements with the same key. </para></description></struct><struct id="doxygen.structboost_1_1intrusive_1_1optimize__size" name="optimize_size"><template>
      <template-nontype-parameter name="Enabled"><type>bool</type></template-nontype-parameter>
    </template><description><para>This option setter specifies if the hook should be optimized for size instead of for speed. </para></description></struct><struct id="doxygen.structboost_1_1intrusive_1_1power__2__buckets" name="power_2_buckets"><template>
      <template-nontype-parameter name="Enabled"><type>bool</type></template-nontype-parameter>
    </template><description><para>This option setter specifies if the length of the bucket array provided by the user will always be power of two. This allows using masks instead of the default modulo operation to determine the bucket number from the hash value, leading to better performance. In debug mode, the provided bucket array length will be checked with assertions. </para></description></struct><struct id="doxygen.structboost_1_1intrusive_1_1priority" name="priority"><template>
      <template-type-parameter name="Priority"/>
    </template><description><para>This option setter specifies the priority comparison functor for the value type </para></description></struct><struct id="doxygen.structboost_1_1intrusive_1_1priority__of__value" name="priority_of_value"><template>
      <template-type-parameter name="PrioOfValue"/>
    </template><description><para>This option setter specifies a function object that specifies the type of the priority of a treap container and an operator to obtain it from a value type.</para><para>This function object must the define a <computeroutput>type</computeroutput> member typedef and a member with signature <computeroutput>type [const&amp;] operator()(const value_type &amp;) const</computeroutput> that will return the priority from a value_type of a treap container </para></description></struct><struct id="doxygen.structboost_1_1intrusive_1_1size__type" name="size_type"><template>
      <template-type-parameter name="SizeType"/>
    </template><description><para>This option setter specifies the type that the container will use to store its size. </para></description></struct><struct id="doxygen.structboost_1_1intrusive_1_1store__hash" name="store_hash"><template>
      <template-nontype-parameter name="Enabled"><type>bool</type></template-nontype-parameter>
    </template><description><para>This option setter specifies if the unordered hook should offer room to store the hash value. Storing the hash in the hook will speed up rehashing processes in applications where rehashing is frequent, rehashing might throw or the value is heavy to hash. </para></description></struct><struct id="doxygen.structboost_1_1intrusive_1_1tag" name="tag"><template>
      <template-type-parameter name="Tag"/>
    </template><description><para>This option setter specifies the type of the tag of a base hook. A type cannot have two base hooks of the same type, so a tag can be used to differentiate two base hooks with otherwise same type </para></description></struct><struct id="doxygen.structboost_1_1intrusive_1_1value__traits" name="value_traits"><template>
      <template-type-parameter name="ValueTraits"/>
    </template><description><para>This option setter specifies the relationship between the type to be managed by the container (the value type) and the node to be used in the node algorithms. It also specifies the linking policy. </para></description></struct><struct id="doxygen.structboost_1_1intrusive_1_1void__pointer" name="void_pointer"><template>
      <template-type-parameter name="VoidPointer"/>
    </template><description><para>This option setter specifies the type of a void pointer. This will instruct the hook to use this type of pointer instead of the default one </para></description></struct>



























































</namespace>
</namespace>
</header>
<header id="doxygen.pack__options_8hpp" name="boost/intrusive/pack_options.hpp">
<namespace name="boost">
<namespace name="intrusive">
<struct id="doxygen.structboost_1_1intrusive_1_1pack__options" name="pack_options"><template>
      <template-type-parameter name="DefaultOptions"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>This class is a utility that takes:<itemizedlist>
<listitem><para>a default options class defining initial static constant and typedefs</para>
</listitem><listitem><para>several options defined with BOOST_INTRUSIVE_OPTION_CONSTANT and BOOST_INTRUSIVE_OPTION_TYPE</para>
</listitem></itemizedlist>
</para><para>and packs them together in a new type that defines all options as member typedefs or static constant values. Given options of form:</para><para><programlisting language="c++">BOOST_INTRUSIVE_OPTION_TYPE(my_pointer, VoidPointer, VoidPointer, my_pointer_type)
BOOST_INTRUSIVE_OPTION_CONSTANT(incremental, bool, Enabled, is_incremental)
</programlisting></para><para>the following expression</para><para><programlisting language="c++">struct default_options
{
  typedef long      int_type;
  static const int  int_constant = -1;
};

pack_options&lt; default_options, my_pointer&lt;void*&gt;, incremental&lt;true&gt; &gt;::type
</programlisting></para><para>will create a type that will contain the following typedefs/constants</para><para><programlisting language="c++">struct unspecified_type
{
   //Default options
   typedef long      int_type;
   static const int  int_constant  = -1;

   //Packed options (will ovewrite any default option)
   typedef void*     my_pointer_type;
   static const bool is_incremental = true;
};
</programlisting></para><para>If an option is specified in the default options argument and later redefined as an option, the last definition will prevail. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1pack__options_1a49763e2cba212f44e9d19f9f130a3e31" name="type"><type>unspecified_type</type></typedef>
</struct>



























































</namespace>
</namespace>
<macro id="doxygen.pack__options_8hpp_1aee02ffa46eed33454266fc3d473754e7" name="BOOST_INTRUSIVE_OPTION_TYPE" kind="functionlike"><macro-parameter name="OPTION_NAME"/><macro-parameter name="TYPE"/><macro-parameter name="TYPEDEF_EXPR"/><macro-parameter name="TYPEDEF_NAME"/><description><para>Defines an option class of name OPTION_NAME that can be used to specify a type of type TYPE...</para><para><programlisting language="c++">struct OPTION_NAME&lt;class TYPE&gt;
{  unspecified_content  };
</programlisting></para><para>...that after being combined with <computeroutput><link linkend="doxygen.structboost_1_1intrusive_1_1pack__options">boost::intrusive::pack_options</link></computeroutput>, will typedef TYPE as a typedef of name TYPEDEF_NAME. Example:</para><para><programlisting language="c++">//[includes and namespaces omitted for brevity]

//This macro will create the following class:
//    template&lt;class VoidPointer&gt;
//    struct my_pointer
//    { unspecified_content };
BOOST_INTRUSIVE_OPTION_TYPE(my_pointer, VoidPointer, boost::remove_pointer&lt;VoidPointer&gt;::type, my_pointer_type)

struct empty_default{};

typedef pack_options&lt; empty_default, typename my_pointer&lt;void*&gt; &gt;::type::my_pointer_type type;

BOOST_INTRUSIVE_STATIC_ASSERT(( boost::is_same&lt;type, void&gt;::value ));
</programlisting> </para></description></macro>
<macro id="doxygen.pack__options_8hpp_1ac026799198a9d865001354e1a1000d41" name="BOOST_INTRUSIVE_OPTION_CONSTANT" kind="functionlike"><macro-parameter name="OPTION_NAME"/><macro-parameter name="TYPE"/><macro-parameter name="VALUE"/><macro-parameter name="CONSTANT_NAME"/><description><para>Defines an option class of name OPTION_NAME that can be used to specify a constant of type TYPE with value VALUE...</para><para><programlisting language="c++">struct OPTION_NAME&lt;TYPE VALUE&gt;
{  unspecified_content  };
</programlisting></para><para>...that after being combined with <computeroutput><link linkend="doxygen.structboost_1_1intrusive_1_1pack__options">boost::intrusive::pack_options</link></computeroutput>, will contain a CONSTANT_NAME static constant of value VALUE. Example:</para><para><programlisting language="c++">//[includes and namespaces omitted for brevity]

//This macro will create the following class:
//    template&lt;bool Enabled&gt;
//    struct incremental
//    { unspecified_content };
BOOST_INTRUSIVE_OPTION_CONSTANT(incremental, bool, Enabled, is_incremental)

struct empty_default{};

const bool is_incremental = pack_options&lt; empty_default, incremental&lt;true&gt; &gt;::type::is_incremental;

BOOST_INTRUSIVE_STATIC_ASSERT(( is_incremental == true ));
</programlisting> </para></description></macro>
</header>
<header id="doxygen.parent__from__member_8hpp" name="boost/intrusive/parent_from_member.hpp">
<namespace name="boost">
<namespace name="intrusive">






























<function id="doxygen.parent__from__member_8hpp_1acecfcc07f38804b74afc802598a4144b" name="get_parent_from_member"><type>Parent *</type><template>
          <template-type-parameter name="Parent"/>
          <template-type-parameter name="Member"/>
        </template><parameter name="member"><paramtype>Member *</paramtype></parameter><parameter name="ptr_to_member"><paramtype>const Member Parent::*</paramtype></parameter><description><para>Given a pointer to a member and its corresponding pointer to data member, this function returns the pointer of the parent containing that member. Note: this function does not work with pointer to members that rely on virtual inheritance. </para></description></function>
<function id="doxygen.parent__from__member_8hpp_1ac1864a9d0e852e5c275f021620ac6c33" name="get_parent_from_member"><type>const Parent *</type><template>
          <template-type-parameter name="Parent"/>
          <template-type-parameter name="Member"/>
        </template><parameter name="member"><paramtype>const Member *</paramtype></parameter><parameter name="ptr_to_member"><paramtype>const Member Parent::*</paramtype></parameter><description><para>Given a const pointer to a member and its corresponding const pointer to data member, this function returns the const pointer of the parent containing that member. Note: this function does not work with pointer to members that rely on virtual inheritance. </para></description></function>




























</namespace>
</namespace>
</header>
<header id="doxygen.pointer__plus__bits_8hpp" name="boost/intrusive/pointer_plus_bits.hpp">
<namespace name="boost">
<namespace name="intrusive">
<struct id="doxygen.structboost_1_1intrusive_1_1max__pointer__plus__bits" name="max_pointer_plus_bits"><template>
      <template-type-parameter name="VoidPointer"/>
      <template-nontype-parameter name="Alignment"><type>std::size_t</type></template-nontype-parameter>
    </template><description><para>This trait class is used to know if a pointer can embed extra bits of information if it's going to be used to point to objects with an alignment of "Alignment" bytes. </para></description><data-member id="doxygen.structboost_1_1intrusive_1_1max__pointer__plus__bits_1a49c189a6035e801cf23b5c3bc0f65017" name="value" specifiers="static"><type>const std::size_t</type></data-member>
</struct><struct-specialization id="doxygen.structboost_1_1intrusive_1_1max__pointer__plus__bits_3_01void_01_5_00_01Alignment_01_4" name="max_pointer_plus_bits"><template>
      <template-nontype-parameter name="Alignment"><type>std::size_t</type></template-nontype-parameter>
    </template><specialization><template-arg>void *</template-arg><template-arg>Alignment</template-arg></specialization><description><para>This is a specialization for raw pointers. Raw pointers can embed extra bits in the lower bits if the alignment is multiple of 2pow(NumBits). </para></description><data-member id="doxygen.structboost_1_1intrusive_1_1max__pointer__plus__bits_3_01void_01_5_00_01Alignment_01_4_1a98ac8f957f6ead95a89b8bad95e1d09a" name="value" specifiers="static"><type>const std::size_t</type></data-member>
</struct-specialization><struct id="doxygen.structboost_1_1intrusive_1_1pointer__plus__bits" name="pointer_plus_bits"><template>
      <template-type-parameter name="Pointer"/>
      <template-nontype-parameter name="NumBits"><type>std::size_t</type></template-nontype-parameter>
    </template><description><para>This is class that is supposed to have static methods to embed extra bits of information in a pointer. This is a declaration and there is no default implementation, because operations to embed the bits change with every pointer type.</para><para>An implementation that detects that a pointer type whose has_pointer_plus_bits&lt;&gt;::value is non-zero can make use of these operations to embed the bits in the pointer. </para></description></struct><struct-specialization id="doxygen.structboost_1_1intrusive_1_1pointer__plus__bits_3_01T_01_5_00_01NumBits_01_4" name="pointer_plus_bits"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="NumBits"><type>std::size_t</type></template-nontype-parameter>
    </template><specialization><template-arg>T *</template-arg><template-arg>NumBits</template-arg></specialization><description><para>This is the specialization to embed extra bits of information in a raw pointer. The extra bits are stored in the lower bits of the pointer. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1pointer__plus__bits_3_01T_01_5_00_01NumBits_01_4_1a49435b7cb00493974ddb13c876cbe42f" name="pointer"><type>T *</type></typedef>
<data-member id="doxygen.structboost_1_1intrusive_1_1pointer__plus__bits_3_01T_01_5_00_01NumBits_01_4_1a5e8fc6629073886a2177bee7bfa546ef" name="Mask" specifiers="static"><type>const uintptr_t</type></data-member>
<method-group name="public static functions">
<method id="doxygen.structboost_1_1intrusive_1_1pointer__plus__bits_3_01T_01_5_00_01NumBits_01_4_1a33e56d1c2cb64ede85bcbb6aa011d1c3" name="get_pointer" cv="noexcept" specifiers="static"><type>pointer</type><parameter name="n"><paramtype>pointer</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1pointer__plus__bits_3_01T_01_5_00_01NumBits_01_4_1a4ddc98cf5597d2e61be30fe87023b34a" name="set_pointer" cv="noexcept" specifiers="static"><type>void</type><parameter name="n"><paramtype>pointer &amp;</paramtype></parameter><parameter name="p"><paramtype>pointer</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1pointer__plus__bits_3_01T_01_5_00_01NumBits_01_4_1a603dda111b20d65086122c289fb435a1" name="get_bits" cv="noexcept" specifiers="static"><type>std::size_t</type><parameter name="n"><paramtype>pointer</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1pointer__plus__bits_3_01T_01_5_00_01NumBits_01_4_1a0a5e61e0d7aa762f4d3715f9b062ee73" name="set_bits" cv="noexcept" specifiers="static"><type>void</type><parameter name="n"><paramtype>pointer &amp;</paramtype></parameter><parameter name="c"><paramtype>std::size_t</paramtype></parameter></method>
</method-group>
</struct-specialization>



























































</namespace>
</namespace>
</header>
<header id="doxygen.pointer__rebind_8hpp" name="boost/intrusive/pointer_rebind.hpp">
<namespace name="boost">
<namespace name="intrusive">
<struct id="doxygen.structboost_1_1intrusive_1_1pointer__has__rebind" name="pointer_has_rebind"><template>
      <template-type-parameter name="Ptr"/>
      <template-type-parameter name="U"/>
    </template><struct id="doxygen.structboost_1_1intrusive_1_1pointer__has__rebind_1_1any" name="any"><template>
      <template-type-parameter name="V"/>
    </template><method-group name="public member functions">
<constructor id="doxygen.structboost_1_1intrusive_1_1pointer__has__rebind_1_1any_1afb5a6a0c1c57d8a186f98668431b49b2"><parameter name=""><paramtype>const V &amp;</paramtype></parameter></constructor>
</method-group>
</struct><data-member id="doxygen.structboost_1_1intrusive_1_1pointer__has__rebind_1a551802ab8b0f01f46836a24f8711057b" name="value" specifiers="static"><type>const bool</type></data-member>
<method-group name="public static functions">
<method id="doxygen.structboost_1_1intrusive_1_1pointer__has__rebind_1a22934ad7048ca6c6976aa50cc157e2cf" name="test" specifiers="static"><type>char</type><template>
          <template-type-parameter name="X"/>
        </template><parameter name=""><paramtype>int</paramtype></parameter><parameter name=""><paramtype>typename X::template rebind&lt; U &gt; *</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1pointer__has__rebind_1a92b23b7c0ee107cea592211f05c926af" name="test" specifiers="static"><type>int</type><template>
          <template-type-parameter name="X"/>
        </template><parameter name=""><paramtype>any&lt; int &gt;</paramtype></parameter><parameter name=""><paramtype>void *</paramtype></parameter></method>
</method-group>
</struct><struct id="doxygen.structboost_1_1intrusive_1_1pointer__has__rebind__other" name="pointer_has_rebind_other"><template>
      <template-type-parameter name="Ptr"/>
      <template-type-parameter name="U"/>
    </template><struct id="doxygen.structboost_1_1intrusive_1_1pointer__has__rebind__other_1_1any" name="any"><template>
      <template-type-parameter name="V"/>
    </template><method-group name="public member functions">
<constructor id="doxygen.structboost_1_1intrusive_1_1pointer__has__rebind__other_1_1any_1a4119225c8aa51905786bf1fdef7ec8d0"><parameter name=""><paramtype>const V &amp;</paramtype></parameter></constructor>
</method-group>
</struct><data-member id="doxygen.structboost_1_1intrusive_1_1pointer__has__rebind__other_1ae106b072fb9a31734a1b2c19806f9bb4" name="value" specifiers="static"><type>const bool</type></data-member>
<method-group name="public static functions">
<method id="doxygen.structboost_1_1intrusive_1_1pointer__has__rebind__other_1a06b57ca1e7a91422c3fac5f6d5457bb1" name="test" specifiers="static"><type>char</type><template>
          <template-type-parameter name="X"/>
        </template><parameter name=""><paramtype>int</paramtype></parameter><parameter name=""><paramtype>typename X::template rebind&lt; U &gt;::other *</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1pointer__has__rebind__other_1a6f09585ef211c130013b8de86c252512" name="test" specifiers="static"><type>int</type><template>
          <template-type-parameter name="X"/>
        </template><parameter name=""><paramtype>any&lt; int &gt;</paramtype></parameter><parameter name=""><paramtype>void *</paramtype></parameter></method>
</method-group>
</struct><struct id="doxygen.structboost_1_1intrusive_1_1pointer__rebind" name="pointer_rebind"><template>
      <template-type-parameter name="Ptr"/>
      <template-type-parameter name="U"/>
    </template><inherit access="public">boost::intrusive::pointer_rebinder&lt; Ptr, U, pointer_rebind_mode&lt; Ptr, U &gt;::mode &gt;</inherit><purpose>defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) </purpose></struct><struct-specialization id="doxygen.structboost_1_1intrusive_1_1pointer__rebind_3_01T_01_5_00_01U_01_4" name="pointer_rebind"><template>
      <template-type-parameter name="T"/>
      <template-type-parameter name="U"/>
    </template><specialization><template-arg>T *</template-arg><template-arg>U</template-arg></specialization><typedef id="doxygen.structboost_1_1intrusive_1_1pointer__rebind_3_01T_01_5_00_01U_01_4_1a52895153c1f23b111ed1f6cdf6007b16" name="type"><type>U *</type></typedef>
</struct-specialization><struct id="doxygen.structboost_1_1intrusive_1_1pointer__rebind__mode" name="pointer_rebind_mode"><template>
      <template-type-parameter name="Ptr"/>
      <template-type-parameter name="U"/>
    </template><data-member id="doxygen.structboost_1_1intrusive_1_1pointer__rebind__mode_1a3940a68ff17ee2f82bb5c050e695f392" name="rebind" specifiers="static"><type>const unsigned int</type></data-member>
<data-member id="doxygen.structboost_1_1intrusive_1_1pointer__rebind__mode_1aa26feb360f0b4b1dee2b9444b4ccd708" name="rebind_other" specifiers="static"><type>const unsigned int</type></data-member>
<data-member id="doxygen.structboost_1_1intrusive_1_1pointer__rebind__mode_1a380c8a6c6884baef40775f19360e926d" name="mode" specifiers="static"><type>const unsigned int</type></data-member>
</struct><struct id="doxygen.structboost_1_1intrusive_1_1pointer__rebinder" name="pointer_rebinder"><template>
      <template-type-parameter name="Ptr"/>
      <template-type-parameter name="U"/>
      <template-nontype-parameter name="RebindMode"><type>unsigned int</type></template-nontype-parameter>
    </template></struct><struct-specialization id="doxygen.structboost_1_1intrusive_1_1pointer__rebinder_3_01Ptr_00_01U_00_011u_01_4" name="pointer_rebinder"><template>
      <template-type-parameter name="Ptr"/>
      <template-type-parameter name="U"/>
    </template><specialization><template-arg>Ptr</template-arg><template-arg>U</template-arg><template-arg>1u</template-arg></specialization><typedef id="doxygen.structboost_1_1intrusive_1_1pointer__rebinder_3_01Ptr_00_01U_00_011u_01_4_1af9d0daa4f5bf7f07ebc86ff4287b7492" name="type"><type>Ptr::template rebind&lt; U &gt;</type></typedef>
</struct-specialization><struct-specialization id="doxygen.structboost_1_1intrusive_1_1pointer__rebinder_3_01Ptr_00_01U_00_012u_01_4" name="pointer_rebinder"><template>
      <template-type-parameter name="Ptr"/>
      <template-type-parameter name="U"/>
    </template><specialization><template-arg>Ptr</template-arg><template-arg>U</template-arg><template-arg>2u</template-arg></specialization><typedef id="doxygen.structboost_1_1intrusive_1_1pointer__rebinder_3_01Ptr_00_01U_00_012u_01_4_1a999d4768d2241a62970a46350a107f23" name="type"><type>Ptr::template rebind&lt; U &gt;::other</type></typedef>
</struct-specialization><struct-specialization id="doxygen.structboost_1_1intrusive_1_1pointer__rebinder_3_01Ptr_3_01A_01_4_00_01U_00_010u_01_4" name="pointer_rebinder"><template>
      <template-nontype-parameter name="Ptr"><type>template&lt; class &gt; class</type></template-nontype-parameter>
      <template-type-parameter name="A"/>
      <template-type-parameter name="U"/>
    </template><specialization><template-arg>Ptr&lt; A &gt;</template-arg><template-arg>U</template-arg><template-arg>0u</template-arg></specialization><typedef id="doxygen.structboost_1_1intrusive_1_1pointer__rebinder_3_01Ptr_3_01A_01_4_00_01U_00_010u_01_4_1aa8886204e7ee71f6ae3c2eac4473e210" name="type"><type>Ptr&lt; U &gt;</type></typedef>
</struct-specialization><struct-specialization id="doxygen.structboost_1_1intrusive_1_1pointer__rebinder_3_01Ptr_3_01A_00_01An_8_8_8_01_4_00_01U_00_010u_01_4" name="pointer_rebinder"><template>
      <template-nontype-parameter name="Ptr"><type>template&lt; class, class... &gt; class</type></template-nontype-parameter>
      <template-type-parameter name="A"/>
      <template-nontype-parameter name="An"><type>class...</type></template-nontype-parameter>
      <template-type-parameter name="U"/>
    </template><specialization><template-arg>Ptr&lt; A</template-arg><template-arg>An... &gt;</template-arg><template-arg>U</template-arg><template-arg>0u</template-arg></specialization><typedef id="doxygen.structboost_1_1intrusive_1_1pointer__rebinder_3_01Ptr_3_01A_00_01An_8_8_8_01_4_00_01U_00_010u_01_4_1aef75bd63c55742c39206b3f6aa6a6a8a" name="type"><type>Ptr&lt; U, An... &gt;</type></typedef>
</struct-specialization>



























































</namespace>
</namespace>
</header>
<header id="doxygen.pointer__traits_8hpp" name="boost/intrusive/pointer_traits.hpp">
<namespace name="boost">
<namespace name="intrusive">
<struct id="doxygen.structboost_1_1intrusive_1_1pointer__traits" name="pointer_traits"><template>
      <template-type-parameter name="Ptr"/>
    </template><description><para><link linkend="doxygen.structboost_1_1intrusive_1_1pointer__traits">pointer_traits</link> is the implementation of C++11 std::pointer_traits class with some extensions like castings.</para><para><link linkend="doxygen.structboost_1_1intrusive_1_1pointer__traits">pointer_traits</link> supplies a uniform interface to certain attributes of pointer-like types.</para><para><emphasis role="bold">Note</emphasis>: When defining a custom family of pointers or references to be used with BI library, make sure the public static conversion functions accessed through the <computeroutput><link linkend="doxygen.structboost_1_1intrusive_1_1pointer__traits">pointer_traits</link></computeroutput> interface (<computeroutput>*_cast_from</computeroutput> and <computeroutput>pointer_to</computeroutput>) can properly convert between const and nonconst referred member types <emphasis role="bold">without the use of implicit constructor calls</emphasis>. It is suggested these conversions be implemented as function templates, where the template argument is the type of the object being converted from. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1pointer__traits_1a685df0545aa864b9e61ac81cd88a5472" name="pointer"><description><para>The pointer type queried by this <link linkend="doxygen.structboost_1_1intrusive_1_1pointer__traits">pointer_traits</link> instantiation </para></description><type>Ptr</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1pointer__traits_1af41162ddc2457800fa4ee72131a747bd" name="element_type"><description><para>Ptr::element_type if such a type exists; otherwise, T if Ptr is a class template instantiation of the form SomePointer&lt;T, Args&gt;, where Args is zero or more type arguments ; otherwise , the specialization is ill-formed. </para></description><type>unspecified_type</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1pointer__traits_1a3b3add9c458c0634c7ddf99f1fddb724" name="difference_type"><description><para>Ptr::difference_type if such a type exists; otherwise, std::ptrdiff_t. </para></description><type>unspecified_type</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1pointer__traits_1a1ceab2e8f845e9b9e9dc4fb3f4c4adc9" name="rebind"><description><para>Ptr::rebind&lt;U&gt; if such a type exists; otherwise, SomePointer&lt;U, Args&gt; if Ptr is a class template instantiation of the form SomePointer&lt;T, Args&gt;, where Args is zero or more type arguments ; otherwise, the instantiation of rebind is ill-formed.</para><para>For portable code for C++03 and C++11, <programlisting>typename rebind_pointer&lt;U&gt;::type</programlisting> shall be used instead of rebind<underline> to obtain a pointer to U. </underline></para></description><type>unspecified</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1pointer__traits_1a2051eac46e5d429ed5e1d6bedefb5cba" name="reference"><description><para>Ptr::reference if such a type exists (non-standard extension); otherwise, element_type &amp; </para></description><type>unspecified_type</type></typedef>
<method-group name="public static functions">
<method id="doxygen.structboost_1_1intrusive_1_1pointer__traits_1a9cf3240838196362b3b1372c32640c98" name="pointer_to" cv="noexcept" specifiers="static"><type>pointer</type><parameter name="r"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Remark</emphasis>: If element_type is (possibly cv-qualified) void, r type is unspecified; otherwise, it is element_type &amp;.</para><para><emphasis role="bold">Returns</emphasis>: A dereferenceable pointer to r obtained by calling Ptr::pointer_to(reference). Non-standard extension: If such function does not exist, returns <link linkend="doxygen.structboost_1_1intrusive_1_1pointer__traits_1a685df0545aa864b9e61ac81cd88a5472">pointer(addressof(r))</link>;</para><para><emphasis role="bold">Note</emphasis>: For non-conforming compilers only the existence of a member function called <computeroutput>pointer_to</computeroutput> is checked. </para></description></method>
<method id="doxygen.structboost_1_1intrusive_1_1pointer__traits_1a8b04b3498c81af58b1d334e1b59a83b5" name="static_cast_from" cv="noexcept" specifiers="static"><type>pointer</type><template>
          <template-type-parameter name="UPtr"/>
        </template><parameter name="uptr"><paramtype>const UPtr &amp;</paramtype></parameter><description><para><emphasis role="bold">Remark</emphasis>: Non-standard extension.</para><para><emphasis role="bold">Returns</emphasis>: A dereferenceable pointer to r obtained by calling the static template function Ptr::static_cast_from(UPpr/const UPpr &amp;). If such function does not exist, returns pointer_to(static_cast&lt;element_type&amp;&gt;(*uptr))</para><para><emphasis role="bold">Note</emphasis>: For non-conforming compilers only the existence of a member function called <computeroutput>static_cast_from</computeroutput> is checked. </para></description></method>
<method id="doxygen.structboost_1_1intrusive_1_1pointer__traits_1a349c2ad333f7b801a5ba79d6317b7a06" name="const_cast_from" cv="noexcept" specifiers="static"><type>pointer</type><template>
          <template-type-parameter name="UPtr"/>
        </template><parameter name="uptr"><paramtype>const UPtr &amp;</paramtype></parameter><description><para><emphasis role="bold">Remark</emphasis>: Non-standard extension.</para><para><emphasis role="bold">Returns</emphasis>: A dereferenceable pointer to r obtained by calling the static template function Ptr::const_cast_from&lt;UPtr&gt;(UPpr/const UPpr &amp;). If such function does not exist, returns pointer_to(const_cast&lt;element_type&amp;&gt;(*uptr))</para><para><emphasis role="bold">Note</emphasis>: For non-conforming compilers only the existence of a member function called <computeroutput>const_cast_from</computeroutput> is checked. </para></description></method>
<method id="doxygen.structboost_1_1intrusive_1_1pointer__traits_1a46aa0725eec82b8ddfcd889883aa15b6" name="dynamic_cast_from" cv="noexcept" specifiers="static"><type>pointer</type><template>
          <template-type-parameter name="UPtr"/>
        </template><parameter name="uptr"><paramtype>const UPtr &amp;</paramtype></parameter><description><para><emphasis role="bold">Remark</emphasis>: Non-standard extension.</para><para><emphasis role="bold">Returns</emphasis>: A dereferenceable pointer to r obtained by calling the static template function Ptr::dynamic_cast_from&lt;UPtr&gt;(UPpr/const UPpr &amp;). If such function does not exist, returns pointer_to(<emphasis>dynamic_cast&lt;element_type</emphasis>&gt;(&amp;*uptr))</para><para><emphasis role="bold">Note</emphasis>: For non-conforming compilers only the existence of a member function called <computeroutput>dynamic_cast_from</computeroutput> is checked. </para></description></method>
</method-group>
</struct><struct-specialization id="doxygen.structboost_1_1intrusive_1_1pointer__traits_3_01T_01_5_01_4" name="pointer_traits"><template>
      <template-type-parameter name="T"/>
    </template><specialization><template-arg>T *</template-arg></specialization><description><para>Specialization of <link linkend="doxygen.structboost_1_1intrusive_1_1pointer__traits">pointer_traits</link> for raw pointers </para></description><struct id="doxygen.structboost_1_1intrusive_1_1pointer__traits_3_01T_01_5_01_4_1_1rebind__pointer" name="rebind_pointer"><template>
      <template-type-parameter name="U"/>
    </template><typedef id="doxygen.structboost_1_1intrusive_1_1pointer__traits_3_01T_01_5_01_4_1_1rebind__pointer_1a4408584355998f1d78b61e1dcf62dbc4" name="type"><type>U *</type></typedef>
</struct><typedef id="doxygen.structboost_1_1intrusive_1_1pointer__traits_3_01T_01_5_01_4_1a219d5a3ceb8df107382ad95190e016e1" name="element_type"><type>T</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1pointer__traits_3_01T_01_5_01_4_1aa8449a3d2e16ff9c7082e00f488b7723" name="pointer"><type>T *</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1pointer__traits_3_01T_01_5_01_4_1ac285ba9be7c0b44e99a0ef8b4b0673b5" name="difference_type"><type>std::ptrdiff_t</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1pointer__traits_3_01T_01_5_01_4_1acf63a5ccbfae58cf78e248f31a1fe45f" name="size_type"><type>std::size_t</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1pointer__traits_3_01T_01_5_01_4_1a423d831613251704e7b8816acad01e58" name="reference"><type>T &amp;</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1pointer__traits_3_01T_01_5_01_4_1a2516e6ca25745cdd5f1621ad6fa9d791" name="rebind"><description><programlisting>U *</programlisting><para>For portable code for C++03 and C++11, <programlisting>typename rebind_pointer&lt;U&gt;::type</programlisting> shall be used instead of rebind<underline> to obtain a pointer to U. </underline></para></description><type>U *</type></typedef>
<method-group name="public static functions">
<method id="doxygen.structboost_1_1intrusive_1_1pointer__traits_3_01T_01_5_01_4_1aa4c1bf4b1fa25cdbaa08a4ebfba9cbc8" name="pointer_to" cv="noexcept" specifiers="static"><type>pointer</type><parameter name="r"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Returns</emphasis>: addressof(r) </para></description></method>
<method id="doxygen.structboost_1_1intrusive_1_1pointer__traits_3_01T_01_5_01_4_1a0609024f965e1436b4e74bc5bf8061d0" name="static_cast_from" cv="noexcept" specifiers="static"><type>pointer</type><template>
          <template-type-parameter name="U"/>
        </template><parameter name="uptr"><paramtype>U *</paramtype></parameter><description><para><emphasis role="bold">Returns</emphasis>: static_cast&lt;pointer&gt;(uptr) </para></description></method>
<method id="doxygen.structboost_1_1intrusive_1_1pointer__traits_3_01T_01_5_01_4_1a245f2a5f0cc97258d57d6ff944c18742" name="const_cast_from" cv="noexcept" specifiers="static"><type>pointer</type><template>
          <template-type-parameter name="U"/>
        </template><parameter name="uptr"><paramtype>U *</paramtype></parameter><description><para><emphasis role="bold">Returns</emphasis>: const_cast&lt;pointer&gt;(uptr) </para></description></method>
<method id="doxygen.structboost_1_1intrusive_1_1pointer__traits_3_01T_01_5_01_4_1a5f676605a5915648dfb08bed1e18a78f" name="dynamic_cast_from" cv="noexcept" specifiers="static"><type>pointer</type><template>
          <template-type-parameter name="U"/>
        </template><parameter name="uptr"><paramtype>U *</paramtype></parameter><description><para><emphasis role="bold">Returns</emphasis>: dynamic_cast&lt;pointer&gt;(uptr) </para></description></method>
</method-group>
</struct-specialization>



























































</namespace>
</namespace>
</header>
<header id="doxygen.priority__compare_8hpp" name="boost/intrusive/priority_compare.hpp">
<namespace name="boost">
<namespace name="intrusive">
<struct id="doxygen.structboost_1_1intrusive_1_1priority__compare" name="priority_compare"><template>
      <template-type-parameter name="T"><default>void</default></template-type-parameter>
    </template><typedef id="doxygen.structboost_1_1intrusive_1_1priority__compare_1a0b59c251d17410e203123880cdc0e5ac" name="first_argument_type"><type>T</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1priority__compare_1aeb0cb433eee6894fd836e4a9cff9aa8d" name="second_argument_type"><type>T</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1priority__compare_1a6b5337f48430b8225c4ade563c2392fe" name="result_type"><type>bool</type></typedef>
<method-group name="public member functions">
<method id="doxygen.structboost_1_1intrusive_1_1priority__compare_1a30d47d77553117932795d700e3d73e31" name="operator()" cv="const"><type>bool</type><parameter name="val"><paramtype>const T &amp;</paramtype></parameter><parameter name="val2"><paramtype>const T &amp;</paramtype></parameter></method>
</method-group>
</struct><struct-specialization id="doxygen.structboost_1_1intrusive_1_1priority__compare_3_01void_01_4" name="priority_compare"><template>
    </template><specialization><template-arg>void</template-arg></specialization><method-group name="public member functions">
<method id="doxygen.structboost_1_1intrusive_1_1priority__compare_3_01void_01_4_1a493cdf4917bf5235ac2d4064b2523552" name="operator()" cv="const"><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-type-parameter name="U"/>
        </template><parameter name="t"><paramtype>const T &amp;</paramtype></parameter><parameter name="u"><paramtype>const U &amp;</paramtype></parameter></method>
</method-group>
</struct-specialization>



























































</namespace>
</namespace>
</header>
<header id="doxygen.rbtree_8hpp" name="boost/intrusive/rbtree.hpp">
<namespace name="boost">
<namespace name="intrusive">
<struct id="doxygen.structboost_1_1intrusive_1_1make__rbtree" name="make_rbtree"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define a <computeroutput>rbtree</computeroutput> that yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__rbtree_1a24f8bec8a2919a8b97238669a0db76ab" name="type"><type>implementation_defined</type></typedef>
</struct><class id="doxygen.classboost_1_1intrusive_1_1rbtree" name="rbtree"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>The class template rbtree is an intrusive red-black tree container, that is used to construct intrusive set and multiset containers. The no-throw guarantee holds only, if the key_compare object doesn't throw.</para><para>The template parameter <computeroutput>T</computeroutput> is the type to be managed by the container. The user can specify additional options and if no options are provided default options are used.</para><para>The container supports the following options: <computeroutput>base_hook&lt;&gt;/member_hook&lt;&gt;/value_traits&lt;&gt;</computeroutput>, <computeroutput>constant_time_size&lt;&gt;</computeroutput>, <computeroutput>size_type&lt;&gt;</computeroutput> and <computeroutput>compare&lt;&gt;</computeroutput>. </para></description><typedef id="doxygen.classboost_1_1intrusive_1_1rbtree_1a8527ba00d31efb99c5993026b2efdac7" name="value_traits"><type>ValueTraits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1rbtree_1ae9b4e192597f9434194322673bb2cf65" name="pointer"><type>implementation_defined::pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1rbtree_1a9549a31f81e9a45793ec46319a2d1db6" name="const_pointer"><type>implementation_defined::const_pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1rbtree_1add7ec9cff25058ecdfaefc118b9c08be" name="value_type"><type>implementation_defined::value_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1rbtree_1a6aaf3cb6574aa309d1cd11b01c01b0b6" name="key_type"><type>implementation_defined::key_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1rbtree_1ac199b3ca42fa124fcb372f9707ac12bb" name="key_of_value"><type>implementation_defined::key_of_value</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1rbtree_1aa4cccf91e6e5b171061f58b846bd52b7" name="reference"><type>implementation_defined::reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1rbtree_1a39723e6305462d88c09b6c2613ce0798" name="const_reference"><type>implementation_defined::const_reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1rbtree_1af94abf7e286ed325ea26bd084dd825a3" name="difference_type"><type>implementation_defined::difference_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1rbtree_1ac40758f25a2db2cd8fec408e39b48494" name="size_type"><type>implementation_defined::size_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1rbtree_1af5d9c01c631429ef249c496675137832" name="value_compare"><type>implementation_defined::value_compare</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1rbtree_1adf9708ab1c3a901aed33075f75d962e6" name="key_compare"><type>implementation_defined::key_compare</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1rbtree_1a6053b5fc5e8db9293d5b2bfc5439f898" name="iterator"><type>implementation_defined::iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1rbtree_1a3e4eeb1cfb929d6764ea7ed1271a2b9d" name="const_iterator"><type>implementation_defined::const_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1rbtree_1a8b27512ae510260137e8b434c2ae2167" name="reverse_iterator"><type>implementation_defined::reverse_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1rbtree_1adb9234208c1e2c82060f0a30e61a9ded" name="const_reverse_iterator"><type>implementation_defined::const_reverse_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1rbtree_1ab0d4791d8ca0a452d50795689f840c92" name="node_traits"><type>implementation_defined::node_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1rbtree_1ab27718e4bbcc1f5d3870f6981e204c40" name="node"><type>implementation_defined::node</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1rbtree_1a967cae4788158919453b50c85aac2f7d" name="node_ptr"><type>implementation_defined::node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1rbtree_1accfb85ae802d0bd1432a428f4392aeb1" name="const_node_ptr"><type>implementation_defined::const_node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1rbtree_1a8911adca4b1b46bedbc4f52281e8212e" name="node_algorithms"><type>implementation_defined::node_algorithms</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1rbtree_1a1fe3eca1aedd45f445ebb0180c8e9273" name="insert_commit_data"><type>implementation_defined::insert_commit_data</type></typedef>
<data-member id="doxygen.classboost_1_1intrusive_1_1rbtree_1a9e53518ba9de760725910c51e5f692b3" name="constant_time_size" specifiers="static"><type>const bool</type></data-member>
<method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1rbtree_1aaba8d2c61b28959ed249fad49469caad"><description><para><emphasis role="bold">Effects</emphasis>: Constructs an empty container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the copy constructor of the key_compare object throws. Basic guarantee.   </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1rbtree_1a58b4368c9ea872d3ceaf450cccf48314" specifiers="explicit"><parameter name="cmp"><paramtype>const key_compare &amp;</paramtype></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1rbtree_1abebcad6ccffd4725d40da211916afb29"><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="unique"><paramtype>bool</paramtype></parameter><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><parameter name="cmp"><paramtype>const key_compare &amp;</paramtype><default>key_compare()</default></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1rbtree_1a5f3c13fb596fdcd9da774b2264e18998"><parameter name="x"><paramtype><classname>rbtree</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Constructs a container moving resources from another container. Internal comparison object and value traits are move constructed and nodes belonging to x (except the node representing the "end") are linked to *this.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node's move constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the move constructor of the comparison objet throws.   </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1rbtree_1a2ce8ee5bcf2782558c70cee5d81ca7e5"><type><classname>rbtree</classname> &amp;</type><parameter name="x"><paramtype><classname>rbtree</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Equivalent to swap  </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1rbtree_1aa27bf1d23d68308d6a6c28abeb570b66"><description><para><emphasis role="bold">Effects</emphasis>: Detaches all elements from this. The objects in the set are not deleted (i.e. no destructors are called), but the nodes according to the <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> template parameter are reinitialized and thus can be reused.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a4dd4ac5c7f1f83818a5d774ca733c683" name="begin" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1ab672ef17358ca9a83f3fe9953e578957" name="begin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a1ec2a8eef26a015a9c400df86f015c13" name="cbegin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1ab4d24648b63499f4f1aa7641add338dd" name="end" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a8d22db5fb2fd90a03c1207fedd0c0ab4" name="end" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a462648bcf1c2689d5efe6734a3992d6d" name="cend" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a529138a0c4b81c74834920cf7cd28c8f" name="rbegin" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1acdef99a1a0dce15077738d1d6d9f6b9e" name="rbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a6a0b8fde0f8e4ed286c45eba78c232f6" name="crbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a78dcb84500484ac9ee72a38feedbe2d5" name="rend" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1adbc088de37d6b1fb51ba7dd55ce6ad37" name="rend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a3f675d30b919a9969266041d6ac5525a" name="crend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1aae362c9ff0e7556e315f627be61de96e" name="root" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1rbtree_1ab4d24648b63499f4f1aa7641add338dd">end()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a79b6fd0f809cb06ccb602c3a79f8b61f" name="root" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1rbtree_1a462648bcf1c2689d5efe6734a3992d6d">cend()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1ad35644a45bd0396953723c09302fb158" name="croot" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1rbtree_1a462648bcf1c2689d5efe6734a3992d6d">cend()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a48123493820b1f89e208ac5ab0babea2" name="key_comp" cv="const"><type>key_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the key_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If key_compare copy-constructor throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1aaf35a91580ed203b95f6278725209740" name="value_comp" cv="const"><type>value_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the value_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_compare copy-constructor throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1aad98c06a5dbc257a3dc32366ccd69da5" name="empty" cv="const noexcept"><type>bool</type><description><para><emphasis role="bold">Effects</emphasis>: Returns true if the container is empty.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a35147a7d443c0164b3e001fdfadcce59" name="size" cv="const noexcept"><type>size_type</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the number of elements stored in the container.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this if constant-time size option is disabled. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a193080f361b3cf0c9e64b849febd5839" name="swap"><type>void</type><parameter name="other"><paramtype><classname>rbtree</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Swaps the contents of two containers.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor's swap call throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a3b858e524f12471fcc4381e150cf0eb5" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype>const <classname>rbtree</classname> &amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(const_reference ) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a0a90d597bb86a708842035631e7bfbf6" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype><classname>rbtree</classname> &amp;&amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(reference) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee.</para><para><emphasis role="bold">Note</emphasis>: This version can modify the source container, useful to implement move semantics.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a0a90d597bb86a708842035631e7bfbf6" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype><classname>rbtree</classname> &amp;&amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(reference) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee.</para><para><emphasis role="bold">Note</emphasis>: This version can modify the source container, useful to implement move semantics.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a20ae5a827abaf12543d78b1ac8842ee3" name="insert_equal"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1aab23c6aa76009eb536526b12c37751a5" name="insert_equal"><type>iterator</type><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1ab2d1c97dc07a51848539df0b70e07d5b" name="insert_equal"><type>void</type><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type.</para><para><emphasis role="bold">Effects</emphasis>: Inserts a each element of a range into the container before the upper bound of the key of each element.</para><para><emphasis role="bold">Complexity</emphasis>: Insert range is in general O(N * log(N)), where N is the size of the range. However, it is linear in N if the range is already sorted by <link linkend="doxygen.classboost_1_1intrusive_1_1rbtree_1aaf35a91580ed203b95f6278725209740">value_comp()</link>.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor call throws.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a5c67c2a9790c2514f555e8a2cbe4c450" name="insert_unique"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a35be7d2139a41d7fafae80954882aec6" name="insert_unique"><type>iterator</type><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a73390142c553bec47dc610d8c44a5564" name="insert_unique_check"><type>std::pair&lt; iterator, bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a03882e7ee523dd48cab51c82aad4a9a3" name="insert_unique_check"><type>std::pair&lt; iterator, bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1af24fce318631d04bb2b4d2e2652c3d91" name="insert_unique_check"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1ab013b50a7df02118ccaefb40045af2c9" name="insert_unique_check"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a880c92a81643c7e025fdb4cdb75a0331" name="insert_unique_commit" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter><parameter name="commit_data"><paramtype>const insert_commit_data &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue of type value_type. commit_data must have been obtained from a previous call to "insert_check". No objects should have been inserted or erased from the container between the "insert_check" that filled "commit_data" and the call to "insert_commit".</para><para><emphasis role="bold">Effects</emphasis>: Inserts the value in the container using the information obtained from the "commit_data" that a previous "insert_check" filled.</para><para><emphasis role="bold">Returns</emphasis>: An iterator to the newly inserted object.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function has only sense if a "insert_check" has been previously executed to fill "commit_data". No value should be inserted or erased between the "insert_check" and "insert_commit" calls.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1aabfed7f623f66ecae25955f275f75b49" name="insert_unique"><type>void</type><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type.</para><para><emphasis role="bold">Effects</emphasis>: Tries to insert each element of a range into the container.</para><para><emphasis role="bold">Complexity</emphasis>: Insert range is in general O(N * log(N)), where N is the size of the range. However, it is linear in N if the range is already sorted by <link linkend="doxygen.classboost_1_1intrusive_1_1rbtree_1aaf35a91580ed203b95f6278725209740">value_comp()</link>.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor call throws.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a6bafd85bbd554fb85fac8a9b5b9e9fd5" name="insert_before" cv="noexcept"><type>iterator</type><parameter name="pos"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, "pos" must be a valid iterator (or end) and must be the succesor of value once inserted according to the predicate</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container before "pos".</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if "pos" is not the successor of "value" container ordering invariant will be broken. This is a low-level function to be used only for performance reasons by advanced users.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a6e9f434dac35f29d8def95225e8f6455" name="push_back" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and it must be no less than the greatest inserted key</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container in the last position.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if value is less than the greatest inserted key container ordering invariant will be broken. This function is slightly more efficient than using "insert_before". This is a low-level function to be used only for performance reasons by advanced users.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a0865bf682892714c5dda09d4dcbefe85" name="push_front" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and it must be no greater than the minimum inserted key</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container in the first position.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if value is greater than the minimum inserted key container ordering invariant will be broken. This function is slightly more efficient than using "insert_before". This is a low-level function to be used only for performance reasons by advanced users.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a2f10f4e1981c9b1719aeb9069587e963" name="erase" cv="noexcept"><type>iterator</type><parameter name="i"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1ad29d1ceffb4d3401b721a784fbf84f40" name="erase" cv="noexcept"><type>iterator</type><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a887a3d911a70e0df97fcdbde1a1c50b4" name="erase"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a3b42c5c2789482e1cf79eda01845c1e1" name="erase"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "comp".</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1rbtree_1a35147a7d443c0164b3e001fdfadcce59">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a46a3d4c02837c13127e62c0ea408f9a3" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="i"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a409e1359a8d80ff4288f80f4a5c043a7" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a0341e49b42839e94b96741fc1958e35c" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a58b55e326d3d196120e977cfd10c5181" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk) and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "comp". Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1rbtree_1a35147a7d443c0164b3e001fdfadcce59">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased elements.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1ac1481394074881226f9dc80fe68ea34f" name="clear" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements on the container. if it's a safe-mode or auto-unlink value_type. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1ad7f0ec94eb01691482037ca51a812e48" name="clear_and_dispose" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements calling disposer(p) for each node to be erased. <emphasis role="bold">Complexity</emphasis>: Average complexity for is at most O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1rbtree_1a35147a7d443c0164b3e001fdfadcce59">size()</link> + N)), where N is the number of elements in the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. Calls N times to disposer functor.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1aa8d55101c5d165364495d58e4f703d41" name="count" cv="const"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1af481283d64342fffa0d9677ca5570772" name="count" cv="const"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of contained elements with the given key</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic to the number of elements contained plus lineal to number of objects with the given key.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a2baa8257b0f242a45421ca2ba344ec1d" name="lower_bound"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a198bbc28058801cfc65c487150f3c2e8" name="lower_bound"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a6aa988a5fab95136d0502a6c3a77b736" name="lower_bound" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a4612e8404224bc497bb9931057816278" name="lower_bound" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a201e118967cea7872f3f9f0e13cfc9d2" name="upper_bound"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1aed1fb8435ecbecd5e0b7fb78aaff0bf1" name="upper_bound"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k according to comp or <link linkend="doxygen.classboost_1_1intrusive_1_1rbtree_1ab4d24648b63499f4f1aa7641add338dd">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a6dd86ddc61679239c2090d97313edb9e" name="upper_bound" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1adfd4fb28404bc629c8edc6f2566bab8c" name="upper_bound" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k according to comp or <link linkend="doxygen.classboost_1_1intrusive_1_1rbtree_1ab4d24648b63499f4f1aa7641add338dd">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a8c31c49a7c5a6123ff00fe1b701ba6f0" name="find"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a96d8af7cdd9b027cb868db13d09581dc" name="find"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1rbtree_1ab4d24648b63499f4f1aa7641add338dd">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1aec436536e2d448c60be53bdef6e47673" name="find" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a40e01585f2d2f3fc8900a3e6b76d1a2f" name="find" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1rbtree_1ab4d24648b63499f4f1aa7641add338dd">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a5ce65647a16100502efa2515faaf4818" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a0b6e1951b06c35d64b84e27a95db6164" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1acfd2d2f193ad546f25bc35754c28697c" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a41b1ec6e8ab9921aaa49b473c477a921" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a77ca885aaeacf2db26aff07ffe67593c" name="bounded_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="lower"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a529a4be8f235ea83dc85334d282cdb35" name="bounded_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>lower_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, lower_key) if left_closed is true, with respect to !comp(lower_key, nk) otherwise.</para><para><computeroutput>upper_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(upper_key, nk) if right_closed is true, with respect to comp(nk, upper_key) otherwise.</para><para><computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to comp [comp(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!comp(upper_key, lower_key) &amp;&amp; !comp(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise</para><para>second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a41ec0eb8da502a1e702af85e4bfee545" name="bounded_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="lower_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1afaae9471a8da64996639d40b12f1b5c0" name="bounded_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>lower_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, lower_key) if left_closed is true, with respect to !comp(lower_key, nk) otherwise.</para><para><computeroutput>upper_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(upper_key, nk) if right_closed is true, with respect to comp(nk, upper_key) otherwise.</para><para><computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to comp [comp(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!comp(upper_key, lower_key) &amp;&amp; !comp(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise</para><para>second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a0cc764cac8cd2be4bf6da28af3f06d57" name="iterator_to" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1adfdb8fadc89fd6d44272a9fb8130c3f5" name="iterator_to" cv="const noexcept"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1ac6db37774455fe9c9e34afb72e4fcd96" name="unlink_leftmost_without_rebalance" cv="noexcept"><type>pointer</type><description><para><emphasis role="bold">Effects</emphasis>: Unlinks the leftmost node from the container.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function breaks the container and the container can only be used for more unlink_leftmost_without_rebalance calls. This function is normally used to achieve a step by step controlled destruction of the container.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a1dc658c06754015ded257a09b2598cf4" name="replace_node" cv="noexcept"><type>void</type><parameter name="replace_this"><paramtype>iterator</paramtype></parameter><parameter name="with_this"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: replace_this must be a valid iterator of *this and with_this must not be inserted in any container.</para><para><emphasis role="bold">Effects</emphasis>: Replaces replace_this in its position in the container with with_this. The container does not need to be rebalanced.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if with_this is not equivalent to *replace_this according to the ordering rules. This function is faster than erasing and inserting the node, since no rebalancing or comparison is needed.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a80eaf3e05b7486085f00947e40269290" name="remove_node" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: removes "value" from the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic time.</para><para><emphasis role="bold">Note</emphasis>: This static function is only usable with non-constant time size containers that have stateless comparison functors.</para><para>If the user calls this function with a constant time size container or stateful comparison functor a compilation error will be issued.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1ad12ba0d15735426a14073ee75d158ef2" name="merge_unique"><type>void</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options2"><type>class ...</type></template-nontype-parameter>
        </template><parameter name=""><paramtype><classname>rbtree</classname>&lt; T, Options2... &gt; &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a4e7027c2b9b15926ffe51a1524183473" name="merge_equal"><type>void</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options2"><type>class ...</type></template-nontype-parameter>
        </template><parameter name=""><paramtype><classname>rbtree</classname>&lt; T, Options2... &gt; &amp;</paramtype></parameter></method>
</method-group>
<method-group name="public static functions">
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1ac5bb49a503025e52020edb850f9f13ca" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type><classname>rbtree</classname> &amp;</type><parameter name="end_iterator"><paramtype>iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a57ddab876dfbd76c6a294f6fadc40658" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type>const <classname>rbtree</classname> &amp;</type><parameter name="end_iterator"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1aa26cbadf98f1f5682831d347aa5d3714" name="container_from_iterator" cv="noexcept" specifiers="static"><type><classname>rbtree</classname> &amp;</type><parameter name="it"><paramtype>iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a20956e5d5aece79cb548c8aa75ab3953" name="container_from_iterator" cv="noexcept" specifiers="static"><type>const <classname>rbtree</classname> &amp;</type><parameter name="it"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a89dd03c54f8e5d8c0f26a3abed1accb7" name="s_iterator_to" cv="noexcept" specifiers="static"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1af62dea72d208aaf48aa0b3e4834bde14" name="s_iterator_to" cv="noexcept" specifiers="static"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree_1a8e8258a8fba300c433be4ebb6a094407" name="init_node" cv="noexcept" specifiers="static"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
</method-group>
</class>



























































</namespace>
</namespace>
</header>
<header id="doxygen.rbtree__algorithms_8hpp" name="boost/intrusive/rbtree_algorithms.hpp">
<namespace name="boost">
<namespace name="intrusive">
<class id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms" name="rbtree_algorithms"><template>
      <template-type-parameter name="NodeTraits"/>
    </template><description><para><link linkend="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms">rbtree_algorithms</link> provides basic algorithms to manipulate nodes forming a red-black tree. The insertion and deletion algorithms are based on those in Cormen, Leiserson, and Rivest, Introduction to Algorithms (MIT Press, 1990), except that</para><para>(1) the header node is maintained with links not only to the root but also to the leftmost node of the tree, to enable constant time begin(), and to the rightmost node of the tree, to enable linear time performance when used with the generic set algorithms (set_union, etc.);</para><para>(2) when a node being deleted has two children its successor node is relinked into its place, rather than copied, so that the only pointers invalidated are those referring to the deleted node.</para><para><link linkend="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms">rbtree_algorithms</link> is configured with a NodeTraits class, which encapsulates the information about the node to be manipulated. NodeTraits must support the following interface:</para><para><emphasis role="bold">Typedefs</emphasis>:</para><para><computeroutput>node</computeroutput>: The type of the node that forms the binary search tree</para><para><computeroutput>node_ptr</computeroutput>: A pointer to a node</para><para><computeroutput>const_node_ptr</computeroutput>: A pointer to a const node</para><para><computeroutput>color</computeroutput>: The type that can store the color of a node</para><para><emphasis role="bold">Static functions</emphasis>:</para><para><computeroutput>static node_ptr get_parent(const_node_ptr n);</computeroutput></para><para><computeroutput>static void set_parent(node_ptr n, node_ptr parent);</computeroutput></para><para><computeroutput>static node_ptr get_left(const_node_ptr n);</computeroutput></para><para><computeroutput>static void set_left(node_ptr n, node_ptr left);</computeroutput></para><para><computeroutput>static node_ptr get_right(const_node_ptr n);</computeroutput></para><para><computeroutput>static void set_right(node_ptr n, node_ptr right);</computeroutput></para><para><computeroutput>static color get_color(const_node_ptr n);</computeroutput></para><para><computeroutput>static void set_color(node_ptr n, color c);</computeroutput></para><para><computeroutput>static color black();</computeroutput></para><para><computeroutput>static color red();</computeroutput> </para></description><typedef id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1ac41af04160d73bee6606370196ecef06" name="node_traits"><type>NodeTraits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1a34a705e22b78f7f53a6efb191db1c9ca" name="node"><type>NodeTraits::node</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1ae00ee63b6381d20d6236e1b5afbe9751" name="node_ptr"><type>NodeTraits::node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1a1cb90f9e771c6cddb7d803d2a2e63692" name="const_node_ptr"><type>NodeTraits::const_node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1a748d7009806a38585a3c95c15a57f89f" name="color"><type>NodeTraits::color</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1acfdad4e40067c4dfeebf6313c8e9fd1d" name="insert_commit_data"><description><para>This type is the information that will be filled by insert_unique_check </para></description><type>bstree_algo::insert_commit_data</type></typedef>
<method-group name="public static functions">
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1a0c62a2f7459a1b75cfa89420cc1f3773" name="get_header" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="n"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'n' is a node of the tree or a header node.</para><para><emphasis role="bold">Effects</emphasis>: Returns the header of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1afda06622605690994b23a62fd6970eaa" name="begin_node" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'header' is the header node of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Returns the first node of the tree, the header if the tree is empty.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1a7bac555860660ecd7cedd2e3aad0ac1e" name="end_node" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'header' is the header node of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Returns the header of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1ae667311f70f74c4068a9bce46494fb0b" name="swap_tree" cv="noexcept" specifiers="static"><type>void</type><parameter name="header1"><paramtype>node_ptr</paramtype></parameter><parameter name="header2"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header1 and header2 must be the header nodes of two trees.</para><para><emphasis role="bold">Effects</emphasis>: Swaps two trees. After the function header1 will contain links to the second tree and header2 will have links to the first tree.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1a2654ac1cc228d48eec27c451a0328013" name="swap_nodes" cv="noexcept" specifiers="static"><type>void</type><parameter name="node1"><paramtype>node_ptr</paramtype></parameter><parameter name="node2"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: node1 and node2 can't be header nodes of two trees.</para><para><emphasis role="bold">Effects</emphasis>: Swaps two nodes. After the function node1 will be inserted in the position node2 before the function. node2 will be inserted in the position node1 had before the function.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if node1 and node2 are not equivalent according to the ordering rules.</para><para>Experimental function   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1a207a8b6ae1b4706a0f2492d46524c14c" name="swap_nodes" cv="noexcept" specifiers="static"><type>void</type><parameter name="node1"><paramtype>node_ptr</paramtype></parameter><parameter name="header1"><paramtype>node_ptr</paramtype></parameter><parameter name="node2"><paramtype>node_ptr</paramtype></parameter><parameter name="header2"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: node1 and node2 can't be header nodes of two trees with header header1 and header2.</para><para><emphasis role="bold">Effects</emphasis>: Swaps two nodes. After the function node1 will be inserted in the position node2 before the function. node2 will be inserted in the position node1 had before the function.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if node1 and node2 are not equivalent according to the ordering rules.</para><para>Experimental function   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1a34db0653c6864f8e76c9cb6fc73f3ce1" name="replace_node" cv="noexcept" specifiers="static"><type>void</type><parameter name="node_to_be_replaced"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: node_to_be_replaced must be inserted in a tree and new_node must not be inserted in a tree.</para><para><emphasis role="bold">Effects</emphasis>: Replaces node_to_be_replaced in its position in the tree with new_node. The tree does not need to be rebalanced</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if new_node is not equivalent to node_to_be_replaced according to the ordering rules. This function is faster than erasing and inserting the node, since no rebalancing and comparison is needed. Experimental function   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1a1286d9f5340b5e3ca232285784ebbd11" name="replace_node" cv="noexcept" specifiers="static"><type>void</type><parameter name="node_to_be_replaced"><paramtype>node_ptr</paramtype></parameter><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: node_to_be_replaced must be inserted in a tree with header "header" and new_node must not be inserted in a tree.</para><para><emphasis role="bold">Effects</emphasis>: Replaces node_to_be_replaced in its position in the tree with new_node. The tree does not need to be rebalanced</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if new_node is not equivalent to node_to_be_replaced according to the ordering rules. This function is faster than erasing and inserting the node, since no rebalancing or comparison is needed. Experimental function   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1a5e93eed974a2526338fa0f2bd5e122d2" name="unlink" cv="noexcept" specifiers="static"><type>void</type><parameter name="n"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'n' is a tree node but not the header.</para><para><emphasis role="bold">Effects</emphasis>: Unlinks the node and rebalances the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1aaa4ea73e7ba2e03774c3fae3deabfd29" name="unlink_leftmost_without_rebalance" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header is the header of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Unlinks the leftmost node from the tree, and updates the header link to the new leftmost node.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function breaks the tree and the tree can only be used for more unlink_leftmost_without_rebalance calls. This function is normally used to achieve a step by step controlled destruction of the tree.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1a6cc577695782819cfca69fabfabfda08" name="unique" cv="noexcept" specifiers="static"><type>bool</type><parameter name="n"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'n' is a node of the tree or a node initialized by init(...) or init_node.</para><para><emphasis role="bold">Effects</emphasis>: Returns true if the node is initialized by <link linkend="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1aadaab4414b7ba99bebdffdfc429346f3">init()</link> or init_node().</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1a73eb4841ad1255c042068b32eeb06328" name="size" cv="noexcept" specifiers="static"><type>std::size_t</type><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'header' the header of the tree.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of nodes of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Linear time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1a1b6b03a8643f2d61176aa47d988891d2" name="next_node" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="n"><paramtype>node_ptr</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1ab2bbd27dd8e802dc3df60f0c4d728e9b" name="prev_node" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="n"><paramtype>node_ptr</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1aadaab4414b7ba99bebdffdfc429346f3" name="init" cv="noexcept" specifiers="static"><type>void</type><parameter name="n"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'n' must not be part of any tree.</para><para><emphasis role="bold">Effects</emphasis>: After the function unique(node) == true.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Nodes</emphasis>: If node is inserted in a tree, this function corrupts the tree.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1a509380110943c6682cffc2f417e2fb5e" name="init_header" cv="noexcept" specifiers="static"><type>void</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header must not be part of any tree.</para><para><emphasis role="bold">Effects</emphasis>: Initializes the header to represent an empty tree. unique(header) == true.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Nodes</emphasis>: If header is inserted in a tree, this function corrupts the tree.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1a3950ed6a55cbb3b61eabf934d9fedf7f" name="erase" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="z"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header must be the header of a tree, z a node of that tree and z != header.</para><para><emphasis role="bold">Effects</emphasis>: Erases node "z" from the tree with header "header".</para><para><emphasis role="bold">Complexity</emphasis>: Amortized constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1a5f73fc5c6049c2b7bb24f44e5abc9a55" name="transfer_unique" specifiers="static"><type>bool</type><template>
          <template-type-parameter name="NodePtrCompare"/>
        </template><parameter name="header1"><paramtype>node_ptr</paramtype></parameter><parameter name="comp"><paramtype>NodePtrCompare</paramtype></parameter><parameter name="header2"><paramtype>node_ptr</paramtype></parameter><parameter name="z"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header1 and header2 must be the headers of trees tree1 and tree2 respectively, z a non-header node of tree1. NodePtrCompare is the comparison function of tree1..</para><para><emphasis role="bold">Effects</emphasis>: Transfers node "z" from tree1 to tree2 if tree1 does not contain a node that is equivalent to z.</para><para><emphasis role="bold">Returns</emphasis>: True if the node was trasferred, false otherwise.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1a8242f2ac6a85674029b6978081134eb8" name="transfer_equal" specifiers="static"><type>void</type><template>
          <template-type-parameter name="NodePtrCompare"/>
        </template><parameter name="header1"><paramtype>node_ptr</paramtype></parameter><parameter name="comp"><paramtype>NodePtrCompare</paramtype></parameter><parameter name="header2"><paramtype>node_ptr</paramtype></parameter><parameter name="z"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header1 and header2 must be the headers of trees tree1 and tree2 respectively, z a non-header node of tree1. NodePtrCompare is the comparison function of tree1..</para><para><emphasis role="bold">Effects</emphasis>: Transfers node "z" from tree1 to tree2.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1aed4a40d50fd039846d3cff730c7b31e3" name="clone" specifiers="static"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="source_header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="target_header"><paramtype>node_ptr</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "cloner" must be a function object taking a node_ptr and returning a new cloned node of it. "disposer" must take a node_ptr and shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: First empties target tree calling <computeroutput>void disposer::operator()(node_ptr)</computeroutput> for every node of the tree except the header.</para><para>Then, duplicates the entire tree pointed by "source_header" cloning each source node with <computeroutput>node_ptr Cloner::operator()(node_ptr)</computeroutput> to obtain the nodes of the target tree. If "cloner" throws, the cloned target nodes are disposed using <computeroutput>void disposer(node_ptr )</computeroutput>.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of element of the source tree plus the number of elements of tree target tree when calling this function.</para><para><emphasis role="bold">Throws</emphasis>: If cloner functor throws. If this happens target nodes are disposed.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1ac2a89465fb3e6b03dc47760118a25041" name="clear_and_dispose" cv="noexcept" specifiers="static"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1a02595c986240e76e7fe717f79d27279d" name="lower_bound" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns a node_ptr to the first element that is not less than "key" according to "comp" or "header" if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1a42ba7eeef8781cf6a447d1b76a1a3fff" name="upper_bound" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns a node_ptr to the first element that is greater than "key" according to "comp" or "header" if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1ab045e5c977e8c5625122b2e4ace429c7" name="find" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns a node_ptr to the first element that is equivalent to "key" according to "comp" or "header" if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1aa98094e09e2e03e72501b14ecb45c6de" name="equal_range" specifiers="static"><type>std::pair&lt; node_ptr, node_ptr &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair of node_ptr delimiting a range containing all elements that are equivalent to "key" according to "comp" or an empty range that indicates the position where those elements would be if there are no equivalent elements.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1a4a27b198545481a4c1d828c899f918b3" name="bounded_range" specifiers="static"><type>std::pair&lt; node_ptr, node_ptr &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="eader"><paramtype>const_node_ptr</paramtype></parameter><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs. 'lower_key' must not be greater than 'upper_key' according to 'comp'. If 'lower_key' == 'upper_key', ('left_closed' || 'right_closed') must be true.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key) if left_closed, upper_bound(lower_key) otherwise</para><para>second = upper_bound(upper_key) if right_closed, lower_bound(upper_key) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1a9d86aa8e75b0e0602ed552480c96d803" name="count" specifiers="static"><type>std::size_t</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of elements with a key equivalent to "key" according to "comp".</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1a87f9fdd3ef3251f91406480d8c05e362" name="insert_equal_upper_bound" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="NodePtrCompare"/>
        </template><parameter name="h"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><parameter name="comp"><paramtype>NodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "h" must be the header node of a tree. NodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. NodePtrCompare compares two node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Inserts new_node into the tree before the upper bound according to "comp".</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity for insert element is at most logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1a4bd0636d972273023d738c743adb83d1" name="insert_equal_lower_bound" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="NodePtrCompare"/>
        </template><parameter name="h"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><parameter name="comp"><paramtype>NodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "h" must be the header node of a tree. NodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. NodePtrCompare compares two node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Inserts new_node into the tree before the lower bound according to "comp".</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity for insert element is at most logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1aa844cced7490a43ba2a8460ef86198c2" name="insert_equal" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="NodePtrCompare"/>
        </template><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="hint"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><parameter name="comp"><paramtype>NodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. NodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. NodePtrCompare compares two node_ptrs. "hint" is node from the "header"'s tree.</para><para><emphasis role="bold">Effects</emphasis>: Inserts new_node into the tree, using "hint" as a hint to where it will be inserted. If "hint" is the upper_bound the insertion takes constant time (two comparisons in the worst case).</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic in general, but it is amortized constant time if new_node is inserted immediately before "hint".</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1ae3eb6d2b1a8e546f670673bc87400c00" name="insert_before" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="pos"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. "pos" must be a valid iterator or header (end) node. "pos" must be an iterator pointing to the successor to "new_node" once inserted according to the order of already inserted nodes. This function does not check "pos" and this precondition must be guaranteed by the caller.</para><para><emphasis role="bold">Effects</emphasis>: Inserts new_node into the tree before "pos".</para><para><emphasis role="bold">Complexity</emphasis>: Constant-time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: If "pos" is not the successor of the newly inserted "new_node" tree invariants might be broken.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1a202a8e85c8a58ef99cf78a0b964be459" name="push_back" cv="noexcept" specifiers="static"><type>void</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. "new_node" must be, according to the used ordering no less than the greatest inserted key.</para><para><emphasis role="bold">Effects</emphasis>: Inserts new_node into the tree before "pos".</para><para><emphasis role="bold">Complexity</emphasis>: Constant-time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: If "new_node" is less than the greatest inserted key tree invariants are broken. This function is slightly faster than using "insert_before".   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1ae934edaa67286bf3536ee59e56bdf452" name="push_front" cv="noexcept" specifiers="static"><type>void</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. "new_node" must be, according to the used ordering, no greater than the lowest inserted key.</para><para><emphasis role="bold">Effects</emphasis>: Inserts new_node into the tree before "pos".</para><para><emphasis role="bold">Complexity</emphasis>: Constant-time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: If "new_node" is greater than the lowest inserted key tree invariants are broken. This function is slightly faster than using "insert_before".   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1ab96d6adcc3e0f68e77374ca759a5d687" name="insert_unique_check" specifiers="static"><type>std::pair&lt; node_ptr, bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1a7f19e41bc2a5874d014b9e104c2b9865" name="insert_unique_check" specifiers="static"><type>std::pair&lt; node_ptr, bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="hint"><paramtype>node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1abd3f5e506a9e7c4ed49bd5528e5ba9f0" name="insert_unique_commit" cv="noexcept" specifiers="static"><type>void</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="new_value"><paramtype>node_ptr</paramtype></parameter><parameter name="commit_data"><paramtype>const insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1rbtree__algorithms_1ab2ae63da401c27244f0a8274cd2c86e5" name="is_header" cv="noexcept" specifiers="static"><type>bool</type><parameter name="p"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: p is a node of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Returns true if p is the header of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
</method-group>
</class>



























































</namespace>
</namespace>
</header>
<header id="doxygen.set_8hpp" name="boost/intrusive/set.hpp">
<namespace name="boost">
<namespace name="intrusive">
<struct id="doxygen.structboost_1_1intrusive_1_1make__multiset" name="make_multiset"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define a <computeroutput>multiset</computeroutput> that yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__multiset_1a8514e4489d1e123724a6cd89d289d523" name="type"><type>implementation_defined</type></typedef>
</struct><struct id="doxygen.structboost_1_1intrusive_1_1make__set" name="make_set"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define a <computeroutput>set</computeroutput> that yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__set_1aaa5144afbd29e729ea9723485fd77d5d" name="type"><type>implementation_defined</type></typedef>
</struct><class id="doxygen.classboost_1_1intrusive_1_1multiset" name="multiset"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>The class template multiset is an intrusive container, that mimics most of the interface of std::multiset as described in the C++ standard.</para><para>The template parameter <computeroutput>T</computeroutput> is the type to be managed by the container. The user can specify additional options and if no options are provided default options are used.</para><para>The container supports the following options: <computeroutput>base_hook&lt;&gt;/member_hook&lt;&gt;/value_traits&lt;&gt;</computeroutput>, <computeroutput>constant_time_size&lt;&gt;</computeroutput>, <computeroutput>size_type&lt;&gt;</computeroutput> and <computeroutput>compare&lt;&gt;</computeroutput>. </para></description><typedef id="doxygen.classboost_1_1intrusive_1_1multiset_1a1a1cd3c9cd1e94037b1772ce47a23a97" name="value_type"><type>implementation_defined::value_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1multiset_1aa73e52de55d867819702789de757810a" name="key_type"><type>implementation_defined::key_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1multiset_1a847ecbaf13a39d809f83a69a597b1c27" name="key_of_value"><type>implementation_defined::key_of_value</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1multiset_1a044264607ed607fa546f05cb2d0f8244" name="value_traits"><type>implementation_defined::value_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1multiset_1ada8d861efe9bae8776950ae0fc0b86b6" name="pointer"><type>implementation_defined::pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1multiset_1a716bb198e159415530f0b8bd5c047638" name="const_pointer"><type>implementation_defined::const_pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1multiset_1a0e1a382bbd51637f324ca013cb52a6b6" name="reference"><type>implementation_defined::reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1multiset_1a7016e061ab2012d3969625145d873a31" name="const_reference"><type>implementation_defined::const_reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1multiset_1a14c8b47d473f02a0875f2ac111b42d28" name="difference_type"><type>implementation_defined::difference_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1multiset_1a4719eb274598ce8e078be7b1578695fa" name="size_type"><type>implementation_defined::size_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1multiset_1a850ff2836751e024273b3f85e6eae6c4" name="value_compare"><type>implementation_defined::value_compare</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1multiset_1ac4288c6c9cf02227d4a12536aa62ec8a" name="key_compare"><type>implementation_defined::key_compare</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1multiset_1ae5df27c5176db9199b2a83b2f6d8858e" name="iterator"><type>implementation_defined::iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1multiset_1a1b6599671e213381883512f792c7a3e4" name="const_iterator"><type>implementation_defined::const_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1multiset_1a2ec77c225e63562e8c1a7df388b320b1" name="reverse_iterator"><type>implementation_defined::reverse_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1multiset_1a2a4059ac13e2cb21d2ef2c5eb7b51dcc" name="const_reverse_iterator"><type>implementation_defined::const_reverse_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1multiset_1a038e571e1ae85e481a356eb2ff66637b" name="insert_commit_data"><type>implementation_defined::insert_commit_data</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1multiset_1ac2cd4e1202b17025b67590f7302d43e6" name="node_traits"><type>implementation_defined::node_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1multiset_1af6e2f1e819a4c46a447e9f99fcbb26e0" name="node"><type>implementation_defined::node</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1multiset_1a5601894bd288126722270eabc8ce0c81" name="node_ptr"><type>implementation_defined::node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1multiset_1a91bd2d40dba1078cd6c09a0eed81cdb8" name="const_node_ptr"><type>implementation_defined::const_node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1multiset_1ae3e2754367b004cdddfbc1822302f607" name="node_algorithms"><type>implementation_defined::node_algorithms</type></typedef>
<data-member id="doxygen.classboost_1_1intrusive_1_1multiset_1a0c0f4cb45f18cd4c41a78358921f3be1" name="constant_time_size" specifiers="static"><type>const bool</type></data-member>
<method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1multiset_1a9aebcfe5d79c364e81289ecf7d8e8b6f"><description><para><emphasis role="bold">Effects</emphasis>: Constructs an empty container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the copy constructor of the key_compare object throws. Basic guarantee.    </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1multiset_1aaf18186268996cf02e106cbb99008521" specifiers="explicit"><parameter name="cmp"><paramtype>const key_compare &amp;</paramtype></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1multiset_1ae909f6a85e5e4562a830091ca324663b"><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><parameter name="cmp"><paramtype>const key_compare &amp;</paramtype><default>key_compare()</default></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1multiset_1a0033e5b32c2716b45ec7d3b9cde3d41f"><parameter name="x"><paramtype><classname>multiset</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Constructs a container moving resources from another container. Internal comparison object and value traits are move constructed and nodes belonging to x (except the node representing the "end") are linked to *this.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node's move constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the move constructor of the comparison objet throws.    </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1multiset_1ad548a8574cf4d37cdc0871ef67d9167c"><type><classname>multiset</classname> &amp;</type><parameter name="x"><paramtype><classname>multiset</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Equivalent to swap   </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1multiset_1a1c1cdd0e0c4dc563f8994fdbc8c2c339"><description><para><emphasis role="bold">Effects</emphasis>: Detaches all elements from this. The objects in the set are not deleted (i.e. no destructors are called), but the nodes according to the <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> template parameter are reinitialized and thus can be reused.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1ae5b42e2c3203f646702c3d9eefaaa97f" name="begin" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a468853cb030e44d80d2c20c587588615" name="begin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1ac3ad4c8dcbdbd5526417a44e289c34d3" name="cbegin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a72c75ca48dc569a7dbc2061b5b657caa" name="end" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a848b625948764d19689804b50d80afb1" name="end" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a164af9bb4461e5546c4b9ee9bcc719b2" name="cend" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a30ea1be590892f4ab10f83aeb37153fb" name="rbegin" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1add527effd16eb993cbe7b9adc8c252ef" name="rbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1aecb8954995182a1f3cb34e5f50e101f4" name="crbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a0a985ef9abda957e9c61439ab1e22845" name="rend" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a022eb1d78f67423d1945c0e3319b664a" name="rend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1aff911a90c5dc9a0fe43f73791545f035" name="crend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a5ef9f9729fe18071528966c9ca17c545" name="root" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1multiset_1a72c75ca48dc569a7dbc2061b5b657caa">end()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a889851beb97f9eaa64efb4aa328c3352" name="root" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1multiset_1a164af9bb4461e5546c4b9ee9bcc719b2">cend()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1aea7061f7b9a9b088dfe28e6d9bad5d39" name="croot" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1multiset_1a164af9bb4461e5546c4b9ee9bcc719b2">cend()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a3091637ce979866e5374dc8226b0d067" name="key_comp" cv="const"><type>key_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the key_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If key_compare copy-constructor throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1ae94f55d24376d0a16d8a54293841dffd" name="value_comp" cv="const"><type>value_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the value_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_compare copy-constructor throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1ae42d67e05bf00f0af0bdb0ccfe7f4425" name="empty" cv="const noexcept"><type>bool</type><description><para><emphasis role="bold">Effects</emphasis>: Returns true if the container is empty.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a23b16915fb1a66d300da10e2c0e2b586" name="size" cv="const noexcept"><type>size_type</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the number of elements stored in the container.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this if constant-time size option is disabled. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1abe01d5d36d5f79825c2390f8f39b4041" name="swap"><type>void</type><parameter name="other"><paramtype><classname>multiset</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Swaps the contents of two containers.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor's swap call throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a15db661fbc50daa838e98ee6851a6f1c" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype>const <classname>multiset</classname> &amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(const_reference ) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a774893e7ec7d2ccbaf1777ae861b9ee1" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype><classname>multiset</classname> &amp;&amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(reference) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee.</para><para><emphasis role="bold">Note</emphasis>: This version can modify the source container, useful to implement move semantics.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a8d4d367422ad0f090229f906f42cee3c" name="insert"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a8e1a32bebebb25dbe76ad4b31ef48f2f" name="insert"><type>iterator</type><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1af6799dde3f3ede793b17607f23a88a0b" name="insert"><type>void</type><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type.</para><para><emphasis role="bold">Effects</emphasis>: Inserts a each element of a range into the container before the upper bound of the key of each element.</para><para><emphasis role="bold">Complexity</emphasis>: Insert range is in general O(N * log(N)), where N is the size of the range. However, it is linear in N if the range is already sorted by <link linkend="doxygen.classboost_1_1intrusive_1_1multiset_1ae94f55d24376d0a16d8a54293841dffd">value_comp()</link>.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor call throws.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1aa8529ea20f33eb4fcb463f9a63afed52" name="insert_before" cv="noexcept"><type>iterator</type><parameter name="pos"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, "pos" must be a valid iterator (or end) and must be the succesor of value once inserted according to the predicate</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container before "pos".</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if "pos" is not the successor of "value" container ordering invariant will be broken. This is a low-level function to be used only for performance reasons by advanced users.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a730d05865a30313613bb2452e7d19b08" name="push_back" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and it must be no less than the greatest inserted key</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container in the last position.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if value is less than the greatest inserted key container ordering invariant will be broken. This function is slightly more efficient than using "insert_before". This is a low-level function to be used only for performance reasons by advanced users.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1ad8606114ab0f65f2195f9c933cf4b64f" name="push_front" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and it must be no greater than the minimum inserted key</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container in the first position.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if value is greater than the minimum inserted key container ordering invariant will be broken. This function is slightly more efficient than using "insert_before". This is a low-level function to be used only for performance reasons by advanced users.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a0f3720637da79978dfc3b6a988cda47c" name="erase" cv="noexcept"><type>iterator</type><parameter name="i"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a14bef9ae0f304708941abbedd69c53e1" name="erase" cv="noexcept"><type>iterator</type><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a6a9b8f5b6528efd9fefa98d4ef3a1fec" name="erase"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1acd525727c94d077073d8276e2c0ab264" name="erase"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "comp".</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1multiset_1a23b16915fb1a66d300da10e2c0e2b586">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1afdbeaa7cdaf5c27869c3e026252d32dd" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="i"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a29485ed5f22cd930ff5986e7392dcefd" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a39ebeca92358b36c5f1d4d7e257f0fb7" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a1fbb2550966457d14478078f069b1c2d" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk) and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "comp". Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1multiset_1a23b16915fb1a66d300da10e2c0e2b586">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased elements.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1afd687dd19e6d792950ddacbcfd2e9b2b" name="clear" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements on the container. if it's a safe-mode or auto-unlink value_type. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1ac000c5695bbb399269412dfca736b03f" name="clear_and_dispose" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements calling disposer(p) for each node to be erased. <emphasis role="bold">Complexity</emphasis>: Average complexity for is at most O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1multiset_1a23b16915fb1a66d300da10e2c0e2b586">size()</link> + N)), where N is the number of elements in the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. Calls N times to disposer functor.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a65f4b389498b148b8a752fb224aae126" name="count" cv="const"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a631527c06b7a77f39c69f49842e3ab74" name="count" cv="const"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of contained elements with the given key</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic to the number of elements contained plus lineal to number of objects with the given key.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a58715881083d4067507ff2faedc10d75" name="lower_bound"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1ab28a393093ad9dc89faaec4f8da123d8" name="lower_bound"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a5839acc1fdf61ea6c1d938fe7ca99506" name="lower_bound" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a510238204904e8aa0c3ce4cfc03aceb3" name="lower_bound" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a6f3104ad15c9604f16b4ff3875770344" name="upper_bound"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a2fcd10c7ced066e48975a8bb4dd68a50" name="upper_bound"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k according to comp or <link linkend="doxygen.classboost_1_1intrusive_1_1multiset_1a72c75ca48dc569a7dbc2061b5b657caa">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a4ae87243eacdcb67bfa59212d6261e5a" name="upper_bound" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a37aca97f7875d2287896cf2c27d17fc8" name="upper_bound" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k according to comp or <link linkend="doxygen.classboost_1_1intrusive_1_1multiset_1a72c75ca48dc569a7dbc2061b5b657caa">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.     </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a705a66635c85de4803f7a59d7656c507" name="find"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a2b9fbaafc6396df824e0a34e481e7b57" name="find"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1multiset_1a72c75ca48dc569a7dbc2061b5b657caa">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a409384d5c915d1756b9e51e038907253" name="find" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a5aa8f5feb0bf02f04441f452b92fd933" name="find" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1multiset_1a72c75ca48dc569a7dbc2061b5b657caa">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.     </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a3ff3e4a5dea564a8edd9ab6d39c7058d" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1ab43a4d39c71807d5fbcbb378aa443fa0" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a196f48de59b92daa1cbcf947a80c22a3" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1aff50e7b796fd87b6554cfc4ad29bd13b" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.     </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a30cfded8c347bb9f3fddfb9b872d577d" name="bounded_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="lower_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1af665a434d4193eb91c2bc9235341cce5" name="bounded_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>lower_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, lower_key) if left_closed is true, with respect to !comp(lower_key, nk) otherwise.</para><para><computeroutput>upper_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(upper_key, nk) if right_closed is true, with respect to comp(nk, upper_key) otherwise.</para><para><computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to comp [comp(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!comp(upper_key, lower_key) &amp;&amp; !comp(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise</para><para>second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a45951b3f95243fa9514b35d0d37a0e1e" name="bounded_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="lower_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a0172661d4a743e0c18b9666578275621" name="bounded_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>lower_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, lower_key) if left_closed is true, with respect to !comp(lower_key, nk) otherwise.</para><para><computeroutput>upper_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(upper_key, nk) if right_closed is true, with respect to comp(nk, upper_key) otherwise.</para><para><computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to comp [comp(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!comp(upper_key, lower_key) &amp;&amp; !comp(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise</para><para>second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases.     </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a2d2e1727b80014a858363ee1c4496aee" name="iterator_to" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1afae0e10e3b6979dbec48a043a62f11f0" name="iterator_to" cv="const noexcept"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a95334e8cfa1618dc83a45a27d7e3cd4a" name="unlink_leftmost_without_rebalance" cv="noexcept"><type>pointer</type><description><para><emphasis role="bold">Effects</emphasis>: Unlinks the leftmost node from the container.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function breaks the container and the container can only be used for more unlink_leftmost_without_rebalance calls. This function is normally used to achieve a step by step controlled destruction of the container.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a1b24b3bfc8b079b3ed68c0e33a05e3a0" name="replace_node" cv="noexcept"><type>void</type><parameter name="replace_this"><paramtype>iterator</paramtype></parameter><parameter name="with_this"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: replace_this must be a valid iterator of *this and with_this must not be inserted in any container.</para><para><emphasis role="bold">Effects</emphasis>: Replaces replace_this in its position in the container with with_this. The container does not need to be rebalanced.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if with_this is not equivalent to *replace_this according to the ordering rules. This function is faster than erasing and inserting the node, since no rebalancing or comparison is needed.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a75697ac3a1792890a35dbe2d54d1a271" name="remove_node" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: removes "value" from the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic time.</para><para><emphasis role="bold">Note</emphasis>: This static function is only usable with non-constant time size containers that have stateless comparison functors.</para><para>If the user calls this function with a constant time size container or stateful comparison functor a compilation error will be issued.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1aa544037780b5dcd8fbcbbf852e269092" name="merge"><type>void</type><template>
          <template-nontype-parameter name="Options2"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="source"><paramtype><classname>multiset</classname>&lt; T, Options2... &gt; &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a720a1ba8491806ec3770106a43dd0546" name="merge"><type>void</type><template>
          <template-nontype-parameter name="Options2"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="source"><paramtype><classname>set</classname>&lt; T, Options2... &gt; &amp;</paramtype></parameter></method>
</method-group>
<method-group name="public static functions">
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a36034529785123aad09c9368c41c5e7d" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type><classname>multiset</classname> &amp;</type><parameter name="end_iterator"><paramtype>iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a94e6f9b91d3af6722fba80e943d281a3" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type>const <classname>multiset</classname> &amp;</type><parameter name="end_iterator"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a88b16e3cf284acc053eb53f03e8b7175" name="container_from_iterator" cv="noexcept" specifiers="static"><type><classname>multiset</classname> &amp;</type><parameter name="it"><paramtype>iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a06e228cb04eafeb80b11e4042871537f" name="container_from_iterator" cv="noexcept" specifiers="static"><type>const <classname>multiset</classname> &amp;</type><parameter name="it"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a7ab34f9b29b549bb7fd46bf94eaeba56" name="s_iterator_to" cv="noexcept" specifiers="static"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1aadf535873eedee33ff05b013ef810be2" name="s_iterator_to" cv="noexcept" specifiers="static"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1multiset_1a3a7cd12af2892512db356f1ef0185aeb" name="init_node" cv="noexcept" specifiers="static"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
</method-group>
</class><class id="doxygen.classboost_1_1intrusive_1_1set" name="set"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>The class template set is an intrusive container, that mimics most of the interface of std::set as described in the C++ standard.</para><para>The template parameter <computeroutput>T</computeroutput> is the type to be managed by the container. The user can specify additional options and if no options are provided default options are used.</para><para>The container supports the following options: <computeroutput>base_hook&lt;&gt;/member_hook&lt;&gt;/value_traits&lt;&gt;</computeroutput>, <computeroutput>constant_time_size&lt;&gt;</computeroutput>, <computeroutput>size_type&lt;&gt;</computeroutput> and <computeroutput>compare&lt;&gt;</computeroutput>. </para></description><typedef id="doxygen.classboost_1_1intrusive_1_1set_1a8db18ff6b48856adedd088619e9103a0" name="value_type"><type>implementation_defined::value_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1set_1a4fe47bb2d5d0b47e6a658c479290b757" name="key_type"><type>implementation_defined::key_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1set_1aad809c252ced1fe7269e5c2891871f91" name="key_of_value"><type>implementation_defined::key_of_value</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1set_1afcb76e6712dca240fc00139e730a1752" name="value_traits"><type>implementation_defined::value_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1set_1a02a71e4b3d8766dc7eb11b8369e938e6" name="pointer"><type>implementation_defined::pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1set_1ac32f309dd0aa7b66cda9721871359bb8" name="const_pointer"><type>implementation_defined::const_pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1set_1a1feb14fe6d06f4759dde53de44632d8c" name="reference"><type>implementation_defined::reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1set_1a5df0b37aaa81e37cb43f0ebb7d1b7876" name="const_reference"><type>implementation_defined::const_reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1set_1a5da18e0a24e69e7c059e446adae9d003" name="difference_type"><type>implementation_defined::difference_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1set_1a5521ed61e319f9a27adfaa4c75f05e02" name="size_type"><type>implementation_defined::size_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1set_1abf1872a9e6cc0eaa0ad3b1cffade9853" name="value_compare"><type>implementation_defined::value_compare</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1set_1a88a899f554606f4703818d097dfc3b17" name="key_compare"><type>implementation_defined::key_compare</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1set_1a436638d0f048c233dbae1247736d362f" name="iterator"><type>implementation_defined::iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1set_1a617b53474892d759718a86710f10f34f" name="const_iterator"><type>implementation_defined::const_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1set_1a49b696c9bca695350cd6dee1d07d8b31" name="reverse_iterator"><type>implementation_defined::reverse_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1set_1ae3ee0cc07053ae5ff932a215e41fce4d" name="const_reverse_iterator"><type>implementation_defined::const_reverse_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1set_1ae546c9464032a1a3c48347e38ea39f26" name="insert_commit_data"><type>implementation_defined::insert_commit_data</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1set_1a417924696c4f7e596eceb3f05d5a02e8" name="node_traits"><type>implementation_defined::node_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1set_1ac4ba86e1e7a475bdb7e8d9f533c51cef" name="node"><type>implementation_defined::node</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1set_1ad203f0482866ef532472324543cf65f9" name="node_ptr"><type>implementation_defined::node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1set_1a531e1a209fd7def2a992da6a4cde5c54" name="const_node_ptr"><type>implementation_defined::const_node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1set_1a0910a46a63d886280bfc41b941b890c8" name="node_algorithms"><type>implementation_defined::node_algorithms</type></typedef>
<data-member id="doxygen.classboost_1_1intrusive_1_1set_1a242c3f28c480937aa1fc283c50c17ba7" name="constant_time_size" specifiers="static"><type>const bool</type></data-member>
<method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1set_1ab625e25312abfe9390ab424377f8c192"><description><para><emphasis role="bold">Effects</emphasis>: Constructs an empty container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the copy constructor of the key_compare object throws. Basic guarantee.    </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1set_1ad1613d5392d306cf581a0aedc9458eb3" specifiers="explicit"><parameter name="cmp"><paramtype>const key_compare &amp;</paramtype></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1set_1ad758878ba5cde966c9558e0a32279d2d"><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><parameter name="cmp"><paramtype>const key_compare &amp;</paramtype><default>key_compare()</default></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1set_1a60a28abdc44b873a6fa4ae5799490919"><parameter name="x"><paramtype><classname>set</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Constructs a container moving resources from another container. Internal comparison object and value traits are move constructed and nodes belonging to x (except the node representing the "end") are linked to *this.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node's move constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the move constructor of the comparison objet throws.    </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1set_1ac058d2c026d26d88f1f666b3f2508614"><type><classname>set</classname> &amp;</type><parameter name="x"><paramtype><classname>set</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Equivalent to swap   </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1set_1aae385c576ec079c25cd17927f6d64421"><description><para><emphasis role="bold">Effects</emphasis>: Detaches all elements from this. The objects in the set are not deleted (i.e. no destructors are called), but the nodes according to the <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> template parameter are reinitialized and thus can be reused.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1set_1ad84ed774fe78b220af95c249f24eef42" name="begin" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a7185361d76dfdecebdbf152725700950" name="begin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a4e87963385601f7cac1f06a60e969246" name="cbegin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1aa8088a2446fb2be19b6f9ee0aeb8a449" name="end" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1aeea528c4022380aaeb596158db5c0b50" name="end" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1add3bf8e2603d4b44e8519b067c2541e0" name="cend" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a6136f555cbec2b35a875e1917b29333e" name="rbegin" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1ae7ca694abbfaaf37a44f12328f09322a" name="rbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a1aaa5e476cadfa3a4d61b597cc3af673" name="crbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a75cffd7357f8122cd050daec859e6288" name="rend" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1adbf71b6b30758b92a3304e18b83e17f1" name="rend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a386c939178dd7b4fe1088037309179c4" name="crend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a805dc3994f78816f35589e5ec5d355e6" name="root" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1set_1aa8088a2446fb2be19b6f9ee0aeb8a449">end()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1ab3ee912a9e7ab8d1562a97621dcf1f35" name="root" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1set_1add3bf8e2603d4b44e8519b067c2541e0">cend()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a1e9c0fad6ffed421a5f7a63695d230b2" name="croot" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1set_1add3bf8e2603d4b44e8519b067c2541e0">cend()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a266ff7a67439e0cf2ac01762f4beb55d" name="key_comp" cv="const"><type>key_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the key_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If key_compare copy-constructor throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a084b835671cba46365992aec7d683383" name="value_comp" cv="const"><type>value_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the value_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_compare copy-constructor throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a7c74a292e3e40cce2c35aaad0c1db849" name="empty" cv="const noexcept"><type>bool</type><description><para><emphasis role="bold">Effects</emphasis>: Returns true if the container is empty.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a0c92fa6f01bf79dd137ccfa68a9af4b3" name="size" cv="const noexcept"><type>size_type</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the number of elements stored in the container.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this if constant-time size option is disabled. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1acd16ba6c586ce617c2c6af458b160ada" name="swap"><type>void</type><parameter name="other"><paramtype><classname>set</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Swaps the contents of two containers.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor's swap call throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a2c9ed87c0b3c36d966d3f784842e3759" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype>const <classname>set</classname> &amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(const_reference ) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1ae57041df64ee2c97965b0a813def46f1" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype><classname>set</classname> &amp;&amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(reference) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee.</para><para><emphasis role="bold">Note</emphasis>: This version can modify the source container, useful to implement move semantics.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a2e94bb30f5b90581c3ad919b8c957cf4" name="insert"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a1105dc8347fb5130c14e5db134b36b08" name="insert"><type>iterator</type><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a782ad74065b467cc81048606bbd6b460" name="insert_check"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a41b449fab90cb28d9e121dc9973b4aad" name="insert_check"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a9ff3c287adaa9a2f82ee3c1054a125e3" name="insert_check"><type>std::pair&lt; iterator, bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a5135159f9607de3d943af5159ff7855c" name="insert_check"><type>std::pair&lt; iterator, bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a8b6f96c3706826a5d38197f7db283842" name="insert"><type>void</type><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type.</para><para><emphasis role="bold">Effects</emphasis>: Tries to insert each element of a range into the container.</para><para><emphasis role="bold">Complexity</emphasis>: Insert range is in general O(N * log(N)), where N is the size of the range. However, it is linear in N if the range is already sorted by <link linkend="doxygen.classboost_1_1intrusive_1_1set_1a084b835671cba46365992aec7d683383">value_comp()</link>.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor call throws.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a2090ca6fe5aa544e04aa171a3e0b86cc" name="insert_commit" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter><parameter name="commit_data"><paramtype>const insert_commit_data &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue of type value_type. commit_data must have been obtained from a previous call to "insert_check". No objects should have been inserted or erased from the container between the "insert_check" that filled "commit_data" and the call to "insert_commit".</para><para><emphasis role="bold">Effects</emphasis>: Inserts the value in the container using the information obtained from the "commit_data" that a previous "insert_check" filled.</para><para><emphasis role="bold">Returns</emphasis>: An iterator to the newly inserted object.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function has only sense if a "insert_check" has been previously executed to fill "commit_data". No value should be inserted or erased between the "insert_check" and "insert_commit" calls.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a07861712c71dbd29c7bf4db28ba55315" name="insert_before" cv="noexcept"><type>iterator</type><parameter name="pos"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, "pos" must be a valid iterator (or end) and must be the succesor of value once inserted according to the predicate</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container before "pos".</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if "pos" is not the successor of "value" container ordering invariant will be broken. This is a low-level function to be used only for performance reasons by advanced users.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a8c14265373b9f8ddc7bcddcbab254e39" name="push_back" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and it must be no less than the greatest inserted key</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container in the last position.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if value is less than the greatest inserted key container ordering invariant will be broken. This function is slightly more efficient than using "insert_before". This is a low-level function to be used only for performance reasons by advanced users.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a5283979744be3b6127667664c2e8e058" name="push_front" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and it must be no greater than the minimum inserted key</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container in the first position.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if value is greater than the minimum inserted key container ordering invariant will be broken. This function is slightly more efficient than using "insert_before". This is a low-level function to be used only for performance reasons by advanced users.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a18a152da5c1a06b146f2ea8a0616d00f" name="erase" cv="noexcept"><type>iterator</type><parameter name="i"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a1019cdb154af105be87f0c48d8a747f1" name="erase" cv="noexcept"><type>iterator</type><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1ad5001d48e49d11a322436b2e3a1b4737" name="erase"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a69e9537933ab118b215ab9cbee0b4bc5" name="erase"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "comp".</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1set_1a0c92fa6f01bf79dd137ccfa68a9af4b3">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a57c42db04f4b2b989043d321b4b7e106" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="i"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a95cf5b0bd94e2af5688c213d97e0a5a5" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a7cef86dbfb9b0148b92195ea10a53941" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a6284109b33895422f79a1903005dd850" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk) and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "comp". Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1set_1a0c92fa6f01bf79dd137ccfa68a9af4b3">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased elements.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a02d61fccee31fdec6da69707b11aa4db" name="clear" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements on the container. if it's a safe-mode or auto-unlink value_type. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a68734b17ddcf9fa1b164defd03140c49" name="clear_and_dispose" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements calling disposer(p) for each node to be erased. <emphasis role="bold">Complexity</emphasis>: Average complexity for is at most O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1set_1a0c92fa6f01bf79dd137ccfa68a9af4b3">size()</link> + N)), where N is the number of elements in the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. Calls N times to disposer functor.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1ae3980c8787a1eafc66c4491abd980a8b" name="count" cv="const"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1af33676f2c38f671fcb4a8157fd8cd74b" name="count" cv="const"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of contained elements with the given key</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic to the number of elements contained plus lineal to number of objects with the given key.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1aca7432c80620cd881746724bf9416774" name="lower_bound"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a160ef41363e8d39bc4799a7b24bcb522" name="lower_bound"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1ad7e2b45ea808be81adfa7513792ac4ac" name="lower_bound" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a3961400fdd04c114f4a81dd32629c900" name="lower_bound" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a171a136ee8be6d538a1aa2174ff98530" name="upper_bound"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a76e9a7f19d37b286f7e8ac71e58bfbf9" name="upper_bound"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k according to comp or <link linkend="doxygen.classboost_1_1intrusive_1_1set_1aa8088a2446fb2be19b6f9ee0aeb8a449">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a4df59b0ea7c97a6f51b984376c2ee2be" name="upper_bound" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a2193f208d918334a7004ebe7e53ec22a" name="upper_bound" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k according to comp or <link linkend="doxygen.classboost_1_1intrusive_1_1set_1aa8088a2446fb2be19b6f9ee0aeb8a449">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.     </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a48254607021e6d22de640d1350baef48" name="find"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a0395c69e3788e6b58a6dac14b20e2b29" name="find"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1set_1aa8088a2446fb2be19b6f9ee0aeb8a449">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1aebaabd13ab5a5ec085dca8296e328737" name="find" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a16b0bf1c6867b7b2f5cb8d7966468042" name="find" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1set_1aa8088a2446fb2be19b6f9ee0aeb8a449">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.     </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1aed9f7c383b6ab573d4ebfac057f757df" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a233e99f17cc0fe6b502b30df15e342d1" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1aceec1142028b85e792e8e20c7087ee6f" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a06d6fd389500a3a2d10094b8bf8faa8f" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.     </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a9e77121e1e25b3f553ca65ca625e91d2" name="bounded_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="lower_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1af165cdfa0ecec56b4620de4b0c2f9083" name="bounded_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>lower_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, lower_key) if left_closed is true, with respect to !comp(lower_key, nk) otherwise.</para><para><computeroutput>upper_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(upper_key, nk) if right_closed is true, with respect to comp(nk, upper_key) otherwise.</para><para><computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to comp [comp(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!comp(upper_key, lower_key) &amp;&amp; !comp(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise</para><para>second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a3a57b05bfb7360e369af2a43818e3024" name="bounded_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="lower_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1ab872f44669c3b1cd5378eb03c47c4322" name="bounded_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>lower_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, lower_key) if left_closed is true, with respect to !comp(lower_key, nk) otherwise.</para><para><computeroutput>upper_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(upper_key, nk) if right_closed is true, with respect to comp(nk, upper_key) otherwise.</para><para><computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to comp [comp(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!comp(upper_key, lower_key) &amp;&amp; !comp(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise</para><para>second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases.     </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1aa4d9193952cf46af50cd14d1971b4dd3" name="iterator_to" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a9ea52a684301119773705d514fdc571f" name="iterator_to" cv="const noexcept"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a539c38d177f5349e66fba82a3ab54311" name="unlink_leftmost_without_rebalance" cv="noexcept"><type>pointer</type><description><para><emphasis role="bold">Effects</emphasis>: Unlinks the leftmost node from the container.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function breaks the container and the container can only be used for more unlink_leftmost_without_rebalance calls. This function is normally used to achieve a step by step controlled destruction of the container.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1afe79e4142871cdf8879fc05b6d4b912e" name="replace_node" cv="noexcept"><type>void</type><parameter name="replace_this"><paramtype>iterator</paramtype></parameter><parameter name="with_this"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: replace_this must be a valid iterator of *this and with_this must not be inserted in any container.</para><para><emphasis role="bold">Effects</emphasis>: Replaces replace_this in its position in the container with with_this. The container does not need to be rebalanced.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if with_this is not equivalent to *replace_this according to the ordering rules. This function is faster than erasing and inserting the node, since no rebalancing or comparison is needed.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1ae005bd156acaecbd805bbd2b337fc78d" name="remove_node" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: removes "value" from the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic time.</para><para><emphasis role="bold">Note</emphasis>: This static function is only usable with non-constant time size containers that have stateless comparison functors.</para><para>If the user calls this function with a constant time size container or stateful comparison functor a compilation error will be issued.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a9c3f9c6d697c4874358bb7d806ff486f" name="merge"><type>void</type><template>
          <template-nontype-parameter name="Options2"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="source"><paramtype><classname>set</classname>&lt; T, Options2... &gt; &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a99f8b868b99497d4314f3bfe9ec3446e" name="merge"><type>void</type><template>
          <template-nontype-parameter name="Options2"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="source"><paramtype><classname>multiset</classname>&lt; T, Options2... &gt; &amp;</paramtype></parameter></method>
</method-group>
<method-group name="public static functions">
<method id="doxygen.classboost_1_1intrusive_1_1set_1a47987bbcdfbe85d279b2ca9438411817" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type><classname>set</classname> &amp;</type><parameter name="end_iterator"><paramtype>iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a12da19d9a4cc8d4491809b43ba9be18a" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type>const <classname>set</classname> &amp;</type><parameter name="end_iterator"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1aae4384d1dd9f886c47ae2b9a6f03bb27" name="container_from_iterator" cv="noexcept" specifiers="static"><type><classname>set</classname> &amp;</type><parameter name="it"><paramtype>iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a8ed3b70d37ad0b5adc1ba294fda0c9f7" name="container_from_iterator" cv="noexcept" specifiers="static"><type>const <classname>set</classname> &amp;</type><parameter name="it"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a9789b23d42a251724e47360a7f6b3a23" name="s_iterator_to" cv="noexcept" specifiers="static"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1ac516cdfc282d211aeeb05934343eb09c" name="s_iterator_to" cv="noexcept" specifiers="static"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1set_1a3cc655bacca3e069ef3cdc6280d11ce6" name="init_node" cv="noexcept" specifiers="static"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
</method-group>
</class>



















<function id="doxygen.set_8hpp_1a3ef420616f16bc95ad8ee3cb1547607e" name="operator!="><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.set_8hpp_1a3a01258ff42e70ad3c4fad2f46b66d86" name="operator&gt;"><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.set_8hpp_1ad7147cf15ae2dc057976e67b30a0a44b" name="operator&lt;="><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.set_8hpp_1ae1570485cc3cbb5db3cee5fe69656e1a" name="operator&gt;="><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.set_8hpp_1ae9053068c4b4da1faa3d88f70239c81e" name="swap"><type>void</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype><classname>set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype><classname>set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.set_8hpp_1a00ede69c31090fecf1d319664f771e9d" name="operator!="><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.set_8hpp_1a2d256d5442ec38136da9e9426f0fcefc" name="operator&gt;"><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.set_8hpp_1adb08f45e2f45879ae8e7fda7cff70309" name="operator&lt;="><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.set_8hpp_1a1b156ebbd8405a84c72bd33fc2ca9eac" name="operator&gt;="><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.set_8hpp_1ac6e13bc80fb0d28f11ae464683234c37" name="swap"><type>void</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype><classname>multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype><classname>multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>






























</namespace>
</namespace>
</header>
<header id="doxygen.set__hook_8hpp" name="boost/intrusive/set_hook.hpp">
<namespace name="boost">
<namespace name="intrusive">
<struct id="doxygen.structboost_1_1intrusive_1_1make__set__base__hook" name="make_set_base_hook"><template>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define a <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1set__base__hook">set_base_hook</link></computeroutput> that yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__set__base__hook_1a22a4eb796e207add93e1d2e6bfac30c8" name="type"><type>implementation_defined</type></typedef>
</struct><struct id="doxygen.structboost_1_1intrusive_1_1make__set__member__hook" name="make_set_member_hook"><template>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define a <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1set__member__hook">set_member_hook</link></computeroutput> that yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__set__member__hook_1a7066e9ec49fe57d185df7c53491b1707" name="type"><type>implementation_defined</type></typedef>
</struct><class id="doxygen.classboost_1_1intrusive_1_1set__base__hook" name="set_base_hook"><template>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><inherit access="public">make_set_base_hook::type</inherit><description><para>Derive a class from <link linkend="doxygen.classboost_1_1intrusive_1_1set__base__hook">set_base_hook</link> in order to store objects in in a set/multiset. <link linkend="doxygen.classboost_1_1intrusive_1_1set__base__hook">set_base_hook</link> holds the data necessary to maintain the set/multiset and provides an appropriate <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> class for set/multiset.</para><para>The hook admits the following options: <computeroutput>tag&lt;&gt;</computeroutput>, <computeroutput>void_pointer&lt;&gt;</computeroutput>, <computeroutput>link_mode&lt;&gt;</computeroutput> and <computeroutput>optimize_size&lt;&gt;</computeroutput>.</para><para><computeroutput>tag&lt;&gt;</computeroutput> defines a tag to identify the node. The same tag value can be used in different classes, but if a class is derived from more than one <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1list__base__hook">list_base_hook</link></computeroutput>, then each <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1list__base__hook">list_base_hook</link></computeroutput> needs its unique tag.</para><para><computeroutput>void_pointer&lt;&gt;</computeroutput> is the pointer type that will be used internally in the hook and the container configured to use this hook.</para><para><computeroutput>link_mode&lt;&gt;</computeroutput> will specify the linking mode of the hook (<computeroutput>normal_link</computeroutput>, <computeroutput>auto_unlink</computeroutput> or <computeroutput>safe_link</computeroutput>).</para><para><computeroutput>optimize_size&lt;&gt;</computeroutput> will tell the hook to optimize the hook for size instead of speed. </para></description><method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1set__base__hook_1a9f988dc9a046af2ddb4dc71931bdde52" cv="noexcept"><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput> or <computeroutput>safe_link</computeroutput> initializes the node to an unlinked state.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1set__base__hook_1a0300d04b6d1b7070f0b94fabc1c46d37" cv="noexcept"><parameter name=""><paramtype>const <classname>set_base_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput> or <computeroutput>safe_link</computeroutput> initializes the node to an unlinked state. The argument is ignored.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Rationale</emphasis>: Providing a copy-constructor makes classes using the hook STL-compliant without forcing the user to do some additional work. <computeroutput>swap</computeroutput> can be used to emulate move-semantics. </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1set__base__hook_1a347d8dfb46e0344f42871ccbaa59051b" cv="noexcept"><type><classname>set_base_hook</classname> &amp;</type><parameter name=""><paramtype>const <classname>set_base_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Empty function. The argument is ignored.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Rationale</emphasis>: Providing an assignment operator makes classes using the hook STL-compliant without forcing the user to do some additional work. <computeroutput>swap</computeroutput> can be used to emulate move-semantics. </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1set__base__hook_1a45dbd531f38eb4545dd22cbd8bd08952"><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>normal_link</computeroutput>, the destructor does nothing (ie. no code is generated). If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>safe_link</computeroutput> and the object is stored in a set an assertion is raised. If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput> and <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1set__base__hook_1ac0d4379bec9baf83cf168b089996df3c">is_linked()</link></computeroutput> is true, the node is unlinked.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1set__base__hook_1a906f877e8c14d1ef39c2dd18786ef190" name="swap_nodes" cv="noexcept"><type>void</type><parameter name="other"><paramtype><classname>set_base_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Swapping two nodes swaps the position of the elements related to those nodes in one or two containers. That is, if the node this is part of the element e1, the node x is part of the element e2 and both elements are included in the containers s1 and s2, then after the swap-operation e1 is in s2 at the position of e2 and e2 is in s1 at the position of e1. If one element is not in a container, then after the swap-operation the other element is not in a container. Iterators to e1 and e2 related to those nodes are invalidated.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set__base__hook_1ac0d4379bec9baf83cf168b089996df3c" name="is_linked" cv="const noexcept"><type>bool</type><description><para><emphasis role="bold">Precondition</emphasis>: <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> must be <computeroutput>safe_link</computeroutput> or <computeroutput>auto_unlink</computeroutput>.</para><para><emphasis role="bold">Returns</emphasis>: true, if the node belongs to a container, false otherwise. This function can be used to test whether <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1set_1aa4d9193952cf46af50cd14d1971b4dd3">set::iterator_to</link></computeroutput> will return a valid iterator.</para><para><emphasis role="bold">Complexity</emphasis>: Constant </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set__base__hook_1acee5d202b734fb566d3a4d5da873083e" name="unlink" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Removes the node if it's inserted in a container. This function is only allowed if <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput>.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
</method-group>
</class><class id="doxygen.classboost_1_1intrusive_1_1set__member__hook" name="set_member_hook"><template>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><inherit access="public">make_set_member_hook::type</inherit><description><para>Put a public data member <link linkend="doxygen.classboost_1_1intrusive_1_1set__member__hook">set_member_hook</link> in order to store objects of this class in a set/multiset. <link linkend="doxygen.classboost_1_1intrusive_1_1set__member__hook">set_member_hook</link> holds the data necessary for maintaining the set/multiset and provides an appropriate <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> class for set/multiset.</para><para>The hook admits the following options: <computeroutput>void_pointer&lt;&gt;</computeroutput>, <computeroutput>link_mode&lt;&gt;</computeroutput> and <computeroutput>optimize_size&lt;&gt;</computeroutput>.</para><para><computeroutput>void_pointer&lt;&gt;</computeroutput> is the pointer type that will be used internally in the hook and the container configured to use this hook.</para><para><computeroutput>link_mode&lt;&gt;</computeroutput> will specify the linking mode of the hook (<computeroutput>normal_link</computeroutput>, <computeroutput>auto_unlink</computeroutput> or <computeroutput>safe_link</computeroutput>).</para><para><computeroutput>optimize_size&lt;&gt;</computeroutput> will tell the hook to optimize the hook for size instead of speed. </para></description><method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1set__member__hook_1abbe9cc4db29c6b728af382c628356072" cv="noexcept"><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput> or <computeroutput>safe_link</computeroutput> initializes the node to an unlinked state.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1set__member__hook_1a0825dbe0eb51caf3126ba2ea45ae9240" cv="noexcept"><parameter name=""><paramtype>const <classname>set_member_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput> or <computeroutput>safe_link</computeroutput> initializes the node to an unlinked state. The argument is ignored.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Rationale</emphasis>: Providing a copy-constructor makes classes using the hook STL-compliant without forcing the user to do some additional work. <computeroutput>swap</computeroutput> can be used to emulate move-semantics. </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1set__member__hook_1ade65b179091677f7ef282926acec442d" cv="noexcept"><type><classname>set_member_hook</classname> &amp;</type><parameter name=""><paramtype>const <classname>set_member_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Empty function. The argument is ignored.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Rationale</emphasis>: Providing an assignment operator makes classes using the hook STL-compliant without forcing the user to do some additional work. <computeroutput>swap</computeroutput> can be used to emulate move-semantics. </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1set__member__hook_1aeb2fd35a4bdae7798acd46ed6f3cb412"><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>normal_link</computeroutput>, the destructor does nothing (ie. no code is generated). If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>safe_link</computeroutput> and the object is stored in a set an assertion is raised. If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput> and <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1set__member__hook_1a7bdda40f6ba81ac23a9e41c6aa009d4e">is_linked()</link></computeroutput> is true, the node is unlinked.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1set__member__hook_1a633bbfa6759279766e8e9340733e6655" name="swap_nodes" cv="noexcept"><type>void</type><parameter name="other"><paramtype><classname>set_member_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Swapping two nodes swaps the position of the elements related to those nodes in one or two containers. That is, if the node this is part of the element e1, the node x is part of the element e2 and both elements are included in the containers s1 and s2, then after the swap-operation e1 is in s2 at the position of e2 and e2 is in s1 at the position of e1. If one element is not in a container, then after the swap-operation the other element is not in a container. Iterators to e1 and e2 related to those nodes are invalidated.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set__member__hook_1a7bdda40f6ba81ac23a9e41c6aa009d4e" name="is_linked" cv="const noexcept"><type>bool</type><description><para><emphasis role="bold">Precondition</emphasis>: <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> must be <computeroutput>safe_link</computeroutput> or <computeroutput>auto_unlink</computeroutput>.</para><para><emphasis role="bold">Returns</emphasis>: true, if the node belongs to a container, false otherwise. This function can be used to test whether <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1set_1aa4d9193952cf46af50cd14d1971b4dd3">set::iterator_to</link></computeroutput> will return a valid iterator.</para><para><emphasis role="bold">Complexity</emphasis>: Constant </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1set__member__hook_1a7f0d58650fdb820987011fc5c5ebefdf" name="unlink" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Removes the node if it's inserted in a container. This function is only allowed if <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput>.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
</method-group>
</class>



























































</namespace>
</namespace>
</header>
<header id="doxygen.sg__set_8hpp" name="boost/intrusive/sg_set.hpp">
<namespace name="boost">
<namespace name="intrusive">
<struct id="doxygen.structboost_1_1intrusive_1_1make__sg__multiset" name="make_sg_multiset"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define a <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1sg__multiset">sg_multiset</link></computeroutput> that yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__sg__multiset_1ad9bae7b6135fa229ef70dca8531860e7" name="type"><type>implementation_defined</type></typedef>
</struct><struct id="doxygen.structboost_1_1intrusive_1_1make__sg__set" name="make_sg_set"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define a <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1sg__set">sg_set</link></computeroutput> that yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__sg__set_1a54f839e5fe288e888be29771f94f95e7" name="type"><type>implementation_defined</type></typedef>
</struct><class id="doxygen.classboost_1_1intrusive_1_1sg__multiset" name="sg_multiset"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>The class template <link linkend="doxygen.classboost_1_1intrusive_1_1sg__multiset">sg_multiset</link> is an intrusive container, that mimics most of the interface of std::sg_multiset as described in the C++ standard.</para><para>The template parameter <computeroutput>T</computeroutput> is the type to be managed by the container. The user can specify additional options and if no options are provided default options are used.</para><para>The container supports the following options: <computeroutput>base_hook&lt;&gt;/member_hook&lt;&gt;/value_traits&lt;&gt;</computeroutput>, <computeroutput>floating_point&lt;&gt;</computeroutput>, <computeroutput>size_type&lt;&gt;</computeroutput> and <computeroutput>compare&lt;&gt;</computeroutput>. </para></description><typedef id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a9e804cf6edc4a7748893eadb3d5762b6" name="value_type"><type>implementation_defined::value_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1ac88fde785078189a30015384109025a5" name="key_type"><type>implementation_defined::key_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a84dda271ec99f694baf3f684fb474e4b" name="key_of_value"><type>implementation_defined::key_of_value</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a0e13675e955d7e05d01e2ee166f306a8" name="value_traits"><type>implementation_defined::value_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a89293e76132814a6fcd363b6d92788b7" name="pointer"><type>implementation_defined::pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a06a310f7f9bd4d52b083461f5d43ce41" name="const_pointer"><type>implementation_defined::const_pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a31084dc02b7c2fe61bb43d69039eae7b" name="reference"><type>implementation_defined::reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a63b68a5e5fe9616340a74723d315e93b" name="const_reference"><type>implementation_defined::const_reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a13bb201e26f6aa719edae0eccefaeba4" name="difference_type"><type>implementation_defined::difference_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a119283ab048aa72f7fa62d28e4ea74f7" name="size_type"><type>implementation_defined::size_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a4588059415731c3083e25feb60f4ec77" name="value_compare"><type>implementation_defined::value_compare</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a81113f2648e971861702cfa6c22a5265" name="key_compare"><type>implementation_defined::key_compare</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a7bd1b93f25944aece7200eb24816103f" name="iterator"><type>implementation_defined::iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a18ddbffcd649da4e6f9242db92d8011b" name="const_iterator"><type>implementation_defined::const_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a1a09af30b2fc09a37c49b8691469952e" name="reverse_iterator"><type>implementation_defined::reverse_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a681bfda0e6815990ce58ae3f5abdf042" name="const_reverse_iterator"><type>implementation_defined::const_reverse_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1aab718b669d48ff8fa2ed27634fca846b" name="insert_commit_data"><type>implementation_defined::insert_commit_data</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a746979da609e727c41c065a8e072c1ce" name="node_traits"><type>implementation_defined::node_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a420c442d484a1b3755087822636a7143" name="node"><type>implementation_defined::node</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a3c93b86affd2d9a4c62dd3ebed4be11e" name="node_ptr"><type>implementation_defined::node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1af0fbc7162ccbdd1c96d2c77c2898f4cd" name="const_node_ptr"><type>implementation_defined::const_node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1ac406dc3905b5fad6083f142a8072aa51" name="node_algorithms"><type>implementation_defined::node_algorithms</type></typedef>
<data-member id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1aeb22aac910ea90a5c68a70f239b0e61c" name="constant_time_size" specifiers="static"><type>const bool</type></data-member>
<method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a2e5a4c05b89d6021c4a154f1cb5c356d"><description><para><emphasis role="bold">Effects</emphasis>: Constructs an empty container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the copy constructor of the key_compare object throws. Basic guarantee.    </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1ae30e8176f1ccaad6f51c770e0bfa7a82" specifiers="explicit"><parameter name="cmp"><paramtype>const key_compare &amp;</paramtype></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a310cf87fd9e1c0b081742bf0e1ad18b7"><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><parameter name="cmp"><paramtype>const key_compare &amp;</paramtype><default>key_compare()</default></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1aba9d75868aeafbabcb38a57ab031e98f"><parameter name="x"><paramtype><classname>sg_multiset</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Constructs a container moving resources from another container. Internal comparison object and value traits are move constructed and nodes belonging to x (except the node representing the "end") are linked to *this.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node's move constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the move constructor of the comparison objet throws.    </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a86b504ded465b891f8ab9c257c2e25d9"><type><classname>sg_multiset</classname> &amp;</type><parameter name="x"><paramtype><classname>sg_multiset</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Equivalent to swap   </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a0d8a36ec6eaad065565bd603700eda70"><description><para><emphasis role="bold">Effects</emphasis>: Detaches all elements from this. The objects in the set are not deleted (i.e. no destructors are called), but the nodes according to the <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> template parameter are reinitialized and thus can be reused.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a3e86f12f74978deddf7b82565f19c72e" name="begin" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1aa3a935f4d08acdc3f40f76fd2aff48cf" name="begin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a8c858c58294b5f32f651744603d3d71d" name="cbegin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a8e64d510cee4762177adc7e2be88606b" name="end" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1ac68aa30d001a09af6ee1dc4f2f363a1f" name="end" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a1395242ff79ef89a08ac901f3dbb38cf" name="cend" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a78a3f161c2774a683deb9613fadc3877" name="rbegin" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1af470cb5905bd49c247eb0cf70c6b909c" name="rbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a1fc834eda4f873a5290ef5f4b5ef6df8" name="crbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a4843c74a0d9510f6725b9818959f0072" name="rend" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1af1f49f8be7ab067d8163997492564946" name="rend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a6693d6a828be57f4b8fcb62aa7d5bc02" name="crend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1af02cd8c96801020a0dd1a970da66562f" name="root" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a8e64d510cee4762177adc7e2be88606b">end()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a03e94babde5e79e81f08636cd9f9e4c7" name="root" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a1395242ff79ef89a08ac901f3dbb38cf">cend()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a99d877c268c903ce0949f2b1e5d0380d" name="croot" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a1395242ff79ef89a08ac901f3dbb38cf">cend()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a82a98309cabdfa6c5c7bc58539bf79e6" name="key_comp" cv="const"><type>key_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the key_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If key_compare copy-constructor throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1ab66810f9f4d67cb65de9a98cde5d3035" name="value_comp" cv="const"><type>value_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the value_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_compare copy-constructor throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1afa16624f42337524469948073446674d" name="empty" cv="const noexcept"><type>bool</type><description><para><emphasis role="bold">Effects</emphasis>: Returns true if the container is empty.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1aa7ae5e33caa7b2b0f8c61cffb6329460" name="size" cv="const noexcept"><type>size_type</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the number of elements stored in the container.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this if constant-time size option is disabled. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1ac5c9ac5de5c89492ed3cf17db98e0b87" name="swap"><type>void</type><parameter name="other"><paramtype><classname>sg_multiset</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Swaps the contents of two containers.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor's swap call throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a909642ff3f7338edf0deb55b4055aa5e" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype>const <classname>sg_multiset</classname> &amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(const_reference ) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee.   Additional notes: it also copies the alpha factor from the source container.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a16ed968caa9b8f1cb3706845338602b3" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype><classname>sg_multiset</classname> &amp;&amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(reference) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee.</para><para><emphasis role="bold">Note</emphasis>: This version can modify the source container, useful to implement move semantics.   Additional notes: it also copies the alpha factor from the source container.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1abc26e27631e2728212973c53b554e4e0" name="insert"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a3ac170e377cd99d7f78deb5b86be37f7" name="insert"><type>iterator</type><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a85c065f52d8de89159a8d233127492c5" name="insert"><type>void</type><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type.</para><para><emphasis role="bold">Effects</emphasis>: Inserts a each element of a range into the container before the upper bound of the key of each element.</para><para><emphasis role="bold">Complexity</emphasis>: Insert range is in general O(N * log(N)), where N is the size of the range. However, it is linear in N if the range is already sorted by <link linkend="doxygen.classboost_1_1intrusive_1_1sg__multiset_1ab66810f9f4d67cb65de9a98cde5d3035">value_comp()</link>.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor call throws.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a351334dee893ca0fe43133ea7b47e550" name="insert_before" cv="noexcept"><type>iterator</type><parameter name="pos"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, "pos" must be a valid iterator (or end) and must be the succesor of value once inserted according to the predicate</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container before "pos".</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if "pos" is not the successor of "value" container ordering invariant will be broken. This is a low-level function to be used only for performance reasons by advanced users.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a1085f10cc35c5f9386ff1d6914aab422" name="push_back" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and it must be no less than the greatest inserted key</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container in the last position.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if value is less than the greatest inserted key container ordering invariant will be broken. This function is slightly more efficient than using "insert_before". This is a low-level function to be used only for performance reasons by advanced users.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a2831deebfc6c33123c4a9daf22e23071" name="push_front" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and it must be no greater than the minimum inserted key</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container in the first position.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if value is greater than the minimum inserted key container ordering invariant will be broken. This function is slightly more efficient than using "insert_before". This is a low-level function to be used only for performance reasons by advanced users.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1ae099724bd9b4eb958e9f8851b8104cf8" name="erase" cv="noexcept"><type>iterator</type><parameter name="i"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a8a15bc69ec9d494e9867a593913911eb" name="erase" cv="noexcept"><type>iterator</type><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1ab5f7aadf5345b57d54a6cbb73563fb25" name="erase"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1aea54f474f3bb0c2749002aaeacc5ea17" name="erase"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "comp".</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1sg__multiset_1aa7ae5e33caa7b2b0f8c61cffb6329460">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a8c403ef199281a2328dd2af45b38e7f2" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="i"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a3c1d24f80a3b3c95d5e5c716fc9c2523" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a386bc5d5f0aeaeece5c4a7053a80df64" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1aef89175d0fd8cf2653426e27792db91e" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk) and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "comp". Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1sg__multiset_1aa7ae5e33caa7b2b0f8c61cffb6329460">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased elements.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1ac50573f46d28e06ea823a6ce653169da" name="clear" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements on the container. if it's a safe-mode or auto-unlink value_type. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a4502e83cbc62ee9e71be5ba5f407520d" name="clear_and_dispose" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements calling disposer(p) for each node to be erased. <emphasis role="bold">Complexity</emphasis>: Average complexity for is at most O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1sg__multiset_1aa7ae5e33caa7b2b0f8c61cffb6329460">size()</link> + N)), where N is the number of elements in the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. Calls N times to disposer functor.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a76e151a650d0b107fa2967cf64ea0a76" name="count" cv="const"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1abc0f18053c0776f5f48032a98f8309ac" name="count" cv="const"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of contained elements with the given key</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic to the number of elements contained plus lineal to number of objects with the given key.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a675e49f6fdf2b7c3e9e02a62acd6f587" name="lower_bound"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1ab4c7d20c653f5608e47dc04b91d1c546" name="lower_bound"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1af53f8700d9fe02b7b8922a2e4629276d" name="lower_bound" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a9447cc39cace9564e918aff18ae6fa32" name="lower_bound" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a3e7597060bd5e424bd41032bf9e497e4" name="upper_bound"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a04fee3b8c7f7b43e2ea77bf043fe0694" name="upper_bound"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k according to comp or <link linkend="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a8e64d510cee4762177adc7e2be88606b">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a3aba38ae0cacdd81e23943b3216dcc05" name="upper_bound" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a2f1a6262c30b9591eef8e4b48cf3ec0e" name="upper_bound" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k according to comp or <link linkend="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a8e64d510cee4762177adc7e2be88606b">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.     </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a858dc9084840b9a23996f16e32a580b4" name="find"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a93b005279f6676a046df5542dd9e0491" name="find"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a8e64d510cee4762177adc7e2be88606b">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1af71271dc2e9f4ed06184aebb056e4b92" name="find" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a2f14b68f0c6ca39c9bf297efe25917d4" name="find" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a8e64d510cee4762177adc7e2be88606b">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.     </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a29646ea4cd6b3f8a7ec05a70775ad610" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a856ec5d17c6eb17cb46a4f9bdef199e2" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1ac41811faa36b429f774419888f07c74d" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1acf476f84a510f5d0ba4d368eeefcf264" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.     </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a36f8595271140acbd8a479d2c7c93e79" name="bounded_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="lower_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a3263d2c8869a3394d1bcd93b94bb6abe" name="bounded_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>lower_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, lower_key) if left_closed is true, with respect to !comp(lower_key, nk) otherwise.</para><para><computeroutput>upper_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(upper_key, nk) if right_closed is true, with respect to comp(nk, upper_key) otherwise.</para><para><computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to comp [comp(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!comp(upper_key, lower_key) &amp;&amp; !comp(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise</para><para>second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1ae29383a2011ee4a76b6d3bbe078d78e0" name="bounded_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="lower_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1aaa0e418e741090825da3cadad3e5defd" name="bounded_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>lower_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, lower_key) if left_closed is true, with respect to !comp(lower_key, nk) otherwise.</para><para><computeroutput>upper_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(upper_key, nk) if right_closed is true, with respect to comp(nk, upper_key) otherwise.</para><para><computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to comp [comp(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!comp(upper_key, lower_key) &amp;&amp; !comp(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise</para><para>second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases.     </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1acc1fb39ed4011156a9042ca638f6c1bb" name="iterator_to" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a58a81f03c11a78d1e583617d7d92fffe" name="iterator_to" cv="const noexcept"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1ac23267b5936178fa8231cc264b27e677" name="unlink_leftmost_without_rebalance" cv="noexcept"><type>pointer</type><description><para><emphasis role="bold">Effects</emphasis>: Unlinks the leftmost node from the container.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function breaks the container and the container can only be used for more unlink_leftmost_without_rebalance calls. This function is normally used to achieve a step by step controlled destruction of the container.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1ae45d6eeb6e9e84091fde9a39a4c82c54" name="replace_node" cv="noexcept"><type>void</type><parameter name="replace_this"><paramtype>iterator</paramtype></parameter><parameter name="with_this"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: replace_this must be a valid iterator of *this and with_this must not be inserted in any container.</para><para><emphasis role="bold">Effects</emphasis>: Replaces replace_this in its position in the container with with_this. The container does not need to be rebalanced.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if with_this is not equivalent to *replace_this according to the ordering rules. This function is faster than erasing and inserting the node, since no rebalancing or comparison is needed.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a20e6ae528747af54c2c993f1f5037e77" name="remove_node" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: removes "value" from the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic time.</para><para><emphasis role="bold">Note</emphasis>: This static function is only usable with non-constant time size containers that have stateless comparison functors.</para><para>If the user calls this function with a constant time size container or stateful comparison functor a compilation error will be issued.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a2827c8e1da982056fea3a8b498b863f4" name="rebalance" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Rebalances the tree.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1ab18b23d21f0f4fd106799fc5560e89a1" name="rebalance_subtree" cv="noexcept"><type>iterator</type><parameter name="root"><paramtype>iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: old_root is a node of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Rebalances the subtree rooted at old_root.</para><para><emphasis role="bold">Returns</emphasis>: The new root of the subtree.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the elements in the subtree.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a7e1e1f5e912e0506ab77fec5fa2ea898" name="balance_factor" cv="const noexcept"><type>float</type><description><para><emphasis role="bold">Returns</emphasis>: The balance factor (alpha) used in this tree</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a93560f0a097b405e1f8e600c8b21e57a" name="balance_factor" cv="noexcept"><type>void</type><parameter name="new_alpha"><paramtype>float</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: new_alpha must be a value between 0.5 and 1.0</para><para><emphasis role="bold">Effects</emphasis>: Establishes a new balance factor (alpha) and rebalances the tree if the new balance factor is stricter (less) than the old factor.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the elements in the subtree.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1ad6da1ef669f0ca08d074f662ec4b07f5" name="merge"><type>void</type><template>
          <template-nontype-parameter name="Options2"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="source"><paramtype><classname>sg_multiset</classname>&lt; T, Options2... &gt; &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "source" container's Options can only can differ in the comparison function from *this.</para><para><emphasis role="bold">Effects</emphasis>: Attempts to extract each element in source and insert it into a using the comparison object of *this. If there is an element in a with key equivalent to the key of an element from source, then that element is not extracted from source.</para><para><emphasis role="bold">Postcondition</emphasis>: Pointers and references to the transferred elements of source refer to those same elements but as members of *this. Iterators referring to the transferred elements will continue to refer to their elements, but they now behave as iterators into *this, not into source.</para><para><emphasis role="bold">Throws</emphasis>: Nothing unless the comparison object throws.</para><para><emphasis role="bold">Complexity</emphasis>: N log(a.size() + N) (N has the value source.size())    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a56db8021deb3866ccbb4b2bb766994dd" name="merge"><type>void</type><template>
          <template-nontype-parameter name="Options2"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="source"><paramtype><classname>sg_set</classname>&lt; T, Options2... &gt; &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "source" container's Options can only can differ in the comparison function from *this.</para><para><emphasis role="bold">Effects</emphasis>: Attempts to extract each element in source and insert it into a using the comparison object of *this. If there is an element in a with key equivalent to the key of an element from source, then that element is not extracted from source.</para><para><emphasis role="bold">Postcondition</emphasis>: Pointers and references to the transferred elements of source refer to those same elements but as members of *this. Iterators referring to the transferred elements will continue to refer to their elements, but they now behave as iterators into *this, not into source.</para><para><emphasis role="bold">Throws</emphasis>: Nothing unless the comparison object throws.</para><para><emphasis role="bold">Complexity</emphasis>: N log(a.size() + N) (N has the value source.size())    </para></description></method>
</method-group>
<method-group name="public static functions">
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a3829fdc79f6a53a91da8edac058273ae" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type><classname>sg_multiset</classname> &amp;</type><parameter name="end_iterator"><paramtype>iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a2c6261d5ed6f18cba31a35180415dfad" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type>const <classname>sg_multiset</classname> &amp;</type><parameter name="end_iterator"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a051861c01204d9ff546b9b7df5084a80" name="container_from_iterator" cv="noexcept" specifiers="static"><type><classname>sg_multiset</classname> &amp;</type><parameter name="it"><paramtype>iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1acd3372b04504b8ee971ae9a822ab49c0" name="container_from_iterator" cv="noexcept" specifiers="static"><type>const <classname>sg_multiset</classname> &amp;</type><parameter name="it"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1ac5469bf0b7e346deea57a6b9bba1d49a" name="s_iterator_to" cv="noexcept" specifiers="static"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a5098b44b78e876338a4f58f60a198a8e" name="s_iterator_to" cv="noexcept" specifiers="static"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__multiset_1a4047c060ed93314376bc76157f9c8b35" name="init_node" cv="noexcept" specifiers="static"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
</method-group>
</class><class id="doxygen.classboost_1_1intrusive_1_1sg__set" name="sg_set"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>The class template <link linkend="doxygen.classboost_1_1intrusive_1_1sg__set">sg_set</link> is an intrusive container, that mimics most of the interface of std::sg_set as described in the C++ standard.</para><para>The template parameter <computeroutput>T</computeroutput> is the type to be managed by the container. The user can specify additional options and if no options are provided default options are used.</para><para>The container supports the following options: <computeroutput>base_hook&lt;&gt;/member_hook&lt;&gt;/value_traits&lt;&gt;</computeroutput>, <computeroutput>floating_point&lt;&gt;</computeroutput>, <computeroutput>size_type&lt;&gt;</computeroutput> and <computeroutput>compare&lt;&gt;</computeroutput>. </para></description><typedef id="doxygen.classboost_1_1intrusive_1_1sg__set_1a495143b16429d463905b9a6f18fae76e" name="value_type"><type>implementation_defined::value_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__set_1ace60783049e6f5847798a5e608b6f4ad" name="key_type"><type>implementation_defined::key_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__set_1a57e9e66fc11c584a6b00a7683d462987" name="key_of_value"><type>implementation_defined::key_of_value</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__set_1ae671f5caea92f667172e5a643198cb0c" name="value_traits"><type>implementation_defined::value_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__set_1a0aaa6fa4f25c414cfd18f1a42016427e" name="pointer"><type>implementation_defined::pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__set_1a9f0d5ec2942b21626da53b4e7d9da439" name="const_pointer"><type>implementation_defined::const_pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__set_1a33f602cbba5ac05ac86409db069a1c61" name="reference"><type>implementation_defined::reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__set_1abbd326e0e71acf73a2cb42775cf82991" name="const_reference"><type>implementation_defined::const_reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__set_1a7131bb90fa1dee8d944469bf3fcd312b" name="difference_type"><type>implementation_defined::difference_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__set_1ab980872a0cf8799d9be5f558a20ad784" name="size_type"><type>implementation_defined::size_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__set_1a09036d9c591299e7975af3079dc3a121" name="value_compare"><type>implementation_defined::value_compare</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__set_1ae29beeec57a7dbd8fa9bbc2c7eec3c07" name="key_compare"><type>implementation_defined::key_compare</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__set_1a585069398f2e398877ab9f083c43eec8" name="iterator"><type>implementation_defined::iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__set_1ab853aa0a45151546729726475e8f4bb4" name="const_iterator"><type>implementation_defined::const_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__set_1a6335090f08bd81a85fb8b3f646191396" name="reverse_iterator"><type>implementation_defined::reverse_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__set_1aa76c8d8770f661876c47bea3b150bab7" name="const_reverse_iterator"><type>implementation_defined::const_reverse_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__set_1adff8e47d442f937d170f6d1750872656" name="insert_commit_data"><type>implementation_defined::insert_commit_data</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__set_1ab09374ccec95a0399ba30e7c354c7788" name="node_traits"><type>implementation_defined::node_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__set_1a14c146dda56f3bf3d4a4be5249676f35" name="node"><type>implementation_defined::node</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__set_1a62eacab53107303e29dbf5d029e8cfbb" name="node_ptr"><type>implementation_defined::node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__set_1a6ed7ec3382f8568b187391d96b9efc9a" name="const_node_ptr"><type>implementation_defined::const_node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sg__set_1a5fcef66d4afd679f98d7847dbb20c47c" name="node_algorithms"><type>implementation_defined::node_algorithms</type></typedef>
<data-member id="doxygen.classboost_1_1intrusive_1_1sg__set_1a824e99753e0cd2d81a2dea9f7c4aafbd" name="constant_time_size" specifiers="static"><type>const bool</type></data-member>
<method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1sg__set_1ac0f013d6ea45697716fa6fa2f982eabd"><description><para><emphasis role="bold">Effects</emphasis>: Constructs an empty container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the copy constructor of the key_compare object throws. Basic guarantee.    </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1sg__set_1a87a635add7e4919668c6ffb340f11e37" specifiers="explicit"><parameter name="cmp"><paramtype>const key_compare &amp;</paramtype></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1sg__set_1a91ead6e86526805d2f8c6ed345edd14b"><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><parameter name="cmp"><paramtype>const key_compare &amp;</paramtype><default>key_compare()</default></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1sg__set_1a6d0eb5a0fd25da84fcf3e549dbf6ce8d"><parameter name="x"><paramtype><classname>sg_set</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Constructs a container moving resources from another container. Internal comparison object and value traits are move constructed and nodes belonging to x (except the node representing the "end") are linked to *this.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node's move constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the move constructor of the comparison objet throws.    </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1sg__set_1a0965fcdf931f04d4d9df75c382699694"><type><classname>sg_set</classname> &amp;</type><parameter name="x"><paramtype><classname>sg_set</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Equivalent to swap   </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1sg__set_1a7e1f86df912145ac49707d684b63f099"><description><para><emphasis role="bold">Effects</emphasis>: Detaches all elements from this. The objects in the set are not deleted (i.e. no destructors are called), but the nodes according to the <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> template parameter are reinitialized and thus can be reused.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a213b805d5b44be9a6e92b3ac23ed6de3" name="begin" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a32af4fc833e196d71cca8b7461a00e57" name="begin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1ad8314e5d53fa01cd1279f53ab1d936cf" name="cbegin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1aeb50a2a0280ad66c171c7760d70848f4" name="end" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a5bfe8df30e71b576a949e9097e10fefc" name="end" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a8d321063737fe967e2a80b565c52a5cc" name="cend" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a15269128f9f4727b1945660377c75a72" name="rbegin" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1ace9e7f6958ecb67e9f44859ec778e395" name="rbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a19bd084e170a796fa3341ba2f7f29f00" name="crbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1acb2ea5064c4c69356862d5af65feb65c" name="rend" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a93d720b343bce4dd0ce118cff3126381" name="rend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a57d4350ca22f2d360b6ed6f459619d63" name="crend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1aaf0ae4d963b029a7eeb7647002f49794" name="root" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1sg__set_1aeb50a2a0280ad66c171c7760d70848f4">end()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1ace2bd6c421ff4f55037413d232299450" name="root" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1sg__set_1a8d321063737fe967e2a80b565c52a5cc">cend()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1aff7ae259bd06b450ba34d4b8181423b8" name="croot" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1sg__set_1a8d321063737fe967e2a80b565c52a5cc">cend()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a504ba48135c03efc1772ecc60d7dabb1" name="key_comp" cv="const"><type>key_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the key_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If key_compare copy-constructor throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a390a6e9a34fd13e3484d00aec7bfa623" name="value_comp" cv="const"><type>value_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the value_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_compare copy-constructor throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a7b78c7fdafb0f52de52804cc31f72eb4" name="empty" cv="const noexcept"><type>bool</type><description><para><emphasis role="bold">Effects</emphasis>: Returns true if the container is empty.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a4acb7ae977313687fcd49cea5e3a1d2c" name="size" cv="const noexcept"><type>size_type</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the number of elements stored in the container.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this if constant-time size option is disabled. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1aab12e1aca15b18871c68d8643ee0af91" name="swap"><type>void</type><parameter name="other"><paramtype><classname>sg_set</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Swaps the contents of two containers.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor's swap call throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a66a87523948e400aee064fa0e7537e94" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype>const <classname>sg_set</classname> &amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(const_reference ) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee.   Additional notes: it also copies the alpha factor from the source container.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1adbe848e6edd95bbfc62d1d2ad4dadd32" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype><classname>sg_set</classname> &amp;&amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(reference) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee.</para><para><emphasis role="bold">Note</emphasis>: This version can modify the source container, useful to implement move semantics.   Additional notes: it also copies the alpha factor from the source container.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1ab01adce8ba08950400e04b1087880c3b" name="insert"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a376cf674a7a35296cb5f58c176c608c7" name="insert"><type>iterator</type><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1aa7adfb85717d54ec8417e815b1e27082" name="insert_check"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a66403e775b495e6c0c0d4f3e75026ed0" name="insert_check"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a096c81b6eac54513addd973b787ea3c8" name="insert_check"><type>std::pair&lt; iterator, bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a222ad715c2760ee553d108b4350742f2" name="insert_check"><type>std::pair&lt; iterator, bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a0d65ea42200e262de22cd67a40e56e62" name="insert"><type>void</type><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type.</para><para><emphasis role="bold">Effects</emphasis>: Tries to insert each element of a range into the container.</para><para><emphasis role="bold">Complexity</emphasis>: Insert range is in general O(N * log(N)), where N is the size of the range. However, it is linear in N if the range is already sorted by <link linkend="doxygen.classboost_1_1intrusive_1_1sg__set_1a390a6e9a34fd13e3484d00aec7bfa623">value_comp()</link>.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor call throws.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a58e28b6384764f515785400773542473" name="insert_commit" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter><parameter name="commit_data"><paramtype>const insert_commit_data &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue of type value_type. commit_data must have been obtained from a previous call to "insert_check". No objects should have been inserted or erased from the container between the "insert_check" that filled "commit_data" and the call to "insert_commit".</para><para><emphasis role="bold">Effects</emphasis>: Inserts the value in the container using the information obtained from the "commit_data" that a previous "insert_check" filled.</para><para><emphasis role="bold">Returns</emphasis>: An iterator to the newly inserted object.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function has only sense if a "insert_check" has been previously executed to fill "commit_data". No value should be inserted or erased between the "insert_check" and "insert_commit" calls.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a789d14c13acc8c38526dfc62a22d8d23" name="insert_before" cv="noexcept"><type>iterator</type><parameter name="pos"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, "pos" must be a valid iterator (or end) and must be the succesor of value once inserted according to the predicate</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container before "pos".</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if "pos" is not the successor of "value" container ordering invariant will be broken. This is a low-level function to be used only for performance reasons by advanced users.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1af7f79f5c6ff1b7f4190cbe0a53e1e506" name="push_back" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and it must be no less than the greatest inserted key</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container in the last position.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if value is less than the greatest inserted key container ordering invariant will be broken. This function is slightly more efficient than using "insert_before". This is a low-level function to be used only for performance reasons by advanced users.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a743f6c1fccab659b7dae8536d2a5a94c" name="push_front" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and it must be no greater than the minimum inserted key</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container in the first position.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if value is greater than the minimum inserted key container ordering invariant will be broken. This function is slightly more efficient than using "insert_before". This is a low-level function to be used only for performance reasons by advanced users.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a464134b52767d8753aa589c3ebb28e78" name="erase" cv="noexcept"><type>iterator</type><parameter name="i"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a90bac4359ee346078cf0355cab2dd1a9" name="erase" cv="noexcept"><type>iterator</type><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a425ea96b08105494cdbe178c2940ffc4" name="erase"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a7c296fdf21ec5200d7b1c3c1c90aaed1" name="erase"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "comp".</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1sg__set_1a4acb7ae977313687fcd49cea5e3a1d2c">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1ae13b9c1b1f2407f8bcc79c8a9a0720b4" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="i"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a55f752765c26103457a451014841e153" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a663817b2a75835cff099a8a3117730ba" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1accff6bb7e80be26015f8063dd513bea9" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk) and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "comp". Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1sg__set_1a4acb7ae977313687fcd49cea5e3a1d2c">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased elements.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a57e5a2c55323c569c88469fc5c44bfde" name="clear" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements on the container. if it's a safe-mode or auto-unlink value_type. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a5ce0c53f040c91950e7e9e268023ea14" name="clear_and_dispose" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements calling disposer(p) for each node to be erased. <emphasis role="bold">Complexity</emphasis>: Average complexity for is at most O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1sg__set_1a4acb7ae977313687fcd49cea5e3a1d2c">size()</link> + N)), where N is the number of elements in the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. Calls N times to disposer functor.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a7c3ce02e33844afe95f927cf8cb078cf" name="count" cv="const"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1aee27b11cd91af46d4b8dca92594f6171" name="count" cv="const"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of contained elements with the given key</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic to the number of elements contained plus lineal to number of objects with the given key.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a3f2886e79274c12b7a4c931b2310ebe7" name="lower_bound"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a4d833990858e8495da6c202478c1c643" name="lower_bound"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a7ee623f7dd29b344ebeac407d9219904" name="lower_bound" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a90acdb9a38d61dafe846d77431e0f321" name="lower_bound" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a8d1ba7878b712e13d79c86de149f1d5a" name="upper_bound"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a7a13df3dcc7ee2fc993d877b695a889f" name="upper_bound"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k according to comp or <link linkend="doxygen.classboost_1_1intrusive_1_1sg__set_1aeb50a2a0280ad66c171c7760d70848f4">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1aba45bd22e391d99f3f1fca4ca9dc1b15" name="upper_bound" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1add2bc41846ebfb795726abee84a564be" name="upper_bound" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k according to comp or <link linkend="doxygen.classboost_1_1intrusive_1_1sg__set_1aeb50a2a0280ad66c171c7760d70848f4">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.     </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a2ce394b857e79a311e98eb1a781bd4e6" name="find"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a4f385e5d0d4fc00d7b7df4711704eb2b" name="find"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1sg__set_1aeb50a2a0280ad66c171c7760d70848f4">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a54f96c538d128ff00cb97570d7c28c2e" name="find" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a3f580777f97e053157fc3f7dbdb7a332" name="find" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1sg__set_1aeb50a2a0280ad66c171c7760d70848f4">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.     </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a7661c2a046d1d860318882b0c42c076c" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a00369042ec8f4504e27dcaee21dc0ab5" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1accbf988a5ca312b8081bc90830e71777" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1ab1e983c575254d97ab11f28d7368ebec" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.     </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1aae9e1d347bb3aa361f65fb9a4ae396e9" name="bounded_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="lower_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1af83b0e96c70ae0d19c85750088a81127" name="bounded_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>lower_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, lower_key) if left_closed is true, with respect to !comp(lower_key, nk) otherwise.</para><para><computeroutput>upper_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(upper_key, nk) if right_closed is true, with respect to comp(nk, upper_key) otherwise.</para><para><computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to comp [comp(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!comp(upper_key, lower_key) &amp;&amp; !comp(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise</para><para>second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1ace3a9461e854fd174372960378f9f688" name="bounded_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="lower_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1ad8ae8a5d68e4862e2f96d442331ff2c0" name="bounded_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>lower_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, lower_key) if left_closed is true, with respect to !comp(lower_key, nk) otherwise.</para><para><computeroutput>upper_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(upper_key, nk) if right_closed is true, with respect to comp(nk, upper_key) otherwise.</para><para><computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to comp [comp(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!comp(upper_key, lower_key) &amp;&amp; !comp(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise</para><para>second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases.     </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1aea5c95c650dffe89654151442db81be8" name="iterator_to" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a556f7edff7dec489695f1fd509143869" name="iterator_to" cv="const noexcept"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a040f1a458a720d3ef1b1df920af70048" name="unlink_leftmost_without_rebalance" cv="noexcept"><type>pointer</type><description><para><emphasis role="bold">Effects</emphasis>: Unlinks the leftmost node from the container.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function breaks the container and the container can only be used for more unlink_leftmost_without_rebalance calls. This function is normally used to achieve a step by step controlled destruction of the container.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a3cf0cd384b804d87b5eb83a3b55b125e" name="replace_node" cv="noexcept"><type>void</type><parameter name="replace_this"><paramtype>iterator</paramtype></parameter><parameter name="with_this"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: replace_this must be a valid iterator of *this and with_this must not be inserted in any container.</para><para><emphasis role="bold">Effects</emphasis>: Replaces replace_this in its position in the container with with_this. The container does not need to be rebalanced.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if with_this is not equivalent to *replace_this according to the ordering rules. This function is faster than erasing and inserting the node, since no rebalancing or comparison is needed.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a092bc1d743a8ce9bc4dee873e97aae39" name="remove_node" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: removes "value" from the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic time.</para><para><emphasis role="bold">Note</emphasis>: This static function is only usable with non-constant time size containers that have stateless comparison functors.</para><para>If the user calls this function with a constant time size container or stateful comparison functor a compilation error will be issued.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a3de9994cb03e10293fd2fe9ebf39be83" name="rebalance" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Rebalances the tree.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1ab8e50442dcb41569a2e0eb9029bd00d6" name="rebalance_subtree" cv="noexcept"><type>iterator</type><parameter name="root"><paramtype>iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: old_root is a node of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Rebalances the subtree rooted at old_root.</para><para><emphasis role="bold">Returns</emphasis>: The new root of the subtree.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the elements in the subtree.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1ac1a23a3225dd1ab7c1a3811259d10614" name="balance_factor" cv="const noexcept"><type>float</type><description><para><emphasis role="bold">Returns</emphasis>: The balance factor (alpha) used in this tree</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1abe91be1d73f99f0a682511a73e61c0dc" name="balance_factor" cv="noexcept"><type>void</type><parameter name="new_alpha"><paramtype>float</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: new_alpha must be a value between 0.5 and 1.0</para><para><emphasis role="bold">Effects</emphasis>: Establishes a new balance factor (alpha) and rebalances the tree if the new balance factor is stricter (less) than the old factor.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the elements in the subtree.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a6be2595495dd611aa626452cf1fda493" name="merge"><type>void</type><template>
          <template-nontype-parameter name="Options2"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="source"><paramtype><classname>sg_set</classname>&lt; T, Options2... &gt; &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a149974b3b179463bd396ade53680eeb0" name="merge"><type>void</type><template>
          <template-nontype-parameter name="Options2"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="source"><paramtype><classname>sg_multiset</classname>&lt; T, Options2... &gt; &amp;</paramtype></parameter></method>
</method-group>
<method-group name="public static functions">
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a03a377f177a71c1d3842dbf69656ca98" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type><classname>sg_set</classname> &amp;</type><parameter name="end_iterator"><paramtype>iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a04d13fc71fb9ec3a91bdbaf1cbb68c4c" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type>const <classname>sg_set</classname> &amp;</type><parameter name="end_iterator"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1ab7971e2d5e4a424c61c4c4fca7527b22" name="container_from_iterator" cv="noexcept" specifiers="static"><type><classname>sg_set</classname> &amp;</type><parameter name="it"><paramtype>iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1af7ff37c6087ae34560f5d062db3c7c51" name="container_from_iterator" cv="noexcept" specifiers="static"><type>const <classname>sg_set</classname> &amp;</type><parameter name="it"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a9ca6ec481669a717741cb00d3a9b87bd" name="s_iterator_to" cv="noexcept" specifiers="static"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1aaf1fa82d46d87d78e09373c336304eca" name="s_iterator_to" cv="noexcept" specifiers="static"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sg__set_1a679e0d7af4817f25c73c72e3be29cea4" name="init_node" cv="noexcept" specifiers="static"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
</method-group>
</class>









<function id="doxygen.sg__set_8hpp_1af3e9d584c6ab0ee3617bb06fee2733d0" name="operator!="><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>sg_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>sg_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.sg__set_8hpp_1acfd324c84e23bb9dc481d7fd823991aa" name="operator&gt;"><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>sg_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>sg_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.sg__set_8hpp_1a9d230e9a0c021e3c9c78b9ea5981cd53" name="operator&lt;="><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>sg_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>sg_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.sg__set_8hpp_1a315533f1acfdcdb0dc7e8553626967a1" name="operator&gt;="><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>sg_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>sg_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.sg__set_8hpp_1ac03b20a0b8d54a9259f6f2f3bd8ed07f" name="swap"><type>void</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype><classname>sg_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype><classname>sg_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.sg__set_8hpp_1a1de348900cca38a7f45ec1988a66b575" name="operator!="><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>sg_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>sg_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.sg__set_8hpp_1aaf10172f0535c5925bca32cca3805783" name="operator&gt;"><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>sg_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>sg_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.sg__set_8hpp_1ab02bce857543776562c91e0a2dc19124" name="operator&lt;="><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>sg_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>sg_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.sg__set_8hpp_1a9279ae5956817297a27ebc22addc71b3" name="operator&gt;="><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>sg_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>sg_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.sg__set_8hpp_1a4dd4f43860ae0c0a5ff7b17354736de5" name="swap"><type>void</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype><classname>sg_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype><classname>sg_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>








































</namespace>
</namespace>
</header>
<header id="doxygen.sgtree_8hpp" name="boost/intrusive/sgtree.hpp">
<namespace name="boost">
<namespace name="intrusive">
<struct id="doxygen.structboost_1_1intrusive_1_1make__sgtree" name="make_sgtree"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define a <computeroutput>sgtree</computeroutput> that yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__sgtree_1a4a60d49ed12b3fd0070cc8d72034b8a4" name="type"><type>implementation_defined</type></typedef>
</struct><class id="doxygen.classboost_1_1intrusive_1_1sgtree" name="sgtree"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>The class template sgtree is an intrusive scapegoat tree container, that is used to construct intrusive <link linkend="doxygen.classboost_1_1intrusive_1_1sg__set">sg_set</link> and <link linkend="doxygen.classboost_1_1intrusive_1_1sg__multiset">sg_multiset</link> containers. The no-throw guarantee holds only, if the value_compare object doesn't throw.</para><para>The template parameter <computeroutput>T</computeroutput> is the type to be managed by the container. The user can specify additional options and if no options are provided default options are used.</para><para>The container supports the following options: <computeroutput>base_hook&lt;&gt;/member_hook&lt;&gt;/value_traits&lt;&gt;</computeroutput>, <computeroutput>floating_point&lt;&gt;</computeroutput>, <computeroutput>size_type&lt;&gt;</computeroutput> and <computeroutput>compare&lt;&gt;</computeroutput>. </para></description><typedef id="doxygen.classboost_1_1intrusive_1_1sgtree_1aefb4cdc34a36add585d51d97ef72ea9c" name="value_traits"><type>ValueTraits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sgtree_1a2bb442b11c3aaaf99b110551f72737a6" name="pointer"><type>implementation_defined::pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sgtree_1a1befcda58b5ce6194bc75b711b29c95a" name="const_pointer"><type>implementation_defined::const_pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sgtree_1aa3c404d69e5c218e5a8200222a572547" name="value_type"><type>implementation_defined::value_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sgtree_1a146472ad071deebc01ad16cdfdd60e7f" name="key_type"><type>implementation_defined::key_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sgtree_1a05f96cbb5023aee6fad22f22e3932df6" name="key_of_value"><type>implementation_defined::key_of_value</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sgtree_1a6e75768d2415427ca311158a58f74b7c" name="reference"><type>implementation_defined::reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sgtree_1ae7083f56dcec0d6625702c2aa3b2dda7" name="const_reference"><type>implementation_defined::const_reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sgtree_1a667ebfd23d7f6b0f9e3d1a2b7e327fd6" name="difference_type"><type>implementation_defined::difference_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sgtree_1aca8b611c8f071f30bae8d25bab6d595f" name="size_type"><type>implementation_defined::size_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sgtree_1ae113c4d5c180996a3d636ef786ca1ddb" name="value_compare"><type>implementation_defined::value_compare</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sgtree_1a070bbb3d685a6c0298ecb4355d048149" name="key_compare"><type>implementation_defined::key_compare</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sgtree_1a44248656380e4e7c41ac7c192743f6aa" name="iterator"><type>implementation_defined::iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sgtree_1a07661321f519a88d77e393f0a4e6efcf" name="const_iterator"><type>implementation_defined::const_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sgtree_1ad5724fcd84cfae8b7a0f952cc4df535f" name="reverse_iterator"><type>implementation_defined::reverse_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sgtree_1a0fb0d1424eb5346957fe27772a9348d2" name="const_reverse_iterator"><type>implementation_defined::const_reverse_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sgtree_1a701381582c2568a60383094dd30aefea" name="node_traits"><type>implementation_defined::node_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sgtree_1a4f2d5f33ef475fb1852be1b93466e027" name="node"><type>implementation_defined::node</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sgtree_1ae8e6b9f05d2a630fb88bdc196dc4edd4" name="node_ptr"><type>implementation_defined::node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sgtree_1a67d33ac83ee2e1626031f0146fb207e5" name="const_node_ptr"><type>implementation_defined::const_node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sgtree_1aab8ec903d26e6e3b7d453e40e1d08bcb" name="node_algorithms"><type>implementation_defined</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sgtree_1a190d78940c315dcfadc841a1a16b5eb3" name="insert_commit_data"><type>implementation_defined</type></typedef>
<data-member id="doxygen.classboost_1_1intrusive_1_1sgtree_1ab5e461c8e80a2fcf34ef05f2ce5e1796" name="constant_time_size" specifiers="static"><type>const bool</type></data-member>
<data-member id="doxygen.classboost_1_1intrusive_1_1sgtree_1a190285ca3a56d2616e6565060b2a2550" name="floating_point" specifiers="static"><type>const bool</type></data-member>
<data-member id="doxygen.classboost_1_1intrusive_1_1sgtree_1a4910de07d7a6df97bdd4508287c09044" name="stateful_value_traits" specifiers="static"><type>const bool</type></data-member>
<method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1sgtree_1a0ce4a8311967c60984117e253d026428"><description><para><emphasis role="bold">Effects</emphasis>: Constructs an empty container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the copy constructor of the key_compare object throws. Basic guarantee.   </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1sgtree_1a8e7c061e48cc1c6fce899290b64738de" specifiers="explicit"><parameter name="cmp"><paramtype>const key_compare &amp;</paramtype></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1sgtree_1a1b8dee57eafc646f689610c6689e44f2"><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="unique"><paramtype>bool</paramtype></parameter><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><parameter name="cmp"><paramtype>const key_compare &amp;</paramtype><default>key_compare()</default></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1sgtree_1a27f8cd0c69743acc194863f380850012"><parameter name="x"><paramtype><classname>sgtree</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Constructs a container moving resources from another container. Internal comparison object and value traits are move constructed and nodes belonging to x (except the node representing the "end") are linked to *this.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node's move constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the move constructor of the comparison objet throws.   </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1sgtree_1a316c28cc85c9c3ea2183e01d68d02aaf"><type><classname>sgtree</classname> &amp;</type><parameter name="x"><paramtype><classname>sgtree</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Equivalent to swap  </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1sgtree_1a1ec33b68d1eef2d8e418aa7b96d37c57"><description><para><emphasis role="bold">Effects</emphasis>: Detaches all elements from this. The objects in the set are not deleted (i.e. no destructors are called), but the nodes according to the <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> template parameter are reinitialized and thus can be reused.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a838c838135c012c4ab1b705a6e5c04ee" name="begin" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1af0c2fadd9f8d669f96c64a02d018ab70" name="begin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a494a26bc163a7e53ebb50bcdbdd51cc7" name="cbegin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a47764c52aba7ecc32620c45fe8ea4428" name="end" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1adc940b48e9c11b9f3ea4250b2e6f6a30" name="end" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1aefccbc2a8aef2e85c7c785225af4c657" name="cend" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a28047546bec4ef5fa9c6f5a444537a9a" name="rbegin" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1acfb651ff0b99acb61105183245f77f0d" name="rbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1ae4c5eb0629651dab1f4dbd886b3ee5d3" name="crbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a8d879f02fee622742568bef0c283b527" name="rend" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1adac237a6f622d6e450a969f2843358ae" name="rend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1adc6e6c6300c899d44bf4d7734c48823e" name="crend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a4bb2c55779b2aed53950f3df984f27ec" name="root" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1sgtree_1a47764c52aba7ecc32620c45fe8ea4428">end()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1aa6a9ddaadb86059b7222ad5ac80abcb7" name="root" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1sgtree_1aefccbc2a8aef2e85c7c785225af4c657">cend()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a5eae45438e412e3673e3020b990fbbe1" name="croot" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1sgtree_1aefccbc2a8aef2e85c7c785225af4c657">cend()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1afe9f222147ab61a3e57a45d400574fd4" name="key_comp" cv="const"><type>key_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the key_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If key_compare copy-constructor throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1ab055332fc0c357c3e0b8c31b261a1ae5" name="value_comp" cv="const"><type>value_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the value_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_compare copy-constructor throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1aa51cea926d0e6bbb8e2eb7d2005fea6d" name="empty" cv="const noexcept"><type>bool</type><description><para><emphasis role="bold">Effects</emphasis>: Returns true if the container is empty.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a5690ee5c1828e94c3ec8c2d95453e2ea" name="size" cv="const noexcept"><type>size_type</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the number of elements stored in the container.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this if constant-time size option is disabled. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a652b285e34b8f09cb683bf90303c9d68" name="swap"><type>void</type><parameter name="other"><paramtype><classname>sgtree</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Swaps the contents of two containers.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor's swap call throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1aa96c1d571d4d66ad3f22918727a6b7fb" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype>const <classname>sgtree</classname> &amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(const_reference ) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee.   Additional notes: it also copies the alpha factor from the source container. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a4ef45c6b4d7d18d764c18d1b74a61510" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype><classname>sgtree</classname> &amp;&amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(reference) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee.</para><para><emphasis role="bold">Note</emphasis>: This version can modify the source container, useful to implement move semantics.   Additional notes: it also copies the alpha factor from the source container. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a5bfbd114612893d6445e53ee44fab6ff" name="insert_equal"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a05c7a7b8d0055305c90d49694ba21db6" name="insert_equal"><type>iterator</type><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a89ff1db9f7a0011e4bcb32fa981ab296" name="insert_equal"><type>void</type><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type.</para><para><emphasis role="bold">Effects</emphasis>: Inserts a each element of a range into the container before the upper bound of the key of each element.</para><para><emphasis role="bold">Complexity</emphasis>: Insert range is in general O(N * log(N)), where N is the size of the range. However, it is linear in N if the range is already sorted by <link linkend="doxygen.classboost_1_1intrusive_1_1sgtree_1ab055332fc0c357c3e0b8c31b261a1ae5">value_comp()</link>.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor call throws.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a07fd7c605e70b2c421135f7f25cc7401" name="insert_unique"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1ae9217020f816fd7c587c1975488f9ad0" name="insert_unique"><type>iterator</type><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a91a9a3f945659ad00c6f8d63e6466844" name="insert_unique_check"><type>std::pair&lt; iterator BOOST_INTRUSIVE_I bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a14a22f22a671ca776667a58fc364a288" name="insert_unique_check"><type>std::pair&lt; iterator, bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a54bf31def6ed50a487a5d2aa6bc6e4b4" name="insert_unique_check"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a97c29e99d8a1a687853ebdf63d9f50d9" name="insert_unique_check"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1addbb9637f8704f71ed43f04b64817180" name="insert_unique_commit" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter><parameter name="commit_data"><paramtype>const insert_commit_data &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue of type value_type. commit_data must have been obtained from a previous call to "insert_check". No objects should have been inserted or erased from the container between the "insert_check" that filled "commit_data" and the call to "insert_commit".</para><para><emphasis role="bold">Effects</emphasis>: Inserts the value in the container using the information obtained from the "commit_data" that a previous "insert_check" filled.</para><para><emphasis role="bold">Returns</emphasis>: An iterator to the newly inserted object.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function has only sense if a "insert_check" has been previously executed to fill "commit_data". No value should be inserted or erased between the "insert_check" and "insert_commit" calls.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a79eb912ccf05302c237f5b8c832117f0" name="insert_unique"><type>void</type><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type.</para><para><emphasis role="bold">Effects</emphasis>: Tries to insert each element of a range into the container.</para><para><emphasis role="bold">Complexity</emphasis>: Insert range is in general O(N * log(N)), where N is the size of the range. However, it is linear in N if the range is already sorted by <link linkend="doxygen.classboost_1_1intrusive_1_1sgtree_1ab055332fc0c357c3e0b8c31b261a1ae5">value_comp()</link>.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor call throws.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a93eb58f774c3b81838a585c4d0a99942" name="insert_before" cv="noexcept"><type>iterator</type><parameter name="pos"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, "pos" must be a valid iterator (or end) and must be the succesor of value once inserted according to the predicate</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container before "pos".</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if "pos" is not the successor of "value" container ordering invariant will be broken. This is a low-level function to be used only for performance reasons by advanced users.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a4d760d4376430823d6db00aab49b9df2" name="push_back" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and it must be no less than the greatest inserted key</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container in the last position.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if value is less than the greatest inserted key container ordering invariant will be broken. This function is slightly more efficient than using "insert_before". This is a low-level function to be used only for performance reasons by advanced users.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1aa51d942804d8468bda58b297269fa712" name="push_front" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and it must be no greater than the minimum inserted key</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container in the first position.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if value is greater than the minimum inserted key container ordering invariant will be broken. This function is slightly more efficient than using "insert_before". This is a low-level function to be used only for performance reasons by advanced users.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1ad02172fabfa723f75850fbbb1053cc6c" name="erase" cv="noexcept"><type>iterator</type><parameter name="i"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a12ebae01ee5a61282400784ecfc4348d" name="erase" cv="noexcept"><type>iterator</type><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a81b907911360793382816462ab1d62bd" name="erase"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1acfed0a064372d38cfcae672a73801f3d" name="erase"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "comp".</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1sgtree_1a5690ee5c1828e94c3ec8c2d95453e2ea">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a0693ae53ecd33a3cc13ec89666a5e5cb" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="i"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1ab77a1ddaedad1b7b341c1837e8e0b44d" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a321f0ba4d2028ea32d39c0c9259bafed" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1ae03dd4e150a089615cb9867fe961cd22" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk) and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "comp". Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1sgtree_1a5690ee5c1828e94c3ec8c2d95453e2ea">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased elements.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1aeefab7eb272af415129927a8505763ee" name="clear" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements on the container. if it's a safe-mode or auto-unlink value_type. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a0548e42e78498ea6c265d60efb7a1e40" name="clear_and_dispose" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements calling disposer(p) for each node to be erased. <emphasis role="bold">Complexity</emphasis>: Average complexity for is at most O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1sgtree_1a5690ee5c1828e94c3ec8c2d95453e2ea">size()</link> + N)), where N is the number of elements in the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. Calls N times to disposer functor.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a94e5364926b7311f94ff068d9cdb4598" name="merge_unique"><type>void</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options2"><type>class ...</type></template-nontype-parameter>
        </template><parameter name=""><paramtype><classname>sgtree</classname>&lt; T, Options2... &gt; &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "source" container's Options can only can differ in the comparison function from *this.</para><para><emphasis role="bold">Effects</emphasis>: Attempts to extract each element in source and insert it into a using the comparison object of *this. If there is an element in a with key equivalent to the key of an element from source, then that element is not extracted from source.</para><para><emphasis role="bold">Postcondition</emphasis>: Pointers and references to the transferred elements of source refer to those same elements but as members of *this. Iterators referring to the transferred elements will continue to refer to their elements, but they now behave as iterators into *this, not into source.</para><para><emphasis role="bold">Throws</emphasis>: Nothing unless the comparison object throws.</para><para><emphasis role="bold">Complexity</emphasis>: N log(a.size() + N) (N has the value source.size())   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1aafdea14a09fd05dc8a5d635fec2f7788" name="while"><type/><parameter name=""><paramtype>it !</paramtype><default>itend</default></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a5b6239d194249164bf73ed5f69918292" name="merge_equal"><type>void</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options2"><type>class ...</type></template-nontype-parameter>
        </template><parameter name=""><paramtype><classname>sgtree</classname>&lt; T, Options2... &gt; &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "source" container's Options can only can differ in the comparison function from *this.</para><para><emphasis role="bold">Effects</emphasis>: Extracts each element in source and insert it into a using the comparison object of *this.</para><para><emphasis role="bold">Postcondition</emphasis>: Pointers and references to the transferred elements of source refer to those same elements but as members of *this. Iterators referring to the transferred elements will continue to refer to their elements, but they now behave as iterators into *this, not into source.</para><para><emphasis role="bold">Throws</emphasis>: Nothing unless the comparison object throws.</para><para><emphasis role="bold">Complexity</emphasis>: N log(a.size() + N) (N has the value source.size())   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1aafdea14a09fd05dc8a5d635fec2f7788" name="while"><type/><parameter name=""><paramtype>it !</paramtype><default>itend</default></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a7eb72adebf0672d21c194f827b6fe6f1" name="count" cv="const"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a6ea396c9098431e3eac1fd44668224e9" name="count" cv="const"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of contained elements with the given key</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic to the number of elements contained plus lineal to number of objects with the given key.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1af6328143ede3b5c21b1024180fb800f0" name="lower_bound"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a38b40fe92141388fc5655df1dff0746a" name="lower_bound"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a45cd1cccbfc85d369331b47c39a2e74b" name="lower_bound" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1add7a629b4a3eb5e010aa1903cfa1f931" name="lower_bound" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1ad062fc20ebed967f63c597ba30e8fd97" name="upper_bound"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a1f3dc63abcb6d483eb532a1176f73c95" name="upper_bound"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k according to comp or <link linkend="doxygen.classboost_1_1intrusive_1_1sgtree_1a47764c52aba7ecc32620c45fe8ea4428">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1aeb9f469dd2a455b1c81b3d11409352c5" name="upper_bound" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1ac10998a84964d3dfc3f6deff09135e2b" name="upper_bound" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k according to comp or <link linkend="doxygen.classboost_1_1intrusive_1_1sgtree_1a47764c52aba7ecc32620c45fe8ea4428">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1aa186ef7ab5411472f8cba04d4314f82d" name="find"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a623485a264b9e0086701cd9a6b715e12" name="find"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1sgtree_1a47764c52aba7ecc32620c45fe8ea4428">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1acce6e801df7241c61c81c5d6700a076d" name="find" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a6b3ab9417c41ce9443885281ac99652d" name="find" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1sgtree_1a47764c52aba7ecc32620c45fe8ea4428">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1ae34698b11669835088b8ee86b2bfc1ad" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a9e3ad1ee8621eae05ff273b1f1bb8708" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a885d8b618260785b74e149fa68a91565" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a38977e1de5b5ae81806c5901e076a9a8" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1aa142184db01fd7114968097c9cdc7958" name="bounded_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="lower_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a99275e314000bf6796d3cbbb7a0d590a" name="bounded_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>lower_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, lower_key) if left_closed is true, with respect to !comp(lower_key, nk) otherwise.</para><para><computeroutput>upper_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(upper_key, nk) if right_closed is true, with respect to comp(nk, upper_key) otherwise.</para><para><computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to comp [comp(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!comp(upper_key, lower_key) &amp;&amp; !comp(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise</para><para>second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a7193133883499eb616b71bc7719e6988" name="bounded_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="lower_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1aa7ab80211cd2ca3ba4b4f830b792e1f5" name="bounded_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>lower_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, lower_key) if left_closed is true, with respect to !comp(lower_key, nk) otherwise.</para><para><computeroutput>upper_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(upper_key, nk) if right_closed is true, with respect to comp(nk, upper_key) otherwise.</para><para><computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to comp [comp(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!comp(upper_key, lower_key) &amp;&amp; !comp(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise</para><para>second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a25dd90fe9c97ca75eac0fbe4a6423584" name="iterator_to" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a725d6bcdb4c0c4b8e2d800b426186ee6" name="iterator_to" cv="const noexcept"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1ad64be5b4572b9cf62d531b9d9d84eb4f" name="unlink_leftmost_without_rebalance" cv="noexcept"><type>pointer</type><description><para><emphasis role="bold">Effects</emphasis>: Unlinks the leftmost node from the container.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function breaks the container and the container can only be used for more unlink_leftmost_without_rebalance calls. This function is normally used to achieve a step by step controlled destruction of the container.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1aeab5148bfdc9ec7e6f1d7bb52a49b075" name="replace_node" cv="noexcept"><type>void</type><parameter name="replace_this"><paramtype>iterator</paramtype></parameter><parameter name="with_this"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: replace_this must be a valid iterator of *this and with_this must not be inserted in any container.</para><para><emphasis role="bold">Effects</emphasis>: Replaces replace_this in its position in the container with with_this. The container does not need to be rebalanced.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if with_this is not equivalent to *replace_this according to the ordering rules. This function is faster than erasing and inserting the node, since no rebalancing or comparison is needed.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a24b4b0a2a387aaf41f4a5c966650ecf0" name="remove_node" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: removes "value" from the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic time.</para><para><emphasis role="bold">Note</emphasis>: This static function is only usable with non-constant time size containers that have stateless comparison functors.</para><para>If the user calls this function with a constant time size container or stateful comparison functor a compilation error will be issued.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a692c4dc0ca25fb5d0094fda17e314aed" name="rebalance" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Rebalances the tree.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1aa47279a6ade7d5139ff03c16d8ceb57a" name="rebalance_subtree" cv="noexcept"><type>iterator</type><parameter name="root"><paramtype>iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: old_root is a node of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Rebalances the subtree rooted at old_root.</para><para><emphasis role="bold">Returns</emphasis>: The new root of the subtree.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the elements in the subtree.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a712bb947460c79fa23dea9d0d8d6ee9c" name="balance_factor" cv="const noexcept"><type>float</type><description><para><emphasis role="bold">Returns</emphasis>: The balance factor (alpha) used in this tree</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a06cfd98a0c85ab466172b8c303cac039" name="balance_factor" cv="noexcept"><type>void</type><parameter name="new_alpha"><paramtype>float</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: new_alpha must be a value between 0.5 and 1.0</para><para><emphasis role="bold">Effects</emphasis>: Establishes a new balance factor (alpha) and rebalances the tree if the new balance factor is stricter (less) than the old factor.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the elements in the subtree. </para></description></method>
</method-group>
<method-group name="public static functions">
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a4983b11c1ddf4a236d4ef3c41da32b1c" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type><classname>sgtree</classname> &amp;</type><parameter name="end_iterator"><paramtype>iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a7d8cc3b536101ce3fa1fb520fe528c59" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type>const <classname>sgtree</classname> &amp;</type><parameter name="end_iterator"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a357e00961f7b6f49aa188df01fd5ecfd" name="container_from_iterator" cv="noexcept" specifiers="static"><type><classname>sgtree</classname> &amp;</type><parameter name="it"><paramtype>iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a1c18a330e8e56647a620bb30bf908bac" name="container_from_iterator" cv="noexcept" specifiers="static"><type>const <classname>sgtree</classname> &amp;</type><parameter name="it"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a5b6c644ddf31980c3958e08e85a8b5d2" name="s_iterator_to" cv="noexcept" specifiers="static"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1ac79455cb197fe657cbb0c93e95cab937" name="s_iterator_to" cv="noexcept" specifiers="static"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree_1a103723059baf3f59ccbaa819f40c02b2" name="init_node" cv="noexcept" specifiers="static"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
</method-group>
</class>



























































</namespace>
</namespace>
</header>
<header id="doxygen.sgtree__algorithms_8hpp" name="boost/intrusive/sgtree_algorithms.hpp">
<namespace name="boost">
<namespace name="intrusive">
<class id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms" name="sgtree_algorithms"><template>
      <template-type-parameter name="NodeTraits"/>
    </template><description><para><link linkend="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms">sgtree_algorithms</link> is configured with a NodeTraits class, which encapsulates the information about the node to be manipulated. NodeTraits must support the following interface:</para><para><emphasis role="bold">Typedefs</emphasis>:</para><para><computeroutput>node</computeroutput>: The type of the node that forms the binary search tree</para><para><computeroutput>node_ptr</computeroutput>: A pointer to a node</para><para><computeroutput>const_node_ptr</computeroutput>: A pointer to a const node</para><para><emphasis role="bold">Static functions</emphasis>:</para><para><computeroutput>static node_ptr get_parent(const_node_ptr n);</computeroutput></para><para><computeroutput>static void set_parent(node_ptr n, node_ptr parent);</computeroutput></para><para><computeroutput>static node_ptr get_left(const_node_ptr n);</computeroutput></para><para><computeroutput>static void set_left(node_ptr n, node_ptr left);</computeroutput></para><para><computeroutput>static node_ptr get_right(const_node_ptr n);</computeroutput></para><para><computeroutput>static void set_right(node_ptr n, node_ptr right);</computeroutput> </para></description><struct id="doxygen.structboost_1_1intrusive_1_1sgtree__algorithms_1_1insert__commit__data" name="insert_commit_data"><inherit access="public">bstree_algo::insert_commit_data</inherit><description><para>This type is the information that will be filled by insert_unique_check </para></description><data-member id="doxygen.structboost_1_1intrusive_1_1sgtree__algorithms_1_1insert__commit__data_1a8bccfcd683397109874c6ff16c44db58" name="depth"><type>std::size_t</type></data-member>
</struct><typedef id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1abec51e1d66b0107b33c198e80a4d03e9" name="node"><type>NodeTraits::node</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1a013b0da91dbd73f3fe5cded374a40d2d" name="node_traits"><type>NodeTraits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1aaf8abe1ea863d814ae9e21b68885fb52" name="node_ptr"><type>NodeTraits::node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1a0ae4011750ba3415a136de6890c0ce23" name="const_node_ptr"><type>NodeTraits::const_node_ptr</type></typedef>
<method-group name="public static functions">
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1ac60a4182b91ebe52a01cb13643d13089" name="get_header" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="n"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'n' is a node of the tree or a header node.</para><para><emphasis role="bold">Effects</emphasis>: Returns the header of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1a4a6e78ed06beb67e9380821aff4d8f42" name="begin_node" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'header' is the header node of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Returns the first node of the tree, the header if the tree is empty.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1adbd3e0b08486ceffcc22d8dfac4844fc" name="end_node" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'header' is the header node of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Returns the header of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1acb97dbe3b3242f1febd1d73e4fee4db7" name="swap_tree" cv="noexcept" specifiers="static"><type>void</type><parameter name="header1"><paramtype>node_ptr</paramtype></parameter><parameter name="header2"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header1 and header2 must be the header nodes of two trees.</para><para><emphasis role="bold">Effects</emphasis>: Swaps two trees. After the function header1 will contain links to the second tree and header2 will have links to the first tree.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1a293cc47dba00b074cbf1efe24ac47fe7" name="swap_nodes" cv="noexcept" specifiers="static"><type>void</type><parameter name="node1"><paramtype>node_ptr</paramtype></parameter><parameter name="node2"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: node1 and node2 can't be header nodes of two trees.</para><para><emphasis role="bold">Effects</emphasis>: Swaps two nodes. After the function node1 will be inserted in the position node2 before the function. node2 will be inserted in the position node1 had before the function.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if node1 and node2 are not equivalent according to the ordering rules.</para><para>Experimental function   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1ae1c227ce441391ec64f40318ef5878f3" name="swap_nodes" cv="noexcept" specifiers="static"><type>void</type><parameter name="node1"><paramtype>node_ptr</paramtype></parameter><parameter name="header1"><paramtype>node_ptr</paramtype></parameter><parameter name="node2"><paramtype>node_ptr</paramtype></parameter><parameter name="header2"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: node1 and node2 can't be header nodes of two trees with header header1 and header2.</para><para><emphasis role="bold">Effects</emphasis>: Swaps two nodes. After the function node1 will be inserted in the position node2 before the function. node2 will be inserted in the position node1 had before the function.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if node1 and node2 are not equivalent according to the ordering rules.</para><para>Experimental function   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1a5db4f3c1819e9658ba98fa9bbd3986ce" name="replace_node" cv="noexcept" specifiers="static"><type>void</type><parameter name="node_to_be_replaced"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: node_to_be_replaced must be inserted in a tree and new_node must not be inserted in a tree.</para><para><emphasis role="bold">Effects</emphasis>: Replaces node_to_be_replaced in its position in the tree with new_node. The tree does not need to be rebalanced</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if new_node is not equivalent to node_to_be_replaced according to the ordering rules. This function is faster than erasing and inserting the node, since no rebalancing and comparison is needed. Experimental function   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1ae1be081bd88b1ffb894b8c76fe9ba130" name="replace_node" cv="noexcept" specifiers="static"><type>void</type><parameter name="node_to_be_replaced"><paramtype>node_ptr</paramtype></parameter><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: node_to_be_replaced must be inserted in a tree with header "header" and new_node must not be inserted in a tree.</para><para><emphasis role="bold">Effects</emphasis>: Replaces node_to_be_replaced in its position in the tree with new_node. The tree does not need to be rebalanced</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if new_node is not equivalent to node_to_be_replaced according to the ordering rules. This function is faster than erasing and inserting the node, since no rebalancing or comparison is needed. Experimental function   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1a929d00e4137dc1150c9b8645fe39a343" name="unlink_leftmost_without_rebalance" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><purpose>static void unlink(node_ptr n) BOOST_NOEXCEPT; </purpose><description><para><emphasis role="bold">Requires</emphasis>: header is the header of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Unlinks the leftmost node from the tree, and updates the header link to the new leftmost node.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function breaks the tree and the tree can only be used for more unlink_leftmost_without_rebalance calls. This function is normally used to achieve a step by step controlled destruction of the tree.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1a95e5d81a6a9c702b5f75db226664ca4b" name="unique" cv="noexcept" specifiers="static"><type>bool</type><parameter name="n"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'n' is a node of the tree or a node initialized by init(...) or init_node.</para><para><emphasis role="bold">Effects</emphasis>: Returns true if the node is initialized by <link linkend="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1a676f8310dce3f1356a48dc51ec7af1ee">init()</link> or init_node().</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1ac90f5aa764a5fd57589c6a4ca6331309" name="size" cv="noexcept" specifiers="static"><type>std::size_t</type><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'header' the header of the tree.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of nodes of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Linear time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1a8c1fc35047b21ab941b6164c7e860ae6" name="next_node" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="n"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'n' is a node from the tree except the header.</para><para><emphasis role="bold">Effects</emphasis>: Returns the next node of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Average constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1a4c8f0571780fc29d34d3113cd5d6396b" name="prev_node" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="n"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'n' is a node from the tree except the leftmost node.</para><para><emphasis role="bold">Effects</emphasis>: Returns the previous node of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Average constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1a676f8310dce3f1356a48dc51ec7af1ee" name="init" cv="noexcept" specifiers="static"><type>void</type><parameter name="n"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'n' must not be part of any tree.</para><para><emphasis role="bold">Effects</emphasis>: After the function unique(node) == true.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Nodes</emphasis>: If node is inserted in a tree, this function corrupts the tree.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1af12af18edf41df428925005e6f1bc9be" name="init_header" cv="noexcept" specifiers="static"><type>void</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header must not be part of any tree.</para><para><emphasis role="bold">Effects</emphasis>: Initializes the header to represent an empty tree. unique(header) == true.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Nodes</emphasis>: If header is inserted in a tree, this function corrupts the tree.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1ab77fffa0607e0a4ecff7f8e77f937c4d" name="erase" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="AlphaByMaxSize"/>
        </template><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="z"><paramtype>node_ptr</paramtype></parameter><parameter name="tree_size"><paramtype>std::size_t</paramtype></parameter><parameter name="max_tree_size"><paramtype>std::size_t &amp;</paramtype></parameter><parameter name="alpha_by_maxsize"><paramtype>AlphaByMaxSize</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header must be the header of a tree, z a node of that tree and z != header.</para><para><emphasis role="bold">Effects</emphasis>: Erases node "z" from the tree with header "header".</para><para><emphasis role="bold">Complexity</emphasis>: Amortized constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1a73a52cb638ec5980632be718f441cc52" name="clone" specifiers="static"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="source_header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="target_header"><paramtype>node_ptr</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "cloner" must be a function object taking a node_ptr and returning a new cloned node of it. "disposer" must take a node_ptr and shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: First empties target tree calling <computeroutput>void disposer::operator()(node_ptr)</computeroutput> for every node of the tree except the header.</para><para>Then, duplicates the entire tree pointed by "source_header" cloning each source node with <computeroutput>node_ptr Cloner::operator()(node_ptr)</computeroutput> to obtain the nodes of the target tree. If "cloner" throws, the cloned target nodes are disposed using <computeroutput>void disposer(node_ptr )</computeroutput>.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of element of the source tree plus the number of elements of tree target tree when calling this function.</para><para><emphasis role="bold">Throws</emphasis>: If cloner functor throws. If this happens target nodes are disposed.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1a29b3b659083b534f9d431f069a72b8c5" name="clear_and_dispose" cv="noexcept" specifiers="static"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "disposer" must be an object function taking a node_ptr parameter and shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Empties the target tree calling <computeroutput>void disposer::operator()(node_ptr)</computeroutput> for every node of the tree except the header.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of element of the source tree plus the. number of elements of tree target tree when calling this function.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1a5140e8ed505e66eceb7a16906420a425" name="lower_bound" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns a node_ptr to the first element that is not less than "key" according to "comp" or "header" if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1af3b25b7be3470b593ac3272e48d3db6c" name="upper_bound" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns a node_ptr to the first element that is greater than "key" according to "comp" or "header" if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1ae2438303e133b20eac6264016849c8dc" name="find" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns a node_ptr to the first element that is equivalent to "key" according to "comp" or "header" if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1afacbb2612c454eca999097d8322b50a5" name="equal_range" specifiers="static"><type>std::pair&lt; node_ptr, node_ptr &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair of node_ptr delimiting a range containing all elements that are equivalent to "key" according to "comp" or an empty range that indicates the position where those elements would be if there are no equivalent elements.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1aed0ab01597324c9e008ada8d9344d18f" name="bounded_range" specifiers="static"><type>std::pair&lt; node_ptr, node_ptr &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs. 'lower_key' must not be greater than 'upper_key' according to 'comp'. If 'lower_key' == 'upper_key', ('left_closed' || 'right_closed') must be true.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key) if left_closed, upper_bound(lower_key) otherwise</para><para>second = upper_bound(upper_key) if right_closed, lower_bound(upper_key) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1ad10870a7576058d4b0dfb97e7d084be3" name="count" specifiers="static"><type>std::size_t</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of elements with a key equivalent to "key" according to "comp".</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1a66ac195a92d26ea282cc701dcbecd9e5" name="insert_equal_upper_bound" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="NodePtrCompare"/>
          <template-type-parameter name="H_Alpha"/>
        </template><parameter name="h"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><parameter name="comp"><paramtype>NodePtrCompare</paramtype></parameter><parameter name="tree_size"><paramtype>std::size_t</paramtype></parameter><parameter name="h_alpha"><paramtype>H_Alpha</paramtype></parameter><parameter name="max_tree_size"><paramtype>std::size_t &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "h" must be the header node of a tree. NodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. NodePtrCompare compares two node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Inserts new_node into the tree before the upper bound according to "comp".</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity for insert element is at most logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1aa54a7e2db825989af0741321908436ae" name="insert_equal_lower_bound" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="NodePtrCompare"/>
          <template-type-parameter name="H_Alpha"/>
        </template><parameter name="h"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><parameter name="comp"><paramtype>NodePtrCompare</paramtype></parameter><parameter name="tree_size"><paramtype>std::size_t</paramtype></parameter><parameter name="h_alpha"><paramtype>H_Alpha</paramtype></parameter><parameter name="max_tree_size"><paramtype>std::size_t &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "h" must be the header node of a tree. NodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. NodePtrCompare compares two node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Inserts new_node into the tree before the lower bound according to "comp".</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity for insert element is at most logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1af6d72086c6b846cf57d7dc7bb7a2b879" name="insert_equal" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="NodePtrCompare"/>
          <template-type-parameter name="H_Alpha"/>
        </template><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="hint"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><parameter name="comp"><paramtype>NodePtrCompare</paramtype></parameter><parameter name="tree_size"><paramtype>std::size_t</paramtype></parameter><parameter name="h_alpha"><paramtype>H_Alpha</paramtype></parameter><parameter name="max_tree_size"><paramtype>std::size_t &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. NodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. NodePtrCompare compares two node_ptrs. "hint" is node from the "header"'s tree.</para><para><emphasis role="bold">Effects</emphasis>: Inserts new_node into the tree, using "hint" as a hint to where it will be inserted. If "hint" is the upper_bound the insertion takes constant time (two comparisons in the worst case).</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic in general, but it is amortized constant time if new_node is inserted immediately before "hint".</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1a67e32481fb906548b2c192bf1aaf703b" name="insert_before" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="H_Alpha"/>
        </template><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="pos"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><parameter name="tree_size"><paramtype>std::size_t</paramtype></parameter><parameter name="h_alpha"><paramtype>H_Alpha</paramtype></parameter><parameter name="max_tree_size"><paramtype>std::size_t &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. "pos" must be a valid iterator or header (end) node. "pos" must be an iterator pointing to the successor to "new_node" once inserted according to the order of already inserted nodes. This function does not check "pos" and this precondition must be guaranteed by the caller.</para><para><emphasis role="bold">Effects</emphasis>: Inserts new_node into the tree before "pos".</para><para><emphasis role="bold">Complexity</emphasis>: Constant-time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: If "pos" is not the successor of the newly inserted "new_node" tree invariants might be broken.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1a20e4d632cf0c1bfe0cbe3262c79c9ee1" name="push_back" cv="noexcept" specifiers="static"><type>void</type><template>
          <template-type-parameter name="H_Alpha"/>
        </template><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><parameter name="tree_size"><paramtype>std::size_t</paramtype></parameter><parameter name="h_alpha"><paramtype>H_Alpha</paramtype></parameter><parameter name="max_tree_size"><paramtype>std::size_t &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. "new_node" must be, according to the used ordering no less than the greatest inserted key.</para><para><emphasis role="bold">Effects</emphasis>: Inserts new_node into the tree before "pos".</para><para><emphasis role="bold">Complexity</emphasis>: Constant-time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: If "new_node" is less than the greatest inserted key tree invariants are broken. This function is slightly faster than using "insert_before".   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1aefb4c6052b6f64ecc997714d338d906b" name="push_front" cv="noexcept" specifiers="static"><type>void</type><template>
          <template-type-parameter name="H_Alpha"/>
        </template><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><parameter name="tree_size"><paramtype>std::size_t</paramtype></parameter><parameter name="h_alpha"><paramtype>H_Alpha</paramtype></parameter><parameter name="max_tree_size"><paramtype>std::size_t &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. "new_node" must be, according to the used ordering, no greater than the lowest inserted key.</para><para><emphasis role="bold">Effects</emphasis>: Inserts new_node into the tree before "pos".</para><para><emphasis role="bold">Complexity</emphasis>: Constant-time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: If "new_node" is greater than the lowest inserted key tree invariants are broken. This function is slightly faster than using "insert_before".   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1a9f91a036e34ca1763f644163347309af" name="insert_unique_check" specifiers="static"><type>std::pair&lt; node_ptr, bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><parameter name="commit_data"><paramtype><classname>insert_commit_data</classname> &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1a2a697154c7abed0ac5531f32933004fa" name="insert_unique_check" specifiers="static"><type>std::pair&lt; node_ptr, bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="hint"><paramtype>node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><parameter name="commit_data"><paramtype><classname>insert_commit_data</classname> &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1a31f1598122ca4e109a92382e9f807326" name="insert_unique_commit" specifiers="static"><type>void</type><template>
          <template-type-parameter name="H_Alpha"/>
        </template><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="new_value"><paramtype>node_ptr</paramtype></parameter><parameter name="commit_data"><paramtype>const <classname>insert_commit_data</classname> &amp;</paramtype></parameter><parameter name="tree_size"><paramtype>std::size_t</paramtype></parameter><parameter name="h_alpha"><paramtype>H_Alpha</paramtype></parameter><parameter name="max_tree_size"><paramtype>std::size_t &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1ab358e1b13f34455420392f6bf11cdd3a" name="transfer_unique" specifiers="static"><type>bool</type><template>
          <template-type-parameter name="NodePtrCompare"/>
          <template-type-parameter name="H_Alpha"/>
          <template-type-parameter name="AlphaByMaxSize"/>
        </template><parameter name="header1"><paramtype>node_ptr</paramtype></parameter><parameter name="comp"><paramtype>NodePtrCompare</paramtype></parameter><parameter name="tree1_size"><paramtype>std::size_t</paramtype></parameter><parameter name="max_tree1_size"><paramtype>std::size_t &amp;</paramtype></parameter><parameter name="header2"><paramtype>node_ptr</paramtype></parameter><parameter name="z"><paramtype>node_ptr</paramtype></parameter><parameter name="tree2_size"><paramtype>std::size_t</paramtype></parameter><parameter name="max_tree2_size"><paramtype>std::size_t &amp;</paramtype></parameter><parameter name="h_alpha"><paramtype>H_Alpha</paramtype></parameter><parameter name="alpha_by_maxsize"><paramtype>AlphaByMaxSize</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header1 and header2 must be the headers of trees tree1 and tree2 respectively, z a non-header node of tree1. NodePtrCompare is the comparison function of tree1..</para><para><emphasis role="bold">Effects</emphasis>: Transfers node "z" from tree1 to tree2 if tree1 does not contain a node that is equivalent to z.</para><para><emphasis role="bold">Returns</emphasis>: True if the node was trasferred, false otherwise.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1a8ce06fd43e11992ec24e9043c85e6d4c" name="transfer_equal" specifiers="static"><type>void</type><template>
          <template-type-parameter name="NodePtrCompare"/>
          <template-type-parameter name="H_Alpha"/>
          <template-type-parameter name="AlphaByMaxSize"/>
        </template><parameter name="header1"><paramtype>node_ptr</paramtype></parameter><parameter name="comp"><paramtype>NodePtrCompare</paramtype></parameter><parameter name="tree1_size"><paramtype>std::size_t</paramtype></parameter><parameter name="max_tree1_size"><paramtype>std::size_t &amp;</paramtype></parameter><parameter name="header2"><paramtype>node_ptr</paramtype></parameter><parameter name="z"><paramtype>node_ptr</paramtype></parameter><parameter name="tree2_size"><paramtype>std::size_t</paramtype></parameter><parameter name="max_tree2_size"><paramtype>std::size_t &amp;</paramtype></parameter><parameter name="h_alpha"><paramtype>H_Alpha</paramtype></parameter><parameter name="alpha_by_maxsize"><paramtype>AlphaByMaxSize</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header1 and header2 must be the headers of trees tree1 and tree2 respectively, z a non-header node of tree1. NodePtrCompare is the comparison function of tree1..</para><para><emphasis role="bold">Effects</emphasis>: Transfers node "z" from tree1 to tree2.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1af18e2f37ea7f567514ebc9bce419cc03" name="is_header" cv="noexcept" specifiers="static"><type>bool</type><parameter name="p"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: p is a node of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Returns true if p is the header of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1sgtree__algorithms_1a8dd1a867a3bc2343696a95a4949aca65" name="rebalance" cv="noexcept" specifiers="static"><type>void</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: p is a node of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Returns true if p is the header of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
</method-group>
</class>



























































</namespace>
</namespace>
</header>
<header id="doxygen.slist_8hpp" name="boost/intrusive/slist.hpp">
<namespace name="boost">
<namespace name="intrusive">
<struct id="doxygen.structboost_1_1intrusive_1_1make__slist" name="make_slist"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define a <computeroutput>slist</computeroutput> that yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__slist_1af2737a6c4c71f4d72a98ecd41c0a8563" name="type"><type>implementation_defined</type></typedef>
</struct><class id="doxygen.classboost_1_1intrusive_1_1slist" name="slist"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>The class template slist is an intrusive container, that encapsulates a singly-linked list. You can use such a list to squeeze the last bit of performance from your application. Unfortunately, the little gains come with some huge drawbacks. A lot of member functions can't be implemented as efficiently as for standard containers. To overcome this limitation some other member functions with rather unusual semantics have to be introduced.</para><para>The template parameter <computeroutput>T</computeroutput> is the type to be managed by the container. The user can specify additional options and if no options are provided default options are used.</para><para>The container supports the following options: <computeroutput>base_hook&lt;&gt;/member_hook&lt;&gt;/value_traits&lt;&gt;</computeroutput>, <computeroutput>constant_time_size&lt;&gt;</computeroutput>, <computeroutput>size_type&lt;&gt;</computeroutput>, <computeroutput>linear&lt;&gt;</computeroutput> and <computeroutput>cache_last&lt;&gt;</computeroutput>.</para><para>The iterators of slist are forward iterators. slist provides a static function called "previous" to compute the previous iterator of a given iterator. This function has linear complexity. To improve the usability esp. with the '*_after' functions, ++<link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a72550c3e7a57d54aea33d961d8a5b801">end()</link> == <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a26fdac8937f2a90384f8007b4e86121f">begin()</link> and previous(begin()) == <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a72550c3e7a57d54aea33d961d8a5b801">end()</link> are defined. An new special function "before_begin()" is defined, which returns an iterator that points one less the beginning of the list: ++<link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a5c08c7bf16517774a77ec0a332abdaf4">before_begin()</link> == <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a26fdac8937f2a90384f8007b4e86121f">begin()</link> </para></description><typedef id="doxygen.classboost_1_1intrusive_1_1slist_1ad8284213143553a0d9aede3a6da02d1e" name="value_traits"><type>ValueTraits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1slist_1aa4d99856b87a53372eacfc0057f0f29c" name="pointer"><type>value_traits::pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1slist_1a2c4e1771c6f73d038f18d8f09cac1b6f" name="const_pointer"><type>value_traits::const_pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1slist_1a2ed6ba94d68f20002ba5c6c816455fd6" name="value_type"><type><classname>pointer_traits</classname>&lt; pointer &gt;::element_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1slist_1a7853bfd102b8d6346b962faded81fd26" name="reference"><type><classname>pointer_traits</classname>&lt; pointer &gt;::reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1slist_1a6b46ab530e8791e54474fe0cfd0058bf" name="const_reference"><type><classname>pointer_traits</classname>&lt; const_pointer &gt;::reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1slist_1a9ecd09e4d45e2bf69766628042ce1e85" name="difference_type"><type><classname>pointer_traits</classname>&lt; pointer &gt;::difference_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1slist_1a01bcd9cf20cf8b3b54017e96da985a97" name="size_type"><type>SizeType</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1slist_1a3b4f9865447398dbaf53248798e00aa7" name="iterator"><type>slist_iterator&lt; value_traits, false &gt;</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1slist_1afd80d732e2fe87ed17c8ced42a2631c5" name="const_iterator"><type>slist_iterator&lt; value_traits, true &gt;</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1slist_1acffb9bd28a029ef6365951d94510efb0" name="node_traits"><type>value_traits::node_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1slist_1ab1549465797e25df721ca9b20e451f1e" name="node"><type>node_traits::node</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1slist_1a244354a26a09f11c2f81cf64ea273e90" name="node_ptr"><type>node_traits::node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1slist_1a997bd867d8de71cf4130025184b035ee" name="const_node_ptr"><type>node_traits::const_node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1slist_1aa1e5d1f5762b1d945bf3dda6601dd5e4" name="header_holder_type"><type><emphasis>unspecified</emphasis></type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1slist_1a15f6318bc2f3dbddbcc82038741a62a2" name="node_algorithms"><type><emphasis>unspecified</emphasis></type></typedef>
<data-member id="doxygen.classboost_1_1intrusive_1_1slist_1a69357b5c01014f3dc3f11db25070f881" name="constant_time_size" specifiers="static"><type>const bool</type></data-member>
<data-member id="doxygen.classboost_1_1intrusive_1_1slist_1a155f4067a6f86e78c37b988d8d2e56e9" name="stateful_value_traits" specifiers="static"><type>const bool</type></data-member>
<data-member id="doxygen.classboost_1_1intrusive_1_1slist_1ae94873ab23234b06c59d21147ed6a622" name="linear" specifiers="static"><type>const bool</type></data-member>
<data-member id="doxygen.classboost_1_1intrusive_1_1slist_1a02f15fca904eb9e37f151d524cc67d05" name="cache_last" specifiers="static"><type>const bool</type></data-member>
<data-member id="doxygen.classboost_1_1intrusive_1_1slist_1a655e9ab19288e1226c181f8d46b00158" name="has_container_from_iterator" specifiers="static"><type>const bool</type></data-member>
<method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1slist_1ab56e07b43b952487b6484a7c56569d80"><description><para><emphasis role="bold">Effects</emphasis>: constructs an empty list.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node constructor throws (this does not happen with predefined Boost.Intrusive hooks). </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1slist_1a3e96c342a850e748fd5420d9e5f1680b" specifiers="explicit"><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: constructs an empty list.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node constructor throws (this does not happen with predefined Boost.Intrusive hooks). </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1slist_1a5d04325ff208f7cc82d4e50b9055cb1e"><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type.</para><para><emphasis role="bold">Effects</emphasis>: Constructs a list equal to [b ,e).</para><para><emphasis role="bold">Complexity</emphasis>: Linear in distance(b, e). No copy constructors are called.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node constructor throws (this does not happen with predefined Boost.Intrusive hooks). </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1slist_1ab56f26d17734454c7f3ed58b2403df3e"><parameter name="x"><paramtype><classname>slist</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Constructs a container moving resources from another container. Internal value traits are move constructed and nodes belonging to x (except the node representing the "end") are linked to *this.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node's move constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the move constructor of value traits throws. </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1slist_1af27b7391773f0d61c4378ccd2f90ba8c"><type><classname>slist</classname> &amp;</type><parameter name="x"><paramtype><classname>slist</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Equivalent to swap </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1slist_1aefdc3e2ef167f428dc7c79ab30d5456e"><description><para><emphasis role="bold">Effects</emphasis>: If it's a safe-mode or auto-unlink value, the destructor does nothing (ie. no code is generated). Otherwise it detaches all elements from this. In this case the objects in the list are not deleted (i.e. no destructors are called), but the hooks according to the <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> template parameter are set to their default value.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements in the list, if it's a safe-mode or auto-unlink value. Otherwise constant. </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a2d420810285eea781e44568ff816704d" name="clear" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Erases all the elements of the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements of the list. if it's a safe-mode or auto-unlink value_type. Constant time otherwise.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1abe2740f8ee342a1f7dd7b07fa00544a0" name="clear_and_dispose" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements of the container Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements of the list.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased elements. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a265df50cea0bbcdcfa875cb20bd1362b" name="push_front" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue.</para><para><emphasis role="bold">Effects</emphasis>: Inserts the value in the front of the list. No copy constructors are called.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a62ac8e490cf42f56ea9c6cf409bf4de0" name="push_back" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue.</para><para><emphasis role="bold">Effects</emphasis>: Inserts the value in the back of the list. No copy constructors are called.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. This function is only available is cache_last&lt;&gt; is true. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1afc4fcf764a197785a736405634c21913" name="pop_front" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Erases the first element of the list. No destructors are called.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased element. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1ac80325f1ad912a25d82098f08a3f6c91" name="pop_front_and_dispose" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases the first element of the list. Disposer::operator()(pointer) is called for the removed element.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased element. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1af420eab0866e467c2dc0c299cd94f849" name="front" cv="noexcept"><type>reference</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reference to the first element of the list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a01330d1cc09d03883a8b85849454e68f" name="front" cv="const noexcept"><type>const_reference</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reference to the first element of the list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1abc1d2355fea75b9a6c53fdc84b790fb6" name="back" cv="noexcept"><type>reference</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reference to the last element of the list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. This function is only available is cache_last&lt;&gt; is true. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1ac322adab22d1bae5465427252142c4af" name="back" cv="const noexcept"><type>const_reference</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reference to the last element of the list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. This function is only available is cache_last&lt;&gt; is true. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a26fdac8937f2a90384f8007b4e86121f" name="begin" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element contained in the list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a360377d32183b02428c52e8ae50a8bd9" name="begin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator to the first element contained in the list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1af69bf57fd66eb6dc99751881e6405114" name="cbegin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator to the first element contained in the list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a72550c3e7a57d54aea33d961d8a5b801" name="end" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the end of the list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a329322f26666272c429cf486f7759ae8" name="end" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator to the end of the list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1ac64086e93263a8295d0c0022c06f8da4" name="cend" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator to the end of the list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a5c08c7bf16517774a77ec0a332abdaf4" name="before_begin" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator that points to a position before the first element. Equivalent to "end()"</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a5e2b2fc6ae8e638885e16e1f8a4522fe" name="before_begin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator that points to a position before the first element. Equivalent to "end()"</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1aac7aa7995f86009d1bb8ab8f8838922c" name="cbefore_begin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator that points to a position before the first element. Equivalent to "end()"</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a18ffcdf74abe8f1355402b85870e8ceb" name="last" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the last element contained in the list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Note</emphasis>: This function is present only if cached_last&lt;&gt; option is true. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a76aa6edceaf65fb6016b1e39e47b6854" name="last" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator to the last element contained in the list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Note</emphasis>: This function is present only if cached_last&lt;&gt; option is true. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1abd41a9cf4c7bd6fe1700b0adc34bdc14" name="clast" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator to the last element contained in the list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Note</emphasis>: This function is present only if cached_last&lt;&gt; option is true. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a1ba546479153337d1d7d9ea41155f658" name="size" cv="const noexcept"><type>size_type</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the number of the elements contained in the list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements contained in the list. if <link linkend="doxygen.structboost_1_1intrusive_1_1constant__time__size">constant_time_size</link> is false. Constant time otherwise.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1aa36fcc758e91594e1578d1e3ba5c2268" name="empty" cv="const noexcept"><type>bool</type><description><para><emphasis role="bold">Effects</emphasis>: Returns true if the list contains no elements.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a9fb9f158060fd0a7644c86e15e652c51" name="swap"><type>void</type><parameter name="other"><paramtype><classname>slist</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Swaps the elements of x and *this.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements of both lists. Constant-time if linear&lt;&gt; and/or cache_last&lt;&gt; options are used.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a12bfda567be362180d6eb8aee122ca3f" name="shift_backwards" cv="noexcept"><type>void</type><parameter name="n"><paramtype>size_type</paramtype><default>1</default></parameter><description><para><emphasis role="bold">Effects</emphasis>: Moves backwards all the elements, so that the first element becomes the second, the second becomes the third... the last element becomes the first one.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements plus the number shifts.</para><para><emphasis role="bold">Note</emphasis>: Iterators Does not affect the validity of iterators and references. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1aae1a28ed5a15eb861213db2b0b979257" name="shift_forward" cv="noexcept"><type>void</type><parameter name="n"><paramtype>size_type</paramtype><default>1</default></parameter><description><para><emphasis role="bold">Effects</emphasis>: Moves forward all the elements, so that the second element becomes the first, the third becomes the second... the first element becomes the last one.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements plus the number shifts.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1ab64d444ffb23a0346444c31bf4e1bbf9" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype>const <classname>slist</classname> &amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(const_reference ) and inserts them on *this.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a685bc1779e71cd54ffa7621b853efd07" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype><classname>slist</classname> &amp;&amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(reference) and inserts them on *this.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1ab8524ab6238a07b437a10c4458f72d80" name="insert_after" cv="noexcept"><type>iterator</type><parameter name="prev_p"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue and prev_p must point to an element contained by the list or to <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a72550c3e7a57d54aea33d961d8a5b801">end()</link>.</para><para><emphasis role="bold">Effects</emphasis>: Inserts the value after the position pointed by prev_p. No copy constructor is called.</para><para><emphasis role="bold">Returns</emphasis>: An iterator to the inserted element.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a94e95faf4c829150d82dd86b9a9ebb04" name="insert_after" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="prev_p"><paramtype>const_iterator</paramtype></parameter><parameter name="f"><paramtype>Iterator</paramtype></parameter><parameter name="l"><paramtype>Iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type and prev_p must point to an element contained by the list or to the end node.</para><para><emphasis role="bold">Effects</emphasis>: Inserts the [f, l) after the position prev_p.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements inserted.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a2d1c54d2bd2c95746630d8ef5e1d0545" name="insert" cv="noexcept"><type>iterator</type><parameter name="p"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue and p must point to an element contained by the list or to <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a72550c3e7a57d54aea33d961d8a5b801">end()</link>.</para><para><emphasis role="bold">Effects</emphasis>: Inserts the value before the position pointed by p. No copy constructor is called.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements before p. Constant-time if cache_last&lt;&gt; is true and p == <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a72550c3e7a57d54aea33d961d8a5b801">end()</link>.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1ab66823a5baa79406ee661a46f3c2b6d6" name="insert" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="p"><paramtype>const_iterator</paramtype></parameter><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type and p must point to an element contained by the list or to the end node.</para><para><emphasis role="bold">Effects</emphasis>: Inserts the pointed by b and e before the position p. No copy constructors are called.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements inserted plus linear to the elements before b. Linear to the number of elements to insert if cache_last&lt;&gt; option is true and p == <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a72550c3e7a57d54aea33d961d8a5b801">end()</link>.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a06ba981e4c32a47f8bbf66c42c2de668" name="erase_after" cv="noexcept"><type>iterator</type><parameter name="prev"><paramtype>const_iterator</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases the element after the element pointed by prev of the list. No destructors are called.</para><para><emphasis role="bold">Returns</emphasis>: the first element remaining beyond the removed elements, or <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a72550c3e7a57d54aea33d961d8a5b801">end()</link> if no such element exists.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased element. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a648ef4e9aae39f9e05f9d7709cd01278" name="erase_after" cv="noexcept"><type>iterator</type><parameter name="before_f"><paramtype>const_iterator</paramtype></parameter><parameter name="l"><paramtype>const_iterator</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases the range (before_f, l) from the list. No destructors are called.</para><para><emphasis role="bold">Returns</emphasis>: the first element remaining beyond the removed elements, or <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a72550c3e7a57d54aea33d961d8a5b801">end()</link> if no such element exists.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of erased elements if it's a safe-mode , auto-unlink value or constant-time size is activated. Constant time otherwise.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased element. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1aadfae2c3a358deb58e7ba6029b4f1f40" name="erase_after" cv="noexcept"><type>iterator</type><parameter name="before_f"><paramtype>const_iterator</paramtype></parameter><parameter name="l"><paramtype>const_iterator</paramtype></parameter><parameter name="n"><paramtype>size_type</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases the range (before_f, l) from the list. n must be distance(before_f, l) - 1. No destructors are called.</para><para><emphasis role="bold">Returns</emphasis>: the first element remaining beyond the removed elements, or <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a72550c3e7a57d54aea33d961d8a5b801">end()</link> if no such element exists.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: constant-time if <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is normal_link. Linear to the elements (l - before_f) otherwise.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased element. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a36a019001ead1965977d949a6cf82a37" name="erase" cv="noexcept"><type>iterator</type><parameter name="i"><paramtype>const_iterator</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases the element pointed by i of the list. No destructors are called.</para><para><emphasis role="bold">Returns</emphasis>: the first element remaining beyond the removed element, or <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a72550c3e7a57d54aea33d961d8a5b801">end()</link> if no such element exists.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the elements before i.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased element. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1aacfcc1f489d89f4e168be11cf1257fbf" name="erase" cv="noexcept"><type>iterator</type><parameter name="f"><paramtype>const_iterator</paramtype></parameter><parameter name="l"><paramtype>const_iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: f and l must be valid iterator to elements in *this.</para><para><emphasis role="bold">Effects</emphasis>: Erases the range pointed by b and e. No destructors are called.</para><para><emphasis role="bold">Returns</emphasis>: the first element remaining beyond the removed elements, or <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a72550c3e7a57d54aea33d961d8a5b801">end()</link> if no such element exists.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the elements before l.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a5624b0a4c8a0e7e0d52fda431b18eb77" name="erase" cv="noexcept"><type>iterator</type><parameter name="f"><paramtype>const_iterator</paramtype></parameter><parameter name="l"><paramtype>const_iterator</paramtype></parameter><parameter name="n"><paramtype>size_type</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases the range [f, l) from the list. n must be distance(f, l). No destructors are called.</para><para><emphasis role="bold">Returns</emphasis>: the first element remaining beyond the removed elements, or <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a72550c3e7a57d54aea33d961d8a5b801">end()</link> if no such element exists.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: linear to the elements before f if <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is normal_link and <link linkend="doxygen.structboost_1_1intrusive_1_1constant__time__size">constant_time_size</link> is activated. Linear to the elements before l otherwise.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased element. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a0c7ae5c58e9a5f3b525dd92b66e3080e" name="erase_after_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="prev"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases the element after the element pointed by prev of the list. Disposer::operator()(pointer) is called for the removed element.</para><para><emphasis role="bold">Returns</emphasis>: the first element remaining beyond the removed elements, or <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a72550c3e7a57d54aea33d961d8a5b801">end()</link> if no such element exists.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased element. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a6b8263e8ecd35ffd45166a1ae3d6aabc" name="erase_after_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="before_f"><paramtype>const_iterator</paramtype></parameter><parameter name="l"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases the range (before_f, l) from the list. Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Returns</emphasis>: the first element remaining beyond the removed elements, or <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a72550c3e7a57d54aea33d961d8a5b801">end()</link> if no such element exists.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the elements (l - before_f + 1).</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased element. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1aec21bdaa2491b08d3012017100924632" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="i"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases the element pointed by i of the list. No destructors are called. Disposer::operator()(pointer) is called for the removed element.</para><para><emphasis role="bold">Returns</emphasis>: the first element remaining beyond the removed element, or <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a72550c3e7a57d54aea33d961d8a5b801">end()</link> if no such element exists.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the elements before i.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased element. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1adacc90852991f4e315b5db79e11911a4" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="f"><paramtype>const_iterator</paramtype></parameter><parameter name="l"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: f and l must be valid iterator to elements in *this. Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases the range pointed by b and e. No destructors are called. Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Returns</emphasis>: the first element remaining beyond the removed elements, or <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a72550c3e7a57d54aea33d961d8a5b801">end()</link> if no such element exists.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of erased elements plus linear to the elements before f.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a65fa669622b4627d0127885591d387f1" name="assign"><type>void</type><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type.</para><para><emphasis role="bold">Effects</emphasis>: Clears the list and inserts the range pointed by b and e. No destructors or copy constructors are called.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements inserted plus linear to the elements contained in the list if it's a safe-mode or auto-unlink value. Linear to the number of elements inserted in the list otherwise.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a9a1eff0c7a6d46da46ab00a5b2f6772f" name="dispose_and_assign"><type>void</type><template>
          <template-type-parameter name="Iterator"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type.</para><para><emphasis role="bold">Effects</emphasis>: Clears the list and inserts the range pointed by b and e. No destructors or copy constructors are called. Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements inserted plus linear to the elements contained in the list.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a4153319dc5df5c0dc1326218813dac64" name="splice_after" cv="noexcept"><type>void</type><parameter name="prev"><paramtype>const_iterator</paramtype></parameter><parameter name="x"><paramtype><classname>slist</classname> &amp;</paramtype></parameter><parameter name="l"><paramtype>const_iterator *</paramtype><default>0</default></parameter><description><para><emphasis role="bold">Requires</emphasis>: prev must point to an element contained by this list or to the <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a5c08c7bf16517774a77ec0a332abdaf4">before_begin()</link> element</para><para><emphasis role="bold">Effects</emphasis>: Transfers all the elements of list x to this list, after the the element pointed by prev. No destructors or copy constructors are called.</para><para><emphasis role="bold">Returns</emphasis>: Nothing.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: In general, linear to the elements contained in x. Constant-time if cache_last&lt;&gt; option is true and also constant-time if linear&lt;&gt; option is true "this" is empty and "l" is not used.</para><para><emphasis role="bold">Note</emphasis>: Iterators of values obtained from list x now point to elements of this list. Iterators of this list and all the references are not invalidated.</para><para><emphasis role="bold">Additional note</emphasis>: If the optional parameter "l" is provided, it will be assigned to the last spliced element or prev if x is empty. This iterator can be used as new "prev" iterator for a new splice_after call. that will splice new values after the previously spliced values. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a21b654b4c3da97068786716424b8f5dd" name="splice_after" cv="noexcept"><type>void</type><parameter name="prev_pos"><paramtype>const_iterator</paramtype></parameter><parameter name="x"><paramtype><classname>slist</classname> &amp;</paramtype></parameter><parameter name="prev_ele"><paramtype>const_iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: prev must point to an element contained by this list or to the <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a5c08c7bf16517774a77ec0a332abdaf4">before_begin()</link> element. prev_ele must point to an element contained in list x or must be x.before_begin().</para><para><emphasis role="bold">Effects</emphasis>: Transfers the element after prev_ele, from list x to this list, after the element pointed by prev. No destructors or copy constructors are called.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Note</emphasis>: Iterators of values obtained from list x now point to elements of this list. Iterators of this list and all the references are not invalidated. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1ae0b22a503eb7b5c26be0ce89df4d207a" name="splice_after" cv="noexcept"><type>void</type><parameter name="prev_pos"><paramtype>const_iterator</paramtype></parameter><parameter name="x"><paramtype><classname>slist</classname> &amp;</paramtype></parameter><parameter name="before_f"><paramtype>const_iterator</paramtype></parameter><parameter name="before_l"><paramtype>const_iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: prev_pos must be a dereferenceable iterator in *this or be <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a5c08c7bf16517774a77ec0a332abdaf4">before_begin()</link>, and before_f and before_l belong to x and ++before_f != x.end() &amp;&amp; before_l != x.end().</para><para><emphasis role="bold">Effects</emphasis>: Transfers the range (before_f, before_l] from list x to this list, after the element pointed by prev_pos. No destructors or copy constructors are called.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements transferred if <link linkend="doxygen.structboost_1_1intrusive_1_1constant__time__size">constant_time_size</link> is true. Constant-time otherwise.</para><para><emphasis role="bold">Note</emphasis>: Iterators of values obtained from list x now point to elements of this list. Iterators of this list and all the references are not invalidated. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1adb587b73eefa6a23ba9309906079b778" name="splice_after" cv="noexcept"><type>void</type><parameter name="prev_pos"><paramtype>const_iterator</paramtype></parameter><parameter name="x"><paramtype><classname>slist</classname> &amp;</paramtype></parameter><parameter name="before_f"><paramtype>const_iterator</paramtype></parameter><parameter name="before_l"><paramtype>const_iterator</paramtype></parameter><parameter name="n"><paramtype>size_type</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: prev_pos must be a dereferenceable iterator in *this or be <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a5c08c7bf16517774a77ec0a332abdaf4">before_begin()</link>, and before_f and before_l belong to x and ++before_f != x.end() &amp;&amp; before_l != x.end() and n == distance(before_f, before_l).</para><para><emphasis role="bold">Effects</emphasis>: Transfers the range (before_f, before_l] from list x to this list, after the element pointed by p. No destructors or copy constructors are called.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Note</emphasis>: Iterators of values obtained from list x now point to elements of this list. Iterators of this list and all the references are not invalidated. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a9c05a787411c9bf43d9925cd448dcadd" name="splice" cv="noexcept"><type>void</type><parameter name="it"><paramtype>const_iterator</paramtype></parameter><parameter name="x"><paramtype><classname>slist</classname> &amp;</paramtype></parameter><parameter name="l"><paramtype>const_iterator *</paramtype><default>0</default></parameter><description><para><emphasis role="bold">Requires</emphasis>: it is an iterator to an element in *this.</para><para><emphasis role="bold">Effects</emphasis>: Transfers all the elements of list x to this list, before the the element pointed by it. No destructors or copy constructors are called.</para><para><emphasis role="bold">Returns</emphasis>: Nothing.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the elements contained in x plus linear to the elements before it. Linear to the elements before it if cache_last&lt;&gt; option is true. Constant-time if cache_last&lt;&gt; option is true and it == <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a72550c3e7a57d54aea33d961d8a5b801">end()</link>.</para><para><emphasis role="bold">Note</emphasis>: Iterators of values obtained from list x now point to elements of this list. Iterators of this list and all the references are not invalidated.</para><para><emphasis role="bold">Additional note</emphasis>: If the optional parameter "l" is provided, it will be assigned to the last spliced element or prev if x is empty. This iterator can be used as new "prev" iterator for a new splice_after call. that will splice new values after the previously spliced values. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1ad9907b8bc3b0e37553aae2e417176571" name="splice" cv="noexcept"><type>void</type><parameter name="pos"><paramtype>const_iterator</paramtype></parameter><parameter name="x"><paramtype><classname>slist</classname> &amp;</paramtype></parameter><parameter name="elem"><paramtype>const_iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: it p must be a valid iterator of *this. elem must point to an element contained in list x.</para><para><emphasis role="bold">Effects</emphasis>: Transfers the element elem, from list x to this list, before the element pointed by pos. No destructors or copy constructors are called.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the elements before pos and before elem. Linear to the elements before elem if cache_last&lt;&gt; option is true and pos == <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a72550c3e7a57d54aea33d961d8a5b801">end()</link>.</para><para><emphasis role="bold">Note</emphasis>: Iterators of values obtained from list x now point to elements of this list. Iterators of this list and all the references are not invalidated. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1aa3334c065e8b937e8be99b82bf07c2ef" name="splice" cv="noexcept"><type>void</type><parameter name="pos"><paramtype>const_iterator</paramtype></parameter><parameter name="x"><paramtype><classname>slist</classname> &amp;</paramtype></parameter><parameter name="f"><paramtype>const_iterator</paramtype></parameter><parameter name="l"><paramtype>const_iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: pos must be a dereferenceable iterator in *this and f and f belong to x and f and f a valid range on x.</para><para><emphasis role="bold">Effects</emphasis>: Transfers the range [f, l) from list x to this list, before the element pointed by pos. No destructors or copy constructors are called.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the sum of elements before pos, f, and l plus linear to the number of elements transferred if <link linkend="doxygen.structboost_1_1intrusive_1_1constant__time__size">constant_time_size</link> is true. Linear to the sum of elements before f, and l plus linear to the number of elements transferred if <link linkend="doxygen.structboost_1_1intrusive_1_1constant__time__size">constant_time_size</link> is true if cache_last&lt;&gt; is true and pos == <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a72550c3e7a57d54aea33d961d8a5b801">end()</link></para><para><emphasis role="bold">Note</emphasis>: Iterators of values obtained from list x now point to elements of this list. Iterators of this list and all the references are not invalidated. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a50e78a5de777b6e2ef631c1419a67793" name="splice" cv="noexcept"><type>void</type><parameter name="pos"><paramtype>const_iterator</paramtype></parameter><parameter name="x"><paramtype><classname>slist</classname> &amp;</paramtype></parameter><parameter name="f"><paramtype>const_iterator</paramtype></parameter><parameter name="l"><paramtype>const_iterator</paramtype></parameter><parameter name="n"><paramtype>size_type</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: pos must be a dereferenceable iterator in *this and f and l belong to x and f and l a valid range on x. n == distance(f, l).</para><para><emphasis role="bold">Effects</emphasis>: Transfers the range [f, l) from list x to this list, before the element pointed by pos. No destructors or copy constructors are called.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the sum of elements before pos, f, and l. Linear to the sum of elements before f and l if cache_last&lt;&gt; is true and pos == <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a72550c3e7a57d54aea33d961d8a5b801">end()</link>.</para><para><emphasis role="bold">Note</emphasis>: Iterators of values obtained from list x now point to elements of this list. Iterators of this list and all the references are not invalidated. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a96f4da71bc51dbc526b945f523c3d72d" name="sort"><type>void</type><template>
          <template-type-parameter name="Predicate"/>
        </template><parameter name="p"><paramtype>Predicate</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: This function sorts the list *this according to operator&lt;. The sort is stable, that is, the relative order of equivalent elements is preserved.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the predicate throws. Basic guarantee.</para><para><emphasis role="bold">Complexity</emphasis>: The number of comparisons is approximately N log N, where N is the list's size.</para><para><emphasis role="bold">Note</emphasis>: Iterators and references are not invalidated </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1afe63489b36ac791e44eb6fdfd56eff0f" name="sort"><type>void</type><description><para><emphasis role="bold">Requires</emphasis>: p must be a comparison function that induces a strict weak ordering and both *this and x must be sorted according to that ordering The lists x and *this must be distinct.</para><para><emphasis role="bold">Effects</emphasis>: This function removes all of x's elements and inserts them in order into *this. The merge is stable; that is, if an element from *this is equivalent to one from x, then the element from *this will precede the one from x.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node constructor throws (this does not happen with predefined Boost.Intrusive hooks) or operator&lt; throws. Basic guarantee.</para><para><emphasis role="bold">Complexity</emphasis>: This function is linear time: it performs at most <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a1ba546479153337d1d7d9ea41155f658">size()</link> + x.size() - 1 comparisons.</para><para><emphasis role="bold">Note</emphasis>: Iterators and references are not invalidated. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1aee6b86fd04ff2bbeaafa8521da58e361" name="merge"><type>void</type><template>
          <template-type-parameter name="Predicate"/>
        </template><parameter name="x"><paramtype><classname>slist</classname> &amp;</paramtype></parameter><parameter name="p"><paramtype>Predicate</paramtype></parameter><parameter name="l"><paramtype>const_iterator *</paramtype><default>0</default></parameter><description><para><emphasis role="bold">Requires</emphasis>: p must be a comparison function that induces a strict weak ordering and both *this and x must be sorted according to that ordering The lists x and *this must be distinct.</para><para><emphasis role="bold">Effects</emphasis>: This function removes all of x's elements and inserts them in order into *this. The merge is stable; that is, if an element from *this is equivalent to one from x, then the element from *this will precede the one from x.</para><para><emphasis role="bold">Returns</emphasis>: Nothing.</para><para><emphasis role="bold">Throws</emphasis>: If the predicate throws. Basic guarantee.</para><para><emphasis role="bold">Complexity</emphasis>: This function is linear time: it performs at most <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a1ba546479153337d1d7d9ea41155f658">size()</link> + x.size() - 1 comparisons.</para><para><emphasis role="bold">Note</emphasis>: Iterators and references are not invalidated.</para><para><emphasis role="bold">Additional note</emphasis>: If optional "l" argument is passed, it is assigned to an iterator to the last transferred value or <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a72550c3e7a57d54aea33d961d8a5b801">end()</link> is x is empty. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1ac0bc6b5c13c8aae1a542527520f32d90" name="merge"><type>void</type><parameter name="x"><paramtype><classname>slist</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: This function removes all of x's elements and inserts them in order into *this according to operator&lt;. The merge is stable; that is, if an element from *this is equivalent to one from x, then the element from *this will precede the one from x.</para><para><emphasis role="bold">Throws</emphasis>: if operator&lt; throws. Basic guarantee.</para><para><emphasis role="bold">Complexity</emphasis>: This function is linear time: it performs at most <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a1ba546479153337d1d7d9ea41155f658">size()</link> + x.size() - 1 comparisons.</para><para><emphasis role="bold">Note</emphasis>: Iterators and references are not invalidated </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1ac153c2af33f37e9a450b080e2603827a" name="reverse" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Reverses the order of elements in the list.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: This function is linear to the contained elements.</para><para><emphasis role="bold">Note</emphasis>: Iterators and references are not invalidated </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1ac777b6ed69842430df246d72ef9928b8" name="remove" cv="noexcept"><type>void</type><parameter name="value"><paramtype>const_reference</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Removes all the elements that compare equal to value. No destructors are called.</para><para><emphasis role="bold">Throws</emphasis>: If operator== throws. Basic guarantee.</para><para><emphasis role="bold">Complexity</emphasis>: Linear time. It performs exactly <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a1ba546479153337d1d7d9ea41155f658">size()</link> comparisons for equality.</para><para><emphasis role="bold">Note</emphasis>: The relative order of elements that are not removed is unchanged, and iterators to elements that are not removed remain valid. This function is linear time: it performs exactly <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a1ba546479153337d1d7d9ea41155f658">size()</link> comparisons for equality. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a1ac1eed81e132cac7a690b1b76a9ba3d" name="remove_and_dispose" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="value"><paramtype>const_reference</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Removes all the elements that compare equal to value. Disposer::operator()(pointer) is called for every removed element.</para><para><emphasis role="bold">Throws</emphasis>: If operator== throws. Basic guarantee.</para><para><emphasis role="bold">Complexity</emphasis>: Linear time. It performs exactly <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a1ba546479153337d1d7d9ea41155f658">size()</link> comparisons for equality.</para><para><emphasis role="bold">Note</emphasis>: The relative order of elements that are not removed is unchanged, and iterators to elements that are not removed remain valid. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a8a36ab9ac47aa56b1f6dca998f868f5b" name="remove_if"><type>void</type><template>
          <template-type-parameter name="Pred"/>
        </template><parameter name="pred"><paramtype>Pred</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Removes all the elements for which a specified predicate is satisfied. No destructors are called.</para><para><emphasis role="bold">Throws</emphasis>: If pred throws. Basic guarantee.</para><para><emphasis role="bold">Complexity</emphasis>: Linear time. It performs exactly <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a1ba546479153337d1d7d9ea41155f658">size()</link> calls to the predicate.</para><para><emphasis role="bold">Note</emphasis>: The relative order of elements that are not removed is unchanged, and iterators to elements that are not removed remain valid. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1ae7e06e5042ab27455911d8e62a954ffa" name="remove_and_dispose_if"><type>void</type><template>
          <template-type-parameter name="Pred"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="pred"><paramtype>Pred</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Removes all the elements for which a specified predicate is satisfied. Disposer::operator()(pointer) is called for every removed element.</para><para><emphasis role="bold">Throws</emphasis>: If pred throws. Basic guarantee.</para><para><emphasis role="bold">Complexity</emphasis>: Linear time. It performs exactly <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a1ba546479153337d1d7d9ea41155f658">size()</link> comparisons for equality.</para><para><emphasis role="bold">Note</emphasis>: The relative order of elements that are not removed is unchanged, and iterators to elements that are not removed remain valid. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1ab51e78b966f7f23430404fbe281d8c93" name="unique"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Removes adjacent duplicate elements or adjacent elements that are equal from the list. No destructors are called.</para><para><emphasis role="bold">Throws</emphasis>: If operator== throws. Basic guarantee.</para><para><emphasis role="bold">Complexity</emphasis>: Linear time (<link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a1ba546479153337d1d7d9ea41155f658">size()</link>-1) comparisons calls to pred()).</para><para><emphasis role="bold">Note</emphasis>: The relative order of elements that are not removed is unchanged, and iterators to elements that are not removed remain valid. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1ac8dd394c54881373b8783da0e14fa3d8" name="unique"><type>void</type><template>
          <template-type-parameter name="BinaryPredicate"/>
        </template><parameter name="pred"><paramtype>BinaryPredicate</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Removes adjacent duplicate elements or adjacent elements that satisfy some binary predicate from the list. No destructors are called.</para><para><emphasis role="bold">Throws</emphasis>: If the predicate throws. Basic guarantee.</para><para><emphasis role="bold">Complexity</emphasis>: Linear time (<link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a1ba546479153337d1d7d9ea41155f658">size()</link>-1) comparisons equality comparisons.</para><para><emphasis role="bold">Note</emphasis>: The relative order of elements that are not removed is unchanged, and iterators to elements that are not removed remain valid. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a28c56b3aa40cd0e667c9d8a85f32c5cc" name="unique_and_dispose"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Removes adjacent duplicate elements or adjacent elements that satisfy some binary predicate from the list. Disposer::operator()(pointer) is called for every removed element.</para><para><emphasis role="bold">Throws</emphasis>: If operator== throws. Basic guarantee.</para><para><emphasis role="bold">Complexity</emphasis>: Linear time (<link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a1ba546479153337d1d7d9ea41155f658">size()</link>-1) comparisons equality comparisons.</para><para><emphasis role="bold">Note</emphasis>: The relative order of elements that are not removed is unchanged, and iterators to elements that are not removed remain valid. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a78ca2e9bcc6a4c58e2337ffc0a38e411" name="unique_and_dispose"><type>void</type><template>
          <template-type-parameter name="BinaryPredicate"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="pred"><paramtype>BinaryPredicate</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Removes adjacent duplicate elements or adjacent elements that satisfy some binary predicate from the list. Disposer::operator()(pointer) is called for every removed element.</para><para><emphasis role="bold">Throws</emphasis>: If the predicate throws. Basic guarantee.</para><para><emphasis role="bold">Complexity</emphasis>: Linear time (<link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a1ba546479153337d1d7d9ea41155f658">size()</link>-1) comparisons equality comparisons.</para><para><emphasis role="bold">Note</emphasis>: The relative order of elements that are not removed is unchanged, and iterators to elements that are not removed remain valid. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a7104201d339e39a45c313f65bb178a08" name="iterator_to" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be a reference to a value inserted in a list.</para><para><emphasis role="bold">Effects</emphasis>: This function returns a const_iterator pointing to the element</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Note</emphasis>: Iterators and references are not invalidated. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1ae7ada4a0ad09a9fc70adcbb53bda130e" name="iterator_to" cv="const noexcept"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be a const reference to a value inserted in a list.</para><para><emphasis role="bold">Effects</emphasis>: This function returns an iterator pointing to the element.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Note</emphasis>: Iterators and references are not invalidated. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1ace8d67ff2d7e02ef114437d96d5d3135" name="previous" cv="noexcept"><type>iterator</type><parameter name="i"><paramtype>iterator</paramtype></parameter><description><para><emphasis role="bold">Returns</emphasis>: The iterator to the element before i in the list. Returns the end-iterator, if either i is the begin-iterator or the list is empty.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements before i. Constant if cache_last&lt;&gt; is true and i == <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a72550c3e7a57d54aea33d961d8a5b801">end()</link>. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a8a23afdb0146a691038a93a20531cacf" name="previous" cv="const noexcept"><type>const_iterator</type><parameter name="i"><paramtype>const_iterator</paramtype></parameter><description><para><emphasis role="bold">Returns</emphasis>: The const_iterator to the element before i in the list. Returns the end-const_iterator, if either i is the begin-const_iterator or the list is empty.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements before i. Constant if cache_last&lt;&gt; is true and i == <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a72550c3e7a57d54aea33d961d8a5b801">end()</link>. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1abff012c47ced9205b1e6239ed96550bf" name="previous" cv="noexcept"><type>iterator</type><parameter name="prev_from"><paramtype>const_iterator</paramtype></parameter><parameter name="i"><paramtype>iterator</paramtype></parameter><description><para><emphasis role="bold">Returns</emphasis>: The iterator to the element before i in the list, starting the search on element after prev_from. Returns the end-iterator, if either i is the begin-iterator or the list is empty.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements before i. Constant if cache_last&lt;&gt; is true and i == <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a72550c3e7a57d54aea33d961d8a5b801">end()</link>. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a35ab7aab279a5fd98cdf6544b7693be5" name="previous" cv="const noexcept"><type>const_iterator</type><parameter name="prev_from"><paramtype>const_iterator</paramtype></parameter><parameter name="i"><paramtype>const_iterator</paramtype></parameter><description><para><emphasis role="bold">Returns</emphasis>: The const_iterator to the element before i in the list, starting the search on element after prev_from. Returns the end-const_iterator, if either i is the begin-const_iterator or the list is empty.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements before i. Constant if cache_last&lt;&gt; is true and i == <link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a72550c3e7a57d54aea33d961d8a5b801">end()</link>. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1afeaf94eb7cc5636e4078c4848b6862b8" name="check" cv="const"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Asserts the integrity of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Linear time.</para><para><emphasis role="bold">Note</emphasis>: The method has no effect when asserts are turned off (e.g., with NDEBUG). Experimental function, interface might change in future versions. </para></description></method>
</method-group>
<method-group name="public static functions">
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a114934ff2ad6f7f080a623c981b83da5" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type><classname>slist</classname> &amp;</type><parameter name="end_iterator"><paramtype>iterator</paramtype></parameter><description><para><emphasis role="bold">Precondition</emphasis>: end_iterator must be a valid end iterator of slist.</para><para><emphasis role="bold">Effects</emphasis>: Returns a const reference to the slist associated to the end iterator</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1ad1de94c5a4e72aa9f4992887343fc42b" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type>const <classname>slist</classname> &amp;</type><parameter name="end_iterator"><paramtype>const_iterator</paramtype></parameter><description><para><emphasis role="bold">Precondition</emphasis>: end_iterator must be a valid end const_iterator of slist.</para><para><emphasis role="bold">Effects</emphasis>: Returns a const reference to the slist associated to the end iterator</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a1895fe14969456f3ab984a8183ea12a3" name="s_iterator_to" cv="noexcept" specifiers="static"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be a reference to a value inserted in a list.</para><para><emphasis role="bold">Effects</emphasis>: This function returns a const_iterator pointing to the element</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Note</emphasis>: Iterators and references are not invalidated. This static function is available only if the <emphasis>value traits</emphasis> is stateless. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a1a1b89107db54601fb96f3101c479132" name="s_iterator_to" cv="noexcept" specifiers="static"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be a const reference to a value inserted in a list.</para><para><emphasis role="bold">Effects</emphasis>: This function returns an iterator pointing to the element.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Note</emphasis>: Iterators and references are not invalidated. This static function is available only if the <emphasis>value traits</emphasis> is stateless. </para></description></method>
</method-group>
<method-group name="private member functions">
<method id="doxygen.classboost_1_1intrusive_1_1slist_1aca0c2ca0c9d79c97d360260c8405a3b1" name="priv_splice_after"><type>void</type><parameter name="prev_pos_n"><paramtype>node_ptr</paramtype></parameter><parameter name="x"><paramtype><classname>slist</classname> &amp;</paramtype></parameter><parameter name="before_f_n"><paramtype>node_ptr</paramtype></parameter><parameter name="before_l_n"><paramtype>node_ptr</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1ab65e7ced86832f10faf73c4b2dc6e52c" name="priv_incorporate_after"><type>void</type><parameter name="prev_pos_n"><paramtype>node_ptr</paramtype></parameter><parameter name="first_n"><paramtype>node_ptr</paramtype></parameter><parameter name="before_l_n"><paramtype>node_ptr</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a6a418599e1974f81ffc7db7cb8d76896" name="priv_reverse"><type>void</type><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a04056cb1619316b33ed322ec3ce70a28" name="priv_reverse"><type>void</type><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1af32a76f12c6b0149d01dc114593bcb94" name="priv_shift_backwards"><type>void</type><parameter name="n"><paramtype>size_type</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a7df0b8688d9107844f4f2d0ef93cb63a" name="priv_shift_backwards"><type>void</type><parameter name="n"><paramtype>size_type</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a5a608040c446334853fd6270660dc118" name="priv_shift_forward"><type>void</type><parameter name="n"><paramtype>size_type</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a0f28bdb7ab4a21f86f30ac71353f97eb" name="priv_shift_forward"><type>void</type><parameter name="n"><paramtype>size_type</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
</method-group>
<method-group name="private static functions">
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a2b45ee77d7c600f86de43c298836dadb" name="priv_swap_cache_last" specifiers="static"><type>void</type><parameter name="this_impl"><paramtype><classname>slist</classname> *</paramtype></parameter><parameter name="other_impl"><paramtype><classname>slist</classname> *</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1ad6c6944cab6ff7d7dedbb0bad4ee5f0a" name="priv_swap_lists" specifiers="static"><type>void</type><parameter name="this_node"><paramtype>node_ptr</paramtype></parameter><parameter name="other_node"><paramtype>node_ptr</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1a733a8fc37c974ab0106cd0b24beb6cff" name="priv_swap_lists" specifiers="static"><type>void</type><parameter name="this_node"><paramtype>node_ptr</paramtype></parameter><parameter name="other_node"><paramtype>node_ptr</paramtype></parameter><parameter name=""><paramtype><emphasis>unspecified</emphasis></paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist_1af28aa380d57aed81774fd31447fc8afe" name="priv_container_from_end_iterator" specifiers="static"><type><classname>slist</classname> &amp;</type><parameter name="end_iterator"><paramtype>const const_iterator &amp;</paramtype></parameter></method>
</method-group>
</class>



























































</namespace>
</namespace>
</header>
<header id="doxygen.slist__hook_8hpp" name="boost/intrusive/slist_hook.hpp">
<namespace name="boost">
<namespace name="intrusive">
<struct id="doxygen.structboost_1_1intrusive_1_1make__slist__base__hook" name="make_slist_base_hook"><template>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define a <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1slist__base__hook">slist_base_hook</link></computeroutput> that yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__slist__base__hook_1a6fa65ad016a25fdc36e29b56b12b2aa6" name="type"><type>implementation_defined</type></typedef>
</struct><struct id="doxygen.structboost_1_1intrusive_1_1make__slist__member__hook" name="make_slist_member_hook"><template>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define a <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1slist__member__hook">slist_member_hook</link></computeroutput> that yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__slist__member__hook_1a8561241494d34f3972c61f47c428abd4" name="type"><type>implementation_defined</type></typedef>
</struct><class id="doxygen.classboost_1_1intrusive_1_1slist__base__hook" name="slist_base_hook"><template>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><inherit access="public">make_slist_base_hook::type</inherit><description><para>Derive a class from <link linkend="doxygen.classboost_1_1intrusive_1_1slist__base__hook">slist_base_hook</link> in order to store objects in in an list. <link linkend="doxygen.classboost_1_1intrusive_1_1slist__base__hook">slist_base_hook</link> holds the data necessary to maintain the list and provides an appropriate <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> class for list.</para><para>The hook admits the following options: <computeroutput>tag&lt;&gt;</computeroutput>, <computeroutput>void_pointer&lt;&gt;</computeroutput> and <computeroutput>link_mode&lt;&gt;</computeroutput>.</para><para><computeroutput>tag&lt;&gt;</computeroutput> defines a tag to identify the node. The same tag value can be used in different classes, but if a class is derived from more than one <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1list__base__hook">list_base_hook</link></computeroutput>, then each <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1list__base__hook">list_base_hook</link></computeroutput> needs its unique tag.</para><para><computeroutput>link_mode&lt;&gt;</computeroutput> will specify the linking mode of the hook (<computeroutput>normal_link</computeroutput>, <computeroutput>auto_unlink</computeroutput> or <computeroutput>safe_link</computeroutput>).</para><para><computeroutput>void_pointer&lt;&gt;</computeroutput> is the pointer type that will be used internally in the hook and the container configured to use this hook. </para></description><method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1slist__base__hook_1af441a6f98c6546e37dff007db0458c2c" cv="noexcept"><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput> or <computeroutput>safe_link</computeroutput> initializes the node to an unlinked state.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1slist__base__hook_1a808e25c2aba23cbc63bdd4684ae2dbed" cv="noexcept"><parameter name=""><paramtype>const <classname>slist_base_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput> or <computeroutput>safe_link</computeroutput> initializes the node to an unlinked state. The argument is ignored.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Rationale</emphasis>: Providing a copy-constructor makes classes using the hook STL-compliant without forcing the user to do some additional work. <computeroutput>swap</computeroutput> can be used to emulate move-semantics. </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1slist__base__hook_1a55edd92a0989553a9fc617b2b0e75168" cv="noexcept"><type><classname>slist_base_hook</classname> &amp;</type><parameter name=""><paramtype>const <classname>slist_base_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Empty function. The argument is ignored.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Rationale</emphasis>: Providing an assignment operator makes classes using the hook STL-compliant without forcing the user to do some additional work. <computeroutput>swap</computeroutput> can be used to emulate move-semantics. </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1slist__base__hook_1a45b52fcd95e825453d0010388312f202"><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>normal_link</computeroutput>, the destructor does nothing (ie. no code is generated). If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>safe_link</computeroutput> and the object is stored in an slist an assertion is raised. If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput> and <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1slist__base__hook_1a8f27656c0d85ccb78b85195b36daba9c">is_linked()</link></computeroutput> is true, the node is unlinked.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1slist__base__hook_1a8d0bf54b35e0fa1ee25a4e5c6898c88a" name="swap_nodes" cv="noexcept"><type>void</type><parameter name="other"><paramtype><classname>slist_base_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Swapping two nodes swaps the position of the elements related to those nodes in one or two containers. That is, if the node this is part of the element e1, the node x is part of the element e2 and both elements are included in the containers s1 and s2, then after the swap-operation e1 is in s2 at the position of e2 and e2 is in s1 at the position of e1. If one element is not in a container, then after the swap-operation the other element is not in a container. Iterators to e1 and e2 related to those nodes are invalidated.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist__base__hook_1a8f27656c0d85ccb78b85195b36daba9c" name="is_linked" cv="const noexcept"><type>bool</type><description><para><emphasis role="bold">Precondition</emphasis>: <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> must be <computeroutput>safe_link</computeroutput> or <computeroutput>auto_unlink</computeroutput>.</para><para><emphasis role="bold">Returns</emphasis>: true, if the node belongs to a container, false otherwise. This function can be used to test whether <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a7104201d339e39a45c313f65bb178a08">slist::iterator_to</link></computeroutput> will return a valid iterator.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Constant </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist__base__hook_1a89d139002fcda8de30186e455520935b" name="unlink" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Removes the node if it's inserted in a container. This function is only allowed if <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput>.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
</method-group>
</class><class id="doxygen.classboost_1_1intrusive_1_1slist__member__hook" name="slist_member_hook"><template>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><inherit access="public">make_slist_member_hook::type</inherit><description><para>Put a public data member <link linkend="doxygen.classboost_1_1intrusive_1_1slist__member__hook">slist_member_hook</link> in order to store objects of this class in an list. <link linkend="doxygen.classboost_1_1intrusive_1_1slist__member__hook">slist_member_hook</link> holds the data necessary for maintaining the list and provides an appropriate <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> class for list.</para><para>The hook admits the following options: <computeroutput>void_pointer&lt;&gt;</computeroutput> and <computeroutput>link_mode&lt;&gt;</computeroutput>.</para><para><computeroutput>link_mode&lt;&gt;</computeroutput> will specify the linking mode of the hook (<computeroutput>normal_link</computeroutput>, <computeroutput>auto_unlink</computeroutput> or <computeroutput>safe_link</computeroutput>).</para><para><computeroutput>void_pointer&lt;&gt;</computeroutput> is the pointer type that will be used internally in the hook and the container configured to use this hook. </para></description><method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1slist__member__hook_1a45465d871cffd7a6df6add31f3187b95"><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput> or <computeroutput>safe_link</computeroutput> initializes the node to an unlinked state.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1slist__member__hook_1ad92fc6b60d9e6244573c5c0410d274e5"><parameter name=""><paramtype>const <classname>slist_member_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput> or <computeroutput>safe_link</computeroutput> initializes the node to an unlinked state. The argument is ignored.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Rationale</emphasis>: Providing a copy-constructor makes classes using the hook STL-compliant without forcing the user to do some additional work. <computeroutput>swap</computeroutput> can be used to emulate move-semantics. </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1slist__member__hook_1a28348369adc316a8f43652b50bafe10f"><type><classname>slist_member_hook</classname> &amp;</type><parameter name=""><paramtype>const <classname>slist_member_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Empty function. The argument is ignored.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Rationale</emphasis>: Providing an assignment operator makes classes using the hook STL-compliant without forcing the user to do some additional work. <computeroutput>swap</computeroutput> can be used to emulate move-semantics. </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1slist__member__hook_1ad561c505520d52759b2ea47e45ea743e"><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>normal_link</computeroutput>, the destructor does nothing (ie. no code is generated). If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>safe_link</computeroutput> and the object is stored in an slist an assertion is raised. If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput> and <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1slist__member__hook_1aabc230c6ae98b3d4d0e9de503761ecd9">is_linked()</link></computeroutput> is true, the node is unlinked.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1slist__member__hook_1a982a1a669f14619813b55931a13a68cc" name="swap_nodes"><type>void</type><parameter name="other"><paramtype><classname>slist_member_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Swapping two nodes swaps the position of the elements related to those nodes in one or two containers. That is, if the node this is part of the element e1, the node x is part of the element e2 and both elements are included in the containers s1 and s2, then after the swap-operation e1 is in s2 at the position of e2 and e2 is in s1 at the position of e1. If one element is not in a container, then after the swap-operation the other element is not in a container. Iterators to e1 and e2 related to those nodes are invalidated.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist__member__hook_1aabc230c6ae98b3d4d0e9de503761ecd9" name="is_linked" cv="const"><type>bool</type><description><para><emphasis role="bold">Precondition</emphasis>: <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> must be <computeroutput>safe_link</computeroutput> or <computeroutput>auto_unlink</computeroutput>.</para><para><emphasis role="bold">Returns</emphasis>: true, if the node belongs to a container, false otherwise. This function can be used to test whether <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1slist_1a7104201d339e39a45c313f65bb178a08">slist::iterator_to</link></computeroutput> will return a valid iterator.</para><para><emphasis role="bold">Note</emphasis>: If this member is called when the value is inserted in a slist with the option linear&lt;true&gt;, this function will return "false" for the last element, as it is not linked to anything (the next element is null), so use with care.</para><para><emphasis role="bold">Complexity</emphasis>: Constant </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1slist__member__hook_1a5acbc534f33af46f25b507539006901c" name="unlink"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Removes the node if it's inserted in a container. This function is only allowed if <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput>.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
</method-group>
</class>



























































</namespace>
</namespace>
</header>
<header id="doxygen.splay__set_8hpp" name="boost/intrusive/splay_set.hpp">
<namespace name="boost">
<namespace name="intrusive">
<struct id="doxygen.structboost_1_1intrusive_1_1make__splay__multiset" name="make_splay_multiset"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define a <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1splay__multiset">splay_multiset</link></computeroutput> that yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__splay__multiset_1aef0c99e38e01fcc775f778155af09fc5" name="type"><type>implementation_defined</type></typedef>
</struct><struct id="doxygen.structboost_1_1intrusive_1_1make__splay__set" name="make_splay_set"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define a <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1splay__set">splay_set</link></computeroutput> that yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__splay__set_1a584e2b65c96d242d031b7a4dd6d49e3c" name="type"><type>implementation_defined</type></typedef>
</struct><class id="doxygen.classboost_1_1intrusive_1_1splay__multiset" name="splay_multiset"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>The class template <link linkend="doxygen.classboost_1_1intrusive_1_1splay__multiset">splay_multiset</link> is an intrusive container, that mimics most of the interface of std::multiset as described in the C++ standard.</para><para>The template parameter <computeroutput>T</computeroutput> is the type to be managed by the container. The user can specify additional options and if no options are provided default options are used.</para><para>The container supports the following options: <computeroutput>base_hook&lt;&gt;/member_hook&lt;&gt;/value_traits&lt;&gt;</computeroutput>, <computeroutput>constant_time_size&lt;&gt;</computeroutput>, <computeroutput>size_type&lt;&gt;</computeroutput> and <computeroutput>compare&lt;&gt;</computeroutput>. </para></description><typedef id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a5ffc059430e97a798fb47426ce733f7d" name="value_type"><type>implementation_defined::value_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a7f64456b6e8435af65124d3079ed7627" name="key_type"><type>implementation_defined::key_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1afa84a1a32a2c56f28ef8d9d7014c893f" name="key_of_value"><type>implementation_defined::key_of_value</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1ae9057f602a63d8e2499ab459f5855c13" name="value_traits"><type>implementation_defined::value_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a826cd0575f03beea38803778c997a568" name="pointer"><type>implementation_defined::pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1ae4f9bf7c1b69c4433ca556216275bc3b" name="const_pointer"><type>implementation_defined::const_pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a80a2142a908917fc08d8c203fc43a90f" name="reference"><type>implementation_defined::reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a6a1bc4037b82ce1297ece1b96818843d" name="const_reference"><type>implementation_defined::const_reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a63af4126c34643360a6437e1d979e0b7" name="difference_type"><type>implementation_defined::difference_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1ad507fc5cba4653b7f528eb43fedffbc5" name="size_type"><type>implementation_defined::size_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a1f58a77e988b310449a91dc8ecd6f2ef" name="value_compare"><type>implementation_defined::value_compare</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1ac9e497f853c1ea200e4d4ea30ad24b7a" name="key_compare"><type>implementation_defined::key_compare</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1ac4c5b16eb6a5452b9445389afe1584ef" name="iterator"><type>implementation_defined::iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1af91463a76b50686f8fb7042f005f6c10" name="const_iterator"><type>implementation_defined::const_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a1eaff9c8542cc794ed0093a609190297" name="reverse_iterator"><type>implementation_defined::reverse_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1aff6d458ed1a2a4f750f37cdfe5edc59d" name="const_reverse_iterator"><type>implementation_defined::const_reverse_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a8b631e906ba3df14d938b7445a5f478a" name="insert_commit_data"><type>implementation_defined::insert_commit_data</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1af602615cb4e2834282c93ce75380a01c" name="node_traits"><type>implementation_defined::node_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1ab94ff3e7b42ea8aae110a94e6640de4b" name="node"><type>implementation_defined::node</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1abcac7246572f09dfe01a00884194ae37" name="node_ptr"><type>implementation_defined::node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a90ff9411210acc02f7639a8f2b8db470" name="const_node_ptr"><type>implementation_defined::const_node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a1723afa7000496587db3cc60557df8cf" name="node_algorithms"><type>implementation_defined::node_algorithms</type></typedef>
<data-member id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a6b38ed00d4dde701eb9e0279f7ba8b65" name="constant_time_size" specifiers="static"><type>const bool</type></data-member>
<method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1af5a68c15113ae6a1d3674806e61096c9"><description><para><emphasis role="bold">Effects</emphasis>: Constructs an empty container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the copy constructor of the key_compare object throws. Basic guarantee.    </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a73c5041c6987522eeb2558b5c30269a5" specifiers="explicit"><parameter name="cmp"><paramtype>const key_compare &amp;</paramtype></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a979abcf26d8cccde1f371d87fd1c148e"><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><parameter name="cmp"><paramtype>const key_compare &amp;</paramtype><default>key_compare()</default></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a1e30d3519cfc6c9f18bba8c4243dadf0"><parameter name="x"><paramtype><classname>splay_multiset</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Constructs a container moving resources from another container. Internal comparison object and value traits are move constructed and nodes belonging to x (except the node representing the "end") are linked to *this.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node's move constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the move constructor of the comparison objet throws.    </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a49c90c468739d00fdfcbbe1595c438a0"><type><classname>splay_multiset</classname> &amp;</type><parameter name="x"><paramtype><classname>splay_multiset</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Equivalent to swap   </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1aba816aa376e0a73407a95191405eb6b0"><description><para><emphasis role="bold">Effects</emphasis>: Detaches all elements from this. The objects in the set are not deleted (i.e. no destructors are called), but the nodes according to the <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> template parameter are reinitialized and thus can be reused.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1afbc1e3ffd67cad34eeac07fc282c80b1" name="begin" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a509f53ac8673a078a8cfc7182d149fed" name="begin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a99e8497fb6a3d57080f5175629dd0359" name="cbegin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a3fbb0ba4914015aa21ab870f0a105a53" name="end" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a618fcf21348939baa2354b93b6236f5a" name="end" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a7d15a02052107677bc94363d28ea3c6a" name="cend" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a357257f0ff27553e4c820622807efafb" name="rbegin" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a76f477abfbd94bb305326dde8889ae5d" name="rbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1ab4c05aa3668b167eb106007495dcc3f0" name="crbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a78bd8ed401f36401ced506be08b2d1e7" name="rend" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a8f49a249d5fc4cce71424f55e8411846" name="rend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1aa26e615ff75691e74035e81fb77f20e3" name="crend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a2c0078673c07b4be0a7d0afad76a405d" name="root" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a3fbb0ba4914015aa21ab870f0a105a53">end()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1aca286c4fdf93ce0fec143318d813bc1e" name="root" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a7d15a02052107677bc94363d28ea3c6a">cend()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a45d429ca3021345e94f2774886c0ce67" name="croot" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a7d15a02052107677bc94363d28ea3c6a">cend()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1ab6f0b49aefd8ec345dc04de7b4962c59" name="key_comp" cv="const"><type>key_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the key_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If key_compare copy-constructor throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a18d0c043d6649a6410fa6c82086d5f57" name="value_comp" cv="const"><type>value_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the value_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_compare copy-constructor throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a3f64b3c9fb162e9efc4846efa7fd0460" name="empty" cv="const noexcept"><type>bool</type><description><para><emphasis role="bold">Effects</emphasis>: Returns true if the container is empty.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a803e1f2ec6c4fe8bee1cdd663da75828" name="size" cv="const noexcept"><type>size_type</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the number of elements stored in the container.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this if constant-time size option is disabled. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a6caaadd200a6f00e9ff7dc00557df9d4" name="swap"><type>void</type><parameter name="other"><paramtype><classname>splay_multiset</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Swaps the contents of two containers.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor's swap call throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1afdccc2f78a790644cd7b8c37946f32a1" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype>const <classname>splay_multiset</classname> &amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(const_reference ) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee.   Additional notes: it also copies the alpha factor from the source container.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a5ac35413de4cb2b7218d9ac33af087fa" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype><classname>splay_multiset</classname> &amp;&amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(reference) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee.</para><para><emphasis role="bold">Note</emphasis>: This version can modify the source container, useful to implement move semantics.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a974e041250ca6c677cb1922a57301391" name="insert"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a797a9e44c2729b475af598a521f69b00" name="insert"><type>iterator</type><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a287048c206d26f7e093c423699d0b7eb" name="insert"><type>void</type><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type.</para><para><emphasis role="bold">Effects</emphasis>: Inserts a each element of a range into the container before the upper bound of the key of each element.</para><para><emphasis role="bold">Complexity</emphasis>: Insert range is in general O(N * log(N)), where N is the size of the range. However, it is linear in N if the range is already sorted by <link linkend="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a18d0c043d6649a6410fa6c82086d5f57">value_comp()</link>.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor call throws.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1abd5da013462d73c2a7d486b03f48c9f4" name="insert_before" cv="noexcept"><type>iterator</type><parameter name="pos"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, "pos" must be a valid iterator (or end) and must be the succesor of value once inserted according to the predicate</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container before "pos".</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if "pos" is not the successor of "value" container ordering invariant will be broken. This is a low-level function to be used only for performance reasons by advanced users.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a4f964a6bdb97f826c35d896711279449" name="push_back" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and it must be no less than the greatest inserted key</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container in the last position.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if value is less than the greatest inserted key container ordering invariant will be broken. This function is slightly more efficient than using "insert_before". This is a low-level function to be used only for performance reasons by advanced users.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1ac28d79f92319dd9d31f552c71d8b2c1a" name="push_front" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and it must be no greater than the minimum inserted key</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container in the first position.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if value is greater than the minimum inserted key container ordering invariant will be broken. This function is slightly more efficient than using "insert_before". This is a low-level function to be used only for performance reasons by advanced users.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a810f396ac156843f3dfa2eb75938548b" name="erase" cv="noexcept"><type>iterator</type><parameter name="i"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a2290d9b99c2321cafb5eef2ee8ba976f" name="erase" cv="noexcept"><type>iterator</type><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1afb51ee50e26f9f6e43d6c3535830c984" name="erase"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a43c57b08bfae057d46e1540b556a67d9" name="erase"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "comp".</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a803e1f2ec6c4fe8bee1cdd663da75828">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a8bed07dc1d2954d8aebb42e0b9f4b6d4" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="i"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a30579093141835a63d06605b2b944147" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1af1675888e6de9430431b2bd322e0c843" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1aa72b74dff95e4ee7a505408d8741dae1" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk) and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "comp". Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a803e1f2ec6c4fe8bee1cdd663da75828">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased elements.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1adf7653d5ac196ec7b2d988141761bb32" name="clear" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements on the container. if it's a safe-mode or auto-unlink value_type. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a3084666ed4ecc992f12771344c5063bb" name="clear_and_dispose" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements calling disposer(p) for each node to be erased. <emphasis role="bold">Complexity</emphasis>: Average complexity for is at most O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a803e1f2ec6c4fe8bee1cdd663da75828">size()</link> + N)), where N is the number of elements in the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. Calls N times to disposer functor.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a6125a599ba60101decb45ec2180ffc9f" name="count"><type>size_type</type><parameter name=""><paramtype>const key_type &amp;</paramtype></parameter><description><para>Additional note: non-const function, splaying is performed.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a6309905896596ec664178007728371aa" name="count"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of contained elements with the given key</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic to the number of elements contained plus lineal to number of objects with the given key.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   Additional note: const function, no splaying is performed   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a40c6ffc3018de3a3ab5879087e7d67a6" name="lower_bound"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para>Additional note: non-const function, splaying is performed.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a63e0601817403723db3ebae6773f7b85" name="lower_bound"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para>Additional note: non-const function, splaying is performed for the first element of the equal range of "key"   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1ac58d259235ff15d7d9062efcde29cba8" name="lower_bound" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para>Additional note: const function, no splaying is performed   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a059a8e1ac1c671922d7dbf3619c428e1" name="lower_bound" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para>Additional note: const function, no splaying is performed   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1afdc4727b30b44d030cb72d2bfd238238" name="upper_bound"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para>Additional note: non-const function, splaying is performed for the first element of the equal range of "value"   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1abe23dd7aa3706ce28143ef958be0b0ad" name="upper_bound"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k according to comp or <link linkend="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a3fbb0ba4914015aa21ab870f0a105a53">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   Additional note: non-const function, splaying is performed for the first element of the equal range of "key"   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1aa9dd5131786d78f8a376cf27b206e35a" name="upper_bound" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para>Additional note: const function, no splaying is performed   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a671405e5a553b9269ce8879b6d84b8d5" name="upper_bound" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k according to comp or <link linkend="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a3fbb0ba4914015aa21ab870f0a105a53">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    Additional note: const function, no splaying is performed   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a6400bb9f1397239def7144b600cb7ebb" name="find"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para>Additional note: non-const function, splaying is performed for the first element of the equal range of "value"   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a8610733704964afb02fa5e18dff773ba" name="find"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a3fbb0ba4914015aa21ab870f0a105a53">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   Additional note: non-const function, splaying is performed for the first element of the equal range of "key"   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1ad53cc5b49721f6dadd849ea662d51378" name="find" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para>Additional note: const function, no splaying is performed   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a1f0c4546210b8511f571ec5998b050cc" name="find" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a3fbb0ba4914015aa21ab870f0a105a53">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    Additional note: const function, no splaying is performed   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1abba9956f17e984c8a31d5260b7f66040" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para>Additional note: non-const function, splaying is performed for the first element of the equal range of "value"   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a08db78fda42ac54223efbee95952e205" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   Additional note: non-const function, splaying is performed for the first element of the equal range of "key"   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a5389eb5fec6f84305bef17507fb6bcea" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para>Additional note: const function, no splaying is performed   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1ac93b6ae568b0c341bcc6512ca73efd5b" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    Additional note: const function, no splaying is performed   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a29237d4cdcb779a082f419d12d24ba2f" name="bounded_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="lower_value"><paramtype>const_reference</paramtype></parameter><parameter name="upper_value"><paramtype>const_reference</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a28425057654810584e0b42c14eac741a" name="bounded_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>lower_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, lower_key) if left_closed is true, with respect to !comp(lower_key, nk) otherwise.</para><para><computeroutput>upper_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(upper_key, nk) if right_closed is true, with respect to comp(nk, upper_key) otherwise.</para><para><computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to comp [comp(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!comp(upper_key, lower_key) &amp;&amp; !comp(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise</para><para>second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1aac1c9b71264daed88552b23f6609d2d9" name="bounded_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="lower_value"><paramtype>const_reference</paramtype></parameter><parameter name="upper_value"><paramtype>const_reference</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a3340e520ae85cf78bb3e167cfabe8ea9" name="bounded_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>lower_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, lower_key) if left_closed is true, with respect to !comp(lower_key, nk) otherwise.</para><para><computeroutput>upper_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(upper_key, nk) if right_closed is true, with respect to comp(nk, upper_key) otherwise.</para><para><computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to comp [comp(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!comp(upper_key, lower_key) &amp;&amp; !comp(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise</para><para>second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases.     </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a47a02bbd886ea86ee23da41dcf2f0143" name="iterator_to" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1afd134840c588713f4389b9c219eaa1b2" name="iterator_to" cv="const noexcept"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a2ca5f991a98a056e9580cf7c1f6d1bfe" name="unlink_leftmost_without_rebalance" cv="noexcept"><type>pointer</type><description><para><emphasis role="bold">Effects</emphasis>: Unlinks the leftmost node from the container.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function breaks the container and the container can only be used for more unlink_leftmost_without_rebalance calls. This function is normally used to achieve a step by step controlled destruction of the container.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1ac781788627c549b440ca73f4b8eef530" name="replace_node" cv="noexcept"><type>void</type><parameter name="replace_this"><paramtype>iterator</paramtype></parameter><parameter name="with_this"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: replace_this must be a valid iterator of *this and with_this must not be inserted in any container.</para><para><emphasis role="bold">Effects</emphasis>: Replaces replace_this in its position in the container with with_this. The container does not need to be rebalanced.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if with_this is not equivalent to *replace_this according to the ordering rules. This function is faster than erasing and inserting the node, since no rebalancing or comparison is needed.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1af95df290efedc7717b32c3883cc763ef" name="remove_node" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: removes "value" from the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic time.</para><para><emphasis role="bold">Note</emphasis>: This static function is only usable with non-constant time size containers that have stateless comparison functors.</para><para>If the user calls this function with a constant time size container or stateful comparison functor a compilation error will be issued.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a97c5d9b1431b243ebcccbb8f250ece6e" name="splay_up" cv="noexcept"><type>void</type><parameter name="i"><paramtype>iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: i must be a valid iterator of *this.</para><para><emphasis role="bold">Effects</emphasis>: Rearranges the container so that the element pointed by i is placed as the root of the tree, improving future searches of this value.</para><para><emphasis role="bold">Complexity</emphasis>: Amortized logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1aeb1438f942711395d2d3f6be48c0ce5d" name="splay_down"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Rearranges the container so that if *this stores an element with a key equivalent to value the element is placed as the root of the tree. If the element is not present returns the last node compared with the key. If the tree is empty, <link linkend="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a3fbb0ba4914015aa21ab870f0a105a53">end()</link> is returned.</para><para><emphasis role="bold">Complexity</emphasis>: Amortized logarithmic.</para><para><emphasis role="bold">Returns</emphasis>: An iterator to the new root of the tree, <link linkend="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a3fbb0ba4914015aa21ab870f0a105a53">end()</link> if the tree is empty.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1ae597e7aec3c8bd321bdd78b394002a2d" name="splay_down"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Rearranges the container so that if *this stores an element with a key equivalent to value the element is placed as the root of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Amortized logarithmic.</para><para><emphasis role="bold">Returns</emphasis>: An iterator to the new root of the tree, <link linkend="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a3fbb0ba4914015aa21ab870f0a105a53">end()</link> if the tree is empty.</para><para><emphasis role="bold">Throws</emphasis>: If the predicate throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1ac1628feb1829160a38aae68e1763385d" name="rebalance" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Rebalances the tree.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a6542328cbe627c0f108ffaabd9ddbeea" name="rebalance_subtree" cv="noexcept"><type>iterator</type><parameter name="root"><paramtype>iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: old_root is a node of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Rebalances the subtree rooted at old_root.</para><para><emphasis role="bold">Returns</emphasis>: The new root of the subtree.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the elements in the subtree.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a781ab96248ece204e330c8f271191f92" name="merge"><type>void</type><template>
          <template-nontype-parameter name="Options2"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="source"><paramtype><classname>splay_multiset</classname>&lt; T, Options2... &gt; &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a6b28cd8b4f0dced7419b13939d7caff5" name="merge"><type>void</type><template>
          <template-nontype-parameter name="Options2"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="source"><paramtype><classname>splay_set</classname>&lt; T, Options2... &gt; &amp;</paramtype></parameter></method>
</method-group>
<method-group name="public static functions">
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a216d413558d81c0bc85394bee1a51d64" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type><classname>splay_multiset</classname> &amp;</type><parameter name="end_iterator"><paramtype>iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1ad898b3a0949ad75f764f19b6c2bf1e36" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type>const <classname>splay_multiset</classname> &amp;</type><parameter name="end_iterator"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a0700535bed80cf7185d1f7ca7a7b4bd3" name="container_from_iterator" cv="noexcept" specifiers="static"><type><classname>splay_multiset</classname> &amp;</type><parameter name="it"><paramtype>iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1afd2b010a60204eb25a775f36d63e8293" name="container_from_iterator" cv="noexcept" specifiers="static"><type>const <classname>splay_multiset</classname> &amp;</type><parameter name="it"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a2c64b427eef1e947cbcbcc4a7a17d406" name="s_iterator_to" cv="noexcept" specifiers="static"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a14a06c71495d361a25cd541bc0c73745" name="s_iterator_to" cv="noexcept" specifiers="static"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__multiset_1a37c7aac9f2c436d83482b87d4503260e" name="init_node" cv="noexcept" specifiers="static"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
</method-group>
</class><class id="doxygen.classboost_1_1intrusive_1_1splay__set" name="splay_set"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>The class template <link linkend="doxygen.classboost_1_1intrusive_1_1splay__set">splay_set</link> is an intrusive container, that mimics most of the interface of std::set as described in the C++ standard.</para><para>The template parameter <computeroutput>T</computeroutput> is the type to be managed by the container. The user can specify additional options and if no options are provided default options are used.</para><para>The container supports the following options: <computeroutput>base_hook&lt;&gt;/member_hook&lt;&gt;/value_traits&lt;&gt;</computeroutput>, <computeroutput>constant_time_size&lt;&gt;</computeroutput>, <computeroutput>size_type&lt;&gt;</computeroutput> and <computeroutput>compare&lt;&gt;</computeroutput>. </para></description><typedef id="doxygen.classboost_1_1intrusive_1_1splay__set_1a8ee8d3accd1d2d0dad2971ea69500802" name="value_type"><type>implementation_defined::value_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__set_1a31786c360aa50c469c8c1d430950a093" name="key_type"><type>implementation_defined::key_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__set_1ad317c553abcf884c16a7042d071caf7b" name="key_of_value"><type>implementation_defined::key_of_value</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__set_1a40276e5bfda1aedfd2c61084d0104589" name="value_traits"><type>implementation_defined::value_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__set_1a8ea100300f4a4b488bdf1e154cf28a96" name="pointer"><type>implementation_defined::pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__set_1a7d6e0f24468dc026ad6dc47586dea6b3" name="const_pointer"><type>implementation_defined::const_pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__set_1aa62ae2e0c045a0202b42bdc0121ce422" name="reference"><type>implementation_defined::reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__set_1a848d8b176bb1a582a3585304d92ac397" name="const_reference"><type>implementation_defined::const_reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__set_1a4e0211005a5eab10b6191a84f91c32ec" name="difference_type"><type>implementation_defined::difference_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__set_1a3e1ad743def78839ae39dbd6ffb61a31" name="size_type"><type>implementation_defined::size_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__set_1ab3bd024af48c041b3c639377916a859c" name="value_compare"><type>implementation_defined::value_compare</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__set_1acfc7ef10abc7c594f33ac35ae446ef29" name="key_compare"><type>implementation_defined::key_compare</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__set_1a096ce989992c0ee87e4c7ddddb9548a4" name="iterator"><type>implementation_defined::iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__set_1a092c836201cedab551039b4a5ac6ded9" name="const_iterator"><type>implementation_defined::const_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__set_1a989098e8770d30adc0bc9b0b8c0f1699" name="reverse_iterator"><type>implementation_defined::reverse_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__set_1a7a82d3c6946e5c481bf523830501e64d" name="const_reverse_iterator"><type>implementation_defined::const_reverse_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__set_1a77e5c2c814793400fa6197258cde342d" name="insert_commit_data"><type>implementation_defined::insert_commit_data</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__set_1ae81537c4938b728becccf23187756d11" name="node_traits"><type>implementation_defined::node_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__set_1ae13383cdddd508e0bba32ffe6992cd38" name="node"><type>implementation_defined::node</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__set_1a569d617dc1f0696c62644b365b68b98e" name="node_ptr"><type>implementation_defined::node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__set_1aabcf3e3c8f07f6177bbd06ccbf54f397" name="const_node_ptr"><type>implementation_defined::const_node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splay__set_1aca184e4347ba731e01a665b19946cb49" name="node_algorithms"><type>implementation_defined::node_algorithms</type></typedef>
<data-member id="doxygen.classboost_1_1intrusive_1_1splay__set_1a50fa7d6ee7bf3ec43b1b008982c79752" name="constant_time_size" specifiers="static"><type>const bool</type></data-member>
<method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1splay__set_1a7d3615dd6caf05a10be0cf64e6593e0d"><description><para><emphasis role="bold">Effects</emphasis>: Constructs an empty container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the copy constructor of the key_compare object throws. Basic guarantee.    </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1splay__set_1a0778c8fbc034b82581fa873ebd76a0b5" specifiers="explicit"><parameter name="cmp"><paramtype>const key_compare &amp;</paramtype></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1splay__set_1a9e304b39a7611a9d1af1c21b3265b022"><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><parameter name="cmp"><paramtype>const key_compare &amp;</paramtype><default>key_compare()</default></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1splay__set_1a21023948d981deb87f7056619ebca6d3"><parameter name="x"><paramtype><classname>splay_set</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Constructs a container moving resources from another container. Internal comparison object and value traits are move constructed and nodes belonging to x (except the node representing the "end") are linked to *this.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node's move constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the move constructor of the comparison objet throws.    </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1splay__set_1a3a9bf5b3aec24bcb6a327bfcf19e79ee"><type><classname>splay_set</classname> &amp;</type><parameter name="x"><paramtype><classname>splay_set</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Equivalent to swap   </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1splay__set_1aab0d0a7e46636532f326ebd5eac1eefc"><description><para><emphasis role="bold">Effects</emphasis>: Detaches all elements from this. The objects in the set are not deleted (i.e. no destructors are called), but the nodes according to the <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> template parameter are reinitialized and thus can be reused.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a3a7986b9292f2ab8d6320f329ae73861" name="begin" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a24c98d35ce565608b6e2df309493c3d0" name="begin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a16c6593a95987b1aec8827a354d9a616" name="cbegin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a5d8536ecdaf79b74c1b8059d88824623" name="end" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a9ffcb33241f1b0530f09ead9d7e378b6" name="end" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a4eac33f5efd0e7dacd0f428a927c67e6" name="cend" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1ab08e788807aebaf6eb1a6cb3c78335ea" name="rbegin" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a39d7ce15cf218aed54f7920d2b39699e" name="rbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a7ec5e8c2556a97a79837c87cae21c501" name="crbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1ab9a4dd6d6cec33b3877adcaf8b349b47" name="rend" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a8ebddc4e5f384b2cde86c48b186f73f2" name="rend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a1f068354389eebb3bd43bfbd7c2a7434" name="crend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a0019fc60ec314b83de686882a50e6e40" name="root" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1splay__set_1a5d8536ecdaf79b74c1b8059d88824623">end()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a3581b76889c3db4ecdf88ee3c690bba5" name="root" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1splay__set_1a4eac33f5efd0e7dacd0f428a927c67e6">cend()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1aa3e215fa286249b33fc7661a8eefdf99" name="croot" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1splay__set_1a4eac33f5efd0e7dacd0f428a927c67e6">cend()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1ac7e76e86ee2569460f9e02e81a6910d0" name="key_comp" cv="const"><type>key_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the key_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If key_compare copy-constructor throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a617fec08beb3c96f3d9f377dcbb2af7b" name="value_comp" cv="const"><type>value_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the value_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_compare copy-constructor throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a69c5c8801ea620f0b8922a7d35f708f0" name="empty" cv="const noexcept"><type>bool</type><description><para><emphasis role="bold">Effects</emphasis>: Returns true if the container is empty.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a6130b00129febed9945e684fa8e95f5b" name="size" cv="const noexcept"><type>size_type</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the number of elements stored in the container.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this if constant-time size option is disabled. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a253920157613c8ca443b72837e7ddc0e" name="swap"><type>void</type><parameter name="other"><paramtype><classname>splay_set</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Swaps the contents of two containers.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor's swap call throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a7b0daf59af6458c5ab0e9efe815b38c6" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype>const <classname>splay_set</classname> &amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(const_reference ) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee.   Additional notes: it also copies the alpha factor from the source container.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a7ecd7e4e3175b12e057ecb3d6ff1edbe" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype><classname>splay_set</classname> &amp;&amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(reference) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee.</para><para><emphasis role="bold">Note</emphasis>: This version can modify the source container, useful to implement move semantics.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a7e59991505ce3adb52be95ef308cf7c8" name="insert"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1aa3d9951009d7703bd126098fb704977e" name="insert"><type>iterator</type><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a9011db9a688bae7d926da27ae53e1a72" name="insert_check"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1abe7500e6cfd1f3c92213ba8fa4a32d69" name="insert_check"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a865b9995bbebde0998b7f0e898147b99" name="insert_check"><type>std::pair&lt; iterator, bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1aa6b9f330dcae4b194f8e7e8196fbdeed" name="insert_check"><type>std::pair&lt; iterator, bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1aeb26a2165471aaee202f18bbe0f2915d" name="insert"><type>void</type><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type.</para><para><emphasis role="bold">Effects</emphasis>: Tries to insert each element of a range into the container.</para><para><emphasis role="bold">Complexity</emphasis>: Insert range is in general O(N * log(N)), where N is the size of the range. However, it is linear in N if the range is already sorted by <link linkend="doxygen.classboost_1_1intrusive_1_1splay__set_1a617fec08beb3c96f3d9f377dcbb2af7b">value_comp()</link>.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor call throws.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a8ec66b0ab81a6231b67d03e9f6344d88" name="insert_commit" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter><parameter name="commit_data"><paramtype>const insert_commit_data &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue of type value_type. commit_data must have been obtained from a previous call to "insert_check". No objects should have been inserted or erased from the container between the "insert_check" that filled "commit_data" and the call to "insert_commit".</para><para><emphasis role="bold">Effects</emphasis>: Inserts the value in the container using the information obtained from the "commit_data" that a previous "insert_check" filled.</para><para><emphasis role="bold">Returns</emphasis>: An iterator to the newly inserted object.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function has only sense if a "insert_check" has been previously executed to fill "commit_data". No value should be inserted or erased between the "insert_check" and "insert_commit" calls.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a98e55a49a4658a141a4abe6d48505820" name="insert_before" cv="noexcept"><type>iterator</type><parameter name="pos"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, "pos" must be a valid iterator (or end) and must be the succesor of value once inserted according to the predicate</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container before "pos".</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if "pos" is not the successor of "value" container ordering invariant will be broken. This is a low-level function to be used only for performance reasons by advanced users.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a70d95010bd115f615d61f2d5619f43ee" name="push_back" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and it must be no less than the greatest inserted key</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container in the last position.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if value is less than the greatest inserted key container ordering invariant will be broken. This function is slightly more efficient than using "insert_before". This is a low-level function to be used only for performance reasons by advanced users.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a292dc3483001df052ca7a04a249d986b" name="push_front" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and it must be no greater than the minimum inserted key</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container in the first position.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if value is greater than the minimum inserted key container ordering invariant will be broken. This function is slightly more efficient than using "insert_before". This is a low-level function to be used only for performance reasons by advanced users.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a70f55dd761f57ea2bc35cbdd4e9fd4f3" name="erase" cv="noexcept"><type>iterator</type><parameter name="i"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a3c1cac9cf70ed7fd7371274f4d9e60d5" name="erase" cv="noexcept"><type>iterator</type><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a04aed2a3eba534f5d6de56df9e3a1223" name="erase"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a85e02921b22d14be2f8a2f23b2b10735" name="erase"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "comp".</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1splay__set_1a6130b00129febed9945e684fa8e95f5b">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a71a382b478a8c3c921e6811f4ec6df8c" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="i"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a03dcfa5e7b0866d835003fc561b75c2c" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1ab0dbac4d8b0cd060428549736fedb028" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a39a15503f0aef97a6bd807f28690e40f" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk) and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "comp". Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1splay__set_1a6130b00129febed9945e684fa8e95f5b">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased elements.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a48b58a1cb851f26c5b20d3c951fdbfc9" name="clear" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements on the container. if it's a safe-mode or auto-unlink value_type. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a472877a24430a80a478d923a9f3cb979" name="clear_and_dispose" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements calling disposer(p) for each node to be erased. <emphasis role="bold">Complexity</emphasis>: Average complexity for is at most O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1splay__set_1a6130b00129febed9945e684fa8e95f5b">size()</link> + N)), where N is the number of elements in the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. Calls N times to disposer functor.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a5029dcffb9b70457d580295f65120834" name="count" cv="const"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para>Additional note: const function, no splaying is performed   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1ae44f2ed300445acf6702e0605fd7cda2" name="count" cv="const"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of contained elements with the given key</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic to the number of elements contained plus lineal to number of objects with the given key.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   Additional note: const function, no splaying is performed   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a5029dcffb9b70457d580295f65120834" name="count" cv="const"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para>Additional note: const function, no splaying is performed   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1ae44f2ed300445acf6702e0605fd7cda2" name="count" cv="const"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of contained elements with the given key</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic to the number of elements contained plus lineal to number of objects with the given key.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   Additional note: const function, no splaying is performed   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a4f760bd241c26e165adcba17d4b002d6" name="lower_bound"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para>Additional note: non-const function, splaying is performed.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a345cd044fc6c8aede09759e087273162" name="lower_bound"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para>Additional note: non-const function, splaying is performed for the first element of the equal range of "key"   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1aaa751d4ba51d69e198e3b8569294da85" name="lower_bound" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para>Additional note: const function, no splaying is performed   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a2bfd5f61433cb6e6fbaa60ed62e40dd8" name="lower_bound" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para>Additional note: const function, no splaying is performed   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a2f3fb94313418daf774ae19be1d14f82" name="upper_bound"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para>Additional note: non-const function, splaying is performed for the first element of the equal range of "value"   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a7040eda570aa06184053fc3fbf5acc4f" name="upper_bound"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k according to comp or <link linkend="doxygen.classboost_1_1intrusive_1_1splay__set_1a5d8536ecdaf79b74c1b8059d88824623">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   Additional note: non-const function, splaying is performed for the first element of the equal range of "key"   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a14a912055e66c946204149cb9f42e083" name="upper_bound" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para>Additional note: const function, no splaying is performed   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a75ac642b609e197e83625f51f94b3714" name="upper_bound" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k according to comp or <link linkend="doxygen.classboost_1_1intrusive_1_1splay__set_1a5d8536ecdaf79b74c1b8059d88824623">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    Additional note: const function, no splaying is performed   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1af31309b8d2fc659664dd2399a93d964e" name="find"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para>Additional note: non-const function, splaying is performed for the first element of the equal range of "value"   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a7267493758ca1b5d32be802f51932293" name="find"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1splay__set_1a5d8536ecdaf79b74c1b8059d88824623">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   Additional note: non-const function, splaying is performed for the first element of the equal range of "key"   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1ad5d05e77529f4680333c21842aa3319d" name="find" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para>Additional note: const function, no splaying is performed   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1ad66ee09448c068946451d0e505da394f" name="find" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1splay__set_1a5d8536ecdaf79b74c1b8059d88824623">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    Additional note: const function, no splaying is performed   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a563c1575f65bc837fb850554cc11be16" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1ac2b4a5b3d6b133d3285ebd57b7dc9dd0" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1aa33a417e6708c62a6a6b9f4d05dc4e9d" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1ac0b9c84287717c62fd45da9adfd1ea91" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.     </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a6600308cf1201860546ea91e147884c8" name="bounded_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="lower_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a46956b52944aa7074a0ab4375a6e6c5e" name="bounded_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>lower_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, lower_key) if left_closed is true, with respect to !comp(lower_key, nk) otherwise.</para><para><computeroutput>upper_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(upper_key, nk) if right_closed is true, with respect to comp(nk, upper_key) otherwise.</para><para><computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to comp [comp(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!comp(upper_key, lower_key) &amp;&amp; !comp(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise</para><para>second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a91846129d3f2b99a04403890a017dbbe" name="bounded_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="lower_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a33999d93e7baeb4f13e6bdcd2cea156c" name="bounded_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>lower_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, lower_key) if left_closed is true, with respect to !comp(lower_key, nk) otherwise.</para><para><computeroutput>upper_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(upper_key, nk) if right_closed is true, with respect to comp(nk, upper_key) otherwise.</para><para><computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to comp [comp(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!comp(upper_key, lower_key) &amp;&amp; !comp(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise</para><para>second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases.     </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a58c5cb19767c9d8441c477b9c87692c4" name="iterator_to" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a190df2a06ed7b042d25454fec0ad9277" name="iterator_to" cv="const noexcept"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a60d2bcf0d5319a938a1c71de10f24358" name="unlink_leftmost_without_rebalance" cv="noexcept"><type>pointer</type><description><para><emphasis role="bold">Effects</emphasis>: Unlinks the leftmost node from the container.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function breaks the container and the container can only be used for more unlink_leftmost_without_rebalance calls. This function is normally used to achieve a step by step controlled destruction of the container.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a5c27358818d65e680aff0650c22e9e51" name="replace_node" cv="noexcept"><type>void</type><parameter name="replace_this"><paramtype>iterator</paramtype></parameter><parameter name="with_this"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: replace_this must be a valid iterator of *this and with_this must not be inserted in any container.</para><para><emphasis role="bold">Effects</emphasis>: Replaces replace_this in its position in the container with with_this. The container does not need to be rebalanced.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if with_this is not equivalent to *replace_this according to the ordering rules. This function is faster than erasing and inserting the node, since no rebalancing or comparison is needed.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1aeefc0589115e941b0ac6700a99858c37" name="remove_node" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: removes "value" from the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic time.</para><para><emphasis role="bold">Note</emphasis>: This static function is only usable with non-constant time size containers that have stateless comparison functors.</para><para>If the user calls this function with a constant time size container or stateful comparison functor a compilation error will be issued.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a497a60ecc4c827dbdea716c1b0154a1f" name="splay_up" cv="noexcept"><type>void</type><parameter name="i"><paramtype>iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: i must be a valid iterator of *this.</para><para><emphasis role="bold">Effects</emphasis>: Rearranges the container so that the element pointed by i is placed as the root of the tree, improving future searches of this value.</para><para><emphasis role="bold">Complexity</emphasis>: Amortized logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1af8f796db0cbece774199c3a482d57f86" name="splay_down"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Rearranges the container so that if *this stores an element with a key equivalent to value the element is placed as the root of the tree. If the element is not present returns the last node compared with the key. If the tree is empty, <link linkend="doxygen.classboost_1_1intrusive_1_1splay__set_1a5d8536ecdaf79b74c1b8059d88824623">end()</link> is returned.</para><para><emphasis role="bold">Complexity</emphasis>: Amortized logarithmic.</para><para><emphasis role="bold">Returns</emphasis>: An iterator to the new root of the tree, <link linkend="doxygen.classboost_1_1intrusive_1_1splay__set_1a5d8536ecdaf79b74c1b8059d88824623">end()</link> if the tree is empty.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a5e97976b56cc70609963cfd26a5bedd6" name="splay_down"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Rearranges the container so that if *this stores an element with a key equivalent to value the element is placed as the root of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Amortized logarithmic.</para><para><emphasis role="bold">Returns</emphasis>: An iterator to the new root of the tree, <link linkend="doxygen.classboost_1_1intrusive_1_1splay__set_1a5d8536ecdaf79b74c1b8059d88824623">end()</link> if the tree is empty.</para><para><emphasis role="bold">Throws</emphasis>: If the predicate throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1ad1d166353970e99fb7fa8f5c603d58cb" name="rebalance" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Rebalances the tree.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a4042408c3adc6e592263107720f64c57" name="rebalance_subtree" cv="noexcept"><type>iterator</type><parameter name="root"><paramtype>iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: old_root is a node of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Rebalances the subtree rooted at old_root.</para><para><emphasis role="bold">Returns</emphasis>: The new root of the subtree.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the elements in the subtree.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1ae2f8e52946e448a97a33c5630f2fb0d4" name="merge"><type>void</type><template>
          <template-nontype-parameter name="Options2"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="source"><paramtype><classname>splay_set</classname>&lt; T, Options2... &gt; &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a431ec10a278b809903c3e41634cc55c2" name="merge"><type>void</type><template>
          <template-nontype-parameter name="Options2"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="source"><paramtype><classname>splay_multiset</classname>&lt; T, Options2... &gt; &amp;</paramtype></parameter></method>
</method-group>
<method-group name="public static functions">
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1afa91c23610c8ff2a09fb9e98fe43c34e" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type><classname>splay_set</classname> &amp;</type><parameter name="end_iterator"><paramtype>iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a43a8e57a84ef192bc015e662846d414c" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type>const <classname>splay_set</classname> &amp;</type><parameter name="end_iterator"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1ac6efa734f3bf310ceda86b5b3f6c3ec2" name="container_from_iterator" cv="noexcept" specifiers="static"><type><classname>splay_set</classname> &amp;</type><parameter name="it"><paramtype>iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a329babbe6fa477e59fd9c3ab9ec34c5e" name="container_from_iterator" cv="noexcept" specifiers="static"><type>const <classname>splay_set</classname> &amp;</type><parameter name="it"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1a621e8ebb3bc8fc8c4a4c50992b199c1a" name="s_iterator_to" cv="noexcept" specifiers="static"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1af2c3fd15feab4a36695d2ce481896bd4" name="s_iterator_to" cv="noexcept" specifiers="static"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splay__set_1af32b52539c2b3736822336da36fefe71" name="init_node" cv="noexcept" specifiers="static"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
</method-group>
</class><function id="doxygen.splay__set_8hpp_1ac2c088d6ea6da40e014cc9ea0e5c1572" name="operator!="><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>splay_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>splay_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.splay__set_8hpp_1a42ba68059809ee533eaec8902ce08087" name="operator&gt;"><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>splay_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>splay_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.splay__set_8hpp_1acd899370c142b7d7f8d1b64f4bb6cc7e" name="operator&lt;="><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>splay_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>splay_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.splay__set_8hpp_1a29e690ed1d097df15ae4b20c37492dfa" name="operator&gt;="><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>splay_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>splay_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.splay__set_8hpp_1ae32b2538244ff6fad56513d5a47a2214" name="swap"><type>void</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype><classname>splay_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype><classname>splay_set</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.splay__set_8hpp_1a3bb1d6486044b75972236dfb2aa52811" name="operator!="><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>splay_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>splay_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.splay__set_8hpp_1a1122e5e8b8d9e7a8248e4866bc10b735" name="operator&gt;"><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>splay_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>splay_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.splay__set_8hpp_1ad262b67e604a28cec465a1d495d40e5f" name="operator&lt;="><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>splay_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>splay_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.splay__set_8hpp_1afd4eb79faaa27b6bf34bd6aef2ee6a7f" name="operator&gt;="><type>bool</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype>const <classname>splay_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype>const <classname>splay_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>
<function id="doxygen.splay__set_8hpp_1a55080ba2f3772750bf52670bb729abfb" name="swap"><type>void</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="x"><paramtype><classname>splay_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter><parameter name="y"><paramtype><classname>splay_multiset</classname>&lt; T, Options... &gt; &amp;</paramtype></parameter></function>


















































</namespace>
</namespace>
</header>
<header id="doxygen.splaytree_8hpp" name="boost/intrusive/splaytree.hpp">
<namespace name="boost">
<namespace name="intrusive">
<struct id="doxygen.structboost_1_1intrusive_1_1make__splaytree" name="make_splaytree"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define a <computeroutput>splaytree</computeroutput> that yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__splaytree_1a691796403d5653e1f27f5f77a1575b5b" name="type"><type>implementation_defined</type></typedef>
</struct><class id="doxygen.classboost_1_1intrusive_1_1splaytree" name="splaytree"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>The class template splaytree is an intrusive splay tree container that is used to construct intrusive <link linkend="doxygen.classboost_1_1intrusive_1_1splay__set">splay_set</link> and <link linkend="doxygen.classboost_1_1intrusive_1_1splay__multiset">splay_multiset</link> containers. The no-throw guarantee holds only, if the key_compare object doesn't throw.</para><para>The template parameter <computeroutput>T</computeroutput> is the type to be managed by the container. The user can specify additional options and if no options are provided default options are used.</para><para>The container supports the following options: <computeroutput>base_hook&lt;&gt;/member_hook&lt;&gt;/value_traits&lt;&gt;</computeroutput>, <computeroutput>constant_time_size&lt;&gt;</computeroutput>, <computeroutput>size_type&lt;&gt;</computeroutput> and <computeroutput>compare&lt;&gt;</computeroutput>. </para></description><typedef id="doxygen.classboost_1_1intrusive_1_1splaytree_1ad3084b497d3edadcda65e020450dea49" name="value_traits"><type>ValueTraits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splaytree_1a7dca66d05bdcaf8f9324e8d4fca74383" name="pointer"><type>implementation_defined::pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splaytree_1aefc1383796e0c2e75f22acfcfd7c71a7" name="const_pointer"><type>implementation_defined::const_pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splaytree_1a73c19e831b3ce39f9544a792d99f3d18" name="value_type"><type>implementation_defined::value_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splaytree_1a8ef8cad364627eb0cee5008cf2d8e248" name="key_type"><type>implementation_defined::key_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splaytree_1a411d17af236413aa69cc35ed79afc930" name="key_of_value"><type>implementation_defined::key_of_value</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splaytree_1a222021ef23adcb26643ed50af4b4dae3" name="reference"><type>implementation_defined::reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splaytree_1ab48849cc7389354ad984dcaadb8dc0f3" name="const_reference"><type>implementation_defined::const_reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splaytree_1a119ea2522698d52424b147a6684eb125" name="difference_type"><type>implementation_defined::difference_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splaytree_1a5f0803e4a5d84ddfd3e2756b8858bf5a" name="size_type"><type>implementation_defined::size_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splaytree_1acc6987c7543b3c2ff021d9ddb05fa3bc" name="value_compare"><type>implementation_defined::value_compare</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splaytree_1a4299276e04ef85935345a5c804774840" name="key_compare"><type>implementation_defined::key_compare</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splaytree_1ad6aea0be06aa93112249f8f1c8d1d147" name="iterator"><type>implementation_defined::iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splaytree_1a5dcf5918cbbfecc3dd7b55274dc789cb" name="const_iterator"><type>implementation_defined::const_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splaytree_1afa69aae95fa4a10376bb9d71877fcaf8" name="reverse_iterator"><type>implementation_defined::reverse_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splaytree_1a325fbb9b51f583ac4eecced7d869aafa" name="const_reverse_iterator"><type>implementation_defined::const_reverse_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splaytree_1aeeee3d7070040cbb4e8ef0267fd633e2" name="node_traits"><type>implementation_defined::node_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splaytree_1ab34021308001bf2d49e7531e2315420d" name="node"><type>implementation_defined::node</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splaytree_1aecb88af31c1c0e9e6f8c38f1f582d8fe" name="node_ptr"><type>implementation_defined::node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splaytree_1a3ed0f2296e736a3773f4f1ea3cd4776d" name="const_node_ptr"><type>implementation_defined::const_node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splaytree_1a3b5387a3c147b759dfa16710258a90f8" name="node_algorithms"><type>implementation_defined::node_algorithms</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splaytree_1a901de5d0fb7883d50436b3ab3a648d92" name="insert_commit_data"><type>implementation_defined::insert_commit_data</type></typedef>
<data-member id="doxygen.classboost_1_1intrusive_1_1splaytree_1a140a5c08dbebe3f6f0bda435d5a73ca7" name="constant_time_size" specifiers="static"><type>const bool</type></data-member>
<method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1splaytree_1a7b30ebbf8adf9168d2e3d5e4c3fbd7dc"><description><para><emphasis role="bold">Effects</emphasis>: Constructs an empty container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the copy constructor of the key_compare object throws. Basic guarantee.   </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1splaytree_1a96e892c1ef03dc38146a4a66558e1648" specifiers="explicit"><parameter name="cmp"><paramtype>const key_compare &amp;</paramtype></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1splaytree_1adecc7cbc8d43ccc80de3e16feb436052"><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="unique"><paramtype>bool</paramtype></parameter><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><parameter name="cmp"><paramtype>const key_compare &amp;</paramtype><default>key_compare()</default></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1splaytree_1a5232f6250b2f2897a3acc75aaa549fcb"><parameter name="x"><paramtype><classname>splaytree</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Constructs a container moving resources from another container. Internal comparison object and value traits are move constructed and nodes belonging to x (except the node representing the "end") are linked to *this.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node's move constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the move constructor of the comparison objet throws.   </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1splaytree_1a6cd5b1a920713583f540fe00a7c245d5"><type><classname>splaytree</classname> &amp;</type><parameter name="x"><paramtype><classname>splaytree</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Equivalent to swap  </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1splaytree_1a478fb3479511634b98ca2e621298cde8"><description><para><emphasis role="bold">Effects</emphasis>: Detaches all elements from this. The objects in the set are not deleted (i.e. no destructors are called), but the nodes according to the <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> template parameter are reinitialized and thus can be reused.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a010f5798d092431380e3448f4b489332" name="begin" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1ad7009f82f377487ec548cee6a22bfd36" name="begin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1af611fff016f4dd4ba6a6add78c3a3c0b" name="cbegin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1aac2001e0326740c2cdfe8552920a32f7" name="end" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1ad3c31fd33a49d84d4b721a6c5988ee90" name="end" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1af0406c7a079f5fa41cd9c69202c5ceee" name="cend" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a897c8bb09b12c44f28061d4b1461c056" name="rbegin" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a4cedf1c6525f09ffb8612df9417bcf9d" name="rbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1aee9493bf2a9262388df8cfe5b27c31c0" name="crbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1ad20d137bf5586a9a12b4f2867e9be8b9" name="rend" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1aa8f43a5006d4b5101c84df860f146870" name="rend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a07cacf33c7ea1d1cae8c76cb964c590e" name="crend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a984d612c02279c6d29c8ec0138b44d35" name="root" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1splaytree_1aac2001e0326740c2cdfe8552920a32f7">end()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a4f109e919a510b8fcad897c3fa1bfced" name="root" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1splaytree_1af0406c7a079f5fa41cd9c69202c5ceee">cend()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a22cbe5241c05b0040bdc1756457a6ff9" name="croot" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1splaytree_1af0406c7a079f5fa41cd9c69202c5ceee">cend()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1adebd08c87df84b4614c6c8c2182903b0" name="key_comp" cv="const"><type>key_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the key_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If key_compare copy-constructor throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a3b4f5fcb9eb723e8fc96f6e61f38f715" name="value_comp" cv="const"><type>value_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the value_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_compare copy-constructor throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a255d3a81b77cff38880fc89543b24d6a" name="empty" cv="const noexcept"><type>bool</type><description><para><emphasis role="bold">Effects</emphasis>: Returns true if the container is empty.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1ab3a94fa9f5715999e049d6e69e6b4472" name="size" cv="const noexcept"><type>size_type</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the number of elements stored in the container.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this if constant-time size option is disabled. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1ad1fe36967a8dbbf8bc3041759db5e54d" name="swap"><type>void</type><parameter name="other"><paramtype><classname>splaytree</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Swaps the contents of two containers.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor's swap call throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1aa4e6026c94ba242ad097e33a4838ba1e" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype>const <classname>splaytree</classname> &amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(const_reference ) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee.   Additional notes: it also copies the alpha factor from the source container. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1ab09b6bf417dd2515ac5072086f4ee328" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype><classname>splaytree</classname> &amp;&amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(reference) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee.</para><para><emphasis role="bold">Note</emphasis>: This version can modify the source container, useful to implement move semantics.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a71df56804d5a5f9ea8fbd8219fb150bb" name="insert_equal"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a0b9b96cc698d22c53f60e0b7927388cc" name="insert_equal"><type>iterator</type><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a4008f65fae48d03f6c7b14bce6e1e5fa" name="insert_equal"><type>void</type><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type.</para><para><emphasis role="bold">Effects</emphasis>: Inserts a each element of a range into the container before the upper bound of the key of each element.</para><para><emphasis role="bold">Complexity</emphasis>: Insert range is in general O(N * log(N)), where N is the size of the range. However, it is linear in N if the range is already sorted by <link linkend="doxygen.classboost_1_1intrusive_1_1splaytree_1a3b4f5fcb9eb723e8fc96f6e61f38f715">value_comp()</link>.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor call throws.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1aba79027ec63863cfcab3185f7ac8febb" name="insert_unique"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a70c69bc2aa520ec0b867f7ef3f6334d1" name="insert_unique"><type>iterator</type><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1adb09eea0c4f98b89970e49a6b384635b" name="insert_unique_check"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a3e5e9e8f668a57abb3e7601bf3d049d8" name="insert_unique_check"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a529c0e8705a560de826e9a0bcf1c65c6" name="insert_unique_check"><type>std::pair&lt; iterator, bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a5200ae347d07cfd7ad3edcb079e78774" name="insert_unique_check"><type>std::pair&lt; iterator, bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1ac83252b1813ac20078d13ef41f1c5521" name="insert_unique_commit" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter><parameter name="commit_data"><paramtype>const insert_commit_data &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue of type value_type. commit_data must have been obtained from a previous call to "insert_check". No objects should have been inserted or erased from the container between the "insert_check" that filled "commit_data" and the call to "insert_commit".</para><para><emphasis role="bold">Effects</emphasis>: Inserts the value in the container using the information obtained from the "commit_data" that a previous "insert_check" filled.</para><para><emphasis role="bold">Returns</emphasis>: An iterator to the newly inserted object.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function has only sense if a "insert_check" has been previously executed to fill "commit_data". No value should be inserted or erased between the "insert_check" and "insert_commit" calls.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a5d68c96af8669af8f550711f24ccef48" name="insert_unique"><type>void</type><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type.</para><para><emphasis role="bold">Effects</emphasis>: Tries to insert each element of a range into the container.</para><para><emphasis role="bold">Complexity</emphasis>: Insert range is in general O(N * log(N)), where N is the size of the range. However, it is linear in N if the range is already sorted by <link linkend="doxygen.classboost_1_1intrusive_1_1splaytree_1a3b4f5fcb9eb723e8fc96f6e61f38f715">value_comp()</link>.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor call throws.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a0e8fdabeb1d93cab337fd9fbfdaf72fc" name="insert_before" cv="noexcept"><type>iterator</type><parameter name="pos"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, "pos" must be a valid iterator (or end) and must be the succesor of value once inserted according to the predicate</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container before "pos".</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if "pos" is not the successor of "value" container ordering invariant will be broken. This is a low-level function to be used only for performance reasons by advanced users.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1aae7f601868f318224f6c611778db9047" name="push_back" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and it must be no less than the greatest inserted key</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container in the last position.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if value is less than the greatest inserted key container ordering invariant will be broken. This function is slightly more efficient than using "insert_before". This is a low-level function to be used only for performance reasons by advanced users.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a31ab05e0257e9058a7474b44e02c721b" name="push_front" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and it must be no greater than the minimum inserted key</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container in the first position.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if value is greater than the minimum inserted key container ordering invariant will be broken. This function is slightly more efficient than using "insert_before". This is a low-level function to be used only for performance reasons by advanced users.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a11c8d50a5fa22949e69adae08e2aa14a" name="erase" cv="noexcept"><type>iterator</type><parameter name="i"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1af09dc52b2d007bb697e3ca7eafecb3c6" name="erase" cv="noexcept"><type>iterator</type><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1ac7d34199c43fdf28bbffadeb962f5292" name="erase"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a30fb4959eed6fd5a62f6e077b0034f93" name="erase"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "comp".</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1splaytree_1ab3a94fa9f5715999e049d6e69e6b4472">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1af984e9182844418f06f4d0dd9ce00e81" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="i"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a5949dee5cf63cfc66a980c5dd476421b" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a5a2f0ef93d50db5ce2d205f43024c7d7" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a7f4f10993333c0e9c071934f10ebe6e8" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk) and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "comp". Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1splaytree_1ab3a94fa9f5715999e049d6e69e6b4472">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased elements.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a9331705d653aaed5863cc581a6347eb2" name="clear" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements on the container. if it's a safe-mode or auto-unlink value_type. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a8346b1f742a4e3adc088676c521175e3" name="clear_and_dispose" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements calling disposer(p) for each node to be erased. <emphasis role="bold">Complexity</emphasis>: Average complexity for is at most O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1splaytree_1ab3a94fa9f5715999e049d6e69e6b4472">size()</link> + N)), where N is the number of elements in the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. Calls N times to disposer functor.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a6d93e48288a457719fbfbfcb67cd3035" name="count"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para>Additional note: non-const function, splaying is performed. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a75426e74a6c4b2085901a04441a14e40" name="count"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of contained elements with the given key</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic to the number of elements contained plus lineal to number of objects with the given key.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   Additional note: non-const function, splaying is performed. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a53367f78c342b7f01240e5a6ade4be8d" name="count" cv="const"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para>Additional note: const function, no splaying is performed </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a1da0746dfe0bf408396325df39ec5b90" name="count" cv="const"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of contained elements with the given key</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic to the number of elements contained plus lineal to number of objects with the given key.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   Additional note: const function, no splaying is performed </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a9c8314c44bddeb88369170d815c846bc" name="lower_bound"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para>Additional note: non-const function, splaying is performed. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a2bc618771aedb78186cbeb1245ae1636" name="lower_bound" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para>Additional note: const function, no splaying is performed </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a048382d12afc549422d4c3eff17103cf" name="lower_bound"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para>Additional note: non-const function, splaying is performed for the first element of the equal range of "key" </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1af4f34ef8d3b8e77a80d751ac133c18c5" name="lower_bound" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para>Additional note: const function, no splaying is performed </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a25ecca76b8e20080dbb468852255f29f" name="upper_bound"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para>Additional note: non-const function, splaying is performed for the first element of the equal range of "value" </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1ad13cdd3a942f35065f484fee606e3753" name="upper_bound" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para>Additional note: const function, no splaying is performed </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a1d8ce256bc73ed8dc42862c56cdfb648" name="upper_bound"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k according to comp or <link linkend="doxygen.classboost_1_1intrusive_1_1splaytree_1aac2001e0326740c2cdfe8552920a32f7">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   Additional note: non-const function, splaying is performed for the first element of the equal range of "key" </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1ae584bcaf36e2cd72070f0c5fd8ee25be" name="upper_bound" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k according to comp or <link linkend="doxygen.classboost_1_1intrusive_1_1splaytree_1aac2001e0326740c2cdfe8552920a32f7">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    Additional note: const function, no splaying is performed </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a322b9ee117919f1ab79b87307b4f37d0" name="find"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para>Additional note: non-const function, splaying is performed for the first element of the equal range of "value" </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1ab511df647d5c66a556c1deeda0ecb20e" name="find" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para>Additional note: const function, no splaying is performed </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1ac181d6434028cf00c9ca0e50745fd5e6" name="find"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1splaytree_1aac2001e0326740c2cdfe8552920a32f7">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   Additional note: non-const function, splaying is performed for the first element of the equal range of "key" </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1ae76d947d48263515d1f1d3ca39bc267a" name="find" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1splaytree_1aac2001e0326740c2cdfe8552920a32f7">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    Additional note: const function, no splaying is performed </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1ada78a53b17f3b4964b229a088895b6c9" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para>Additional note: non-const function, splaying is performed for the first element of the equal range of "value" </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a96da7b279e024b0a581a72c8c08aeab2" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para>Additional note: const function, no splaying is performed </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a7dd7baacf7bdca931c99f1a00ebb0497" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   Additional note: non-const function, splaying is performed for the first element of the equal range of "key" </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a81f1a1a28dcdb5109e637c2c92b5bbdb" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    Additional note: const function, no splaying is performed </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1af567abc5b5d10db48558601185d17971" name="bounded_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="lower_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a194b7844cde873f187d31b404903c3e6" name="bounded_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>lower_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, lower_key) if left_closed is true, with respect to !comp(lower_key, nk) otherwise.</para><para><computeroutput>upper_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(upper_key, nk) if right_closed is true, with respect to comp(nk, upper_key) otherwise.</para><para><computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to comp [comp(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!comp(upper_key, lower_key) &amp;&amp; !comp(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise</para><para>second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a35fcda676b17f8fb2f1740a2619f7fbb" name="bounded_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="lower_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a345c8cab4663310c855564b7e55d9130" name="bounded_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>lower_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, lower_key) if left_closed is true, with respect to !comp(lower_key, nk) otherwise.</para><para><computeroutput>upper_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(upper_key, nk) if right_closed is true, with respect to comp(nk, upper_key) otherwise.</para><para><computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to comp [comp(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!comp(upper_key, lower_key) &amp;&amp; !comp(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise</para><para>second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a27f28f825b6b65185d428326fd14f768" name="iterator_to" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1acdeb554d1e2b8a9486b39eeb87402ec9" name="iterator_to" cv="const noexcept"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1aaec5f3e97ffe2e299ec540d4500a3c9f" name="unlink_leftmost_without_rebalance" cv="noexcept"><type>pointer</type><description><para><emphasis role="bold">Effects</emphasis>: Unlinks the leftmost node from the container.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function breaks the container and the container can only be used for more unlink_leftmost_without_rebalance calls. This function is normally used to achieve a step by step controlled destruction of the container.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a28f1f5b53a1bc793dcb4af6cbd3a1f9b" name="replace_node" cv="noexcept"><type>void</type><parameter name="replace_this"><paramtype>iterator</paramtype></parameter><parameter name="with_this"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: replace_this must be a valid iterator of *this and with_this must not be inserted in any container.</para><para><emphasis role="bold">Effects</emphasis>: Replaces replace_this in its position in the container with with_this. The container does not need to be rebalanced.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if with_this is not equivalent to *replace_this according to the ordering rules. This function is faster than erasing and inserting the node, since no rebalancing or comparison is needed.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a7afa09f343748b9fc4c8085d4651fb55" name="remove_node" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: removes "value" from the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic time.</para><para><emphasis role="bold">Note</emphasis>: This static function is only usable with non-constant time size containers that have stateless comparison functors.</para><para>If the user calls this function with a constant time size container or stateful comparison functor a compilation error will be issued.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1ac9176f3b9f2af36a2cc534789d6a725e" name="merge_unique"><type>void</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options2"><type>class ...</type></template-nontype-parameter>
        </template><parameter name=""><paramtype><classname>splaytree</classname>&lt; T, Options2... &gt; &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a0583cf410846c9afc2ea225954a33a87" name="merge_equal"><type>void</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options2"><type>class ...</type></template-nontype-parameter>
        </template><parameter name=""><paramtype><classname>splaytree</classname>&lt; T, Options2... &gt; &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a0ddc6a75a55e9c8bbc9557f035348318" name="splay_up" cv="noexcept"><type>void</type><parameter name="i"><paramtype>iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: i must be a valid iterator of *this.</para><para><emphasis role="bold">Effects</emphasis>: Rearranges the container so that the element pointed by i is placed as the root of the tree, improving future searches of this value.</para><para><emphasis role="bold">Complexity</emphasis>: Amortized logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a0c2a25993ff80da9967dd9f1b06c0448" name="splay_down"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Rearranges the container so that if *this stores an element with a key equivalent to value the element is placed as the root of the tree. If the element is not present returns the last node compared with the key. If the tree is empty, <link linkend="doxygen.classboost_1_1intrusive_1_1splaytree_1aac2001e0326740c2cdfe8552920a32f7">end()</link> is returned.</para><para><emphasis role="bold">Complexity</emphasis>: Amortized logarithmic.</para><para><emphasis role="bold">Returns</emphasis>: An iterator to the new root of the tree, <link linkend="doxygen.classboost_1_1intrusive_1_1splaytree_1aac2001e0326740c2cdfe8552920a32f7">end()</link> if the tree is empty.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a870490a44ef665292dbf33fd8d2c479c" name="splay_down"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Rearranges the container so that if *this stores an element with a key equivalent to value the element is placed as the root of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Amortized logarithmic.</para><para><emphasis role="bold">Returns</emphasis>: An iterator to the new root of the tree, <link linkend="doxygen.classboost_1_1intrusive_1_1splaytree_1aac2001e0326740c2cdfe8552920a32f7">end()</link> if the tree is empty.</para><para><emphasis role="bold">Throws</emphasis>: If the predicate throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a4160d059a14ebae2f9c3536e34a731e1" name="rebalance" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Rebalances the tree.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1abce958dbad0162391bb251410e5acc55" name="rebalance_subtree" cv="noexcept"><type>iterator</type><parameter name="root"><paramtype>iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: old_root is a node of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Rebalances the subtree rooted at old_root.</para><para><emphasis role="bold">Returns</emphasis>: The new root of the subtree.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the elements in the subtree.   </para></description></method>
</method-group>
<method-group name="public static functions">
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1add17406ec59a7aa53cc8f6d883cb41c2" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type><classname>splaytree</classname> &amp;</type><parameter name="end_iterator"><paramtype>iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1ac93a6abd473bf164eb5382d99b85de81" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type>const <classname>splaytree</classname> &amp;</type><parameter name="end_iterator"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1af1b05718a8250be4c97c886fdd34242e" name="container_from_iterator" cv="noexcept" specifiers="static"><type><classname>splaytree</classname> &amp;</type><parameter name="it"><paramtype>iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1aaf0a40509715194a44f3f27c4353dffc" name="container_from_iterator" cv="noexcept" specifiers="static"><type>const <classname>splaytree</classname> &amp;</type><parameter name="it"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a4447662d1e78383ff053a461f2e472ac" name="s_iterator_to" cv="noexcept" specifiers="static"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1a6fd11be2b06a2ec31a8f6bad5b642761" name="s_iterator_to" cv="noexcept" specifiers="static"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree_1ab83edd9963b0cb254bbbe37f853e855a" name="init_node" cv="noexcept" specifiers="static"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
</method-group>
</class>



























































</namespace>
</namespace>
</header>
<header id="doxygen.splaytree__algorithms_8hpp" name="boost/intrusive/splaytree_algorithms.hpp">
<namespace name="boost">
<namespace name="intrusive">
<class id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms" name="splaytree_algorithms"><template>
      <template-type-parameter name="NodeTraits"/>
    </template><description><para>A splay tree is an implementation of a binary search tree. The tree is self balancing using the splay algorithm as described in</para><para>"Self-Adjusting Binary Search Trees by Daniel Dominic Sleator and Robert Endre Tarjan AT&amp;T Bell Laboratories, Murray Hill, NJ Journal of the ACM, Vol 32, no 3, July 1985, pp 652-686</para><para><link linkend="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms">splaytree_algorithms</link> is configured with a NodeTraits class, which encapsulates the information about the node to be manipulated. NodeTraits must support the following interface:</para><para><emphasis role="bold">Typedefs</emphasis>:</para><para><computeroutput>node</computeroutput>: The type of the node that forms the binary search tree</para><para><computeroutput>node_ptr</computeroutput>: A pointer to a node</para><para><computeroutput>const_node_ptr</computeroutput>: A pointer to a const node</para><para><emphasis role="bold">Static functions</emphasis>:</para><para><computeroutput>static node_ptr get_parent(const_node_ptr n);</computeroutput></para><para><computeroutput>static void set_parent(node_ptr n, node_ptr parent);</computeroutput></para><para><computeroutput>static node_ptr get_left(const_node_ptr n);</computeroutput></para><para><computeroutput>static void set_left(node_ptr n, node_ptr left);</computeroutput></para><para><computeroutput>static node_ptr get_right(const_node_ptr n);</computeroutput></para><para><computeroutput>static void set_right(node_ptr n, node_ptr right);</computeroutput> </para></description><typedef id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1a7820f0909360fcf1be932064faa766ca" name="node"><type>NodeTraits::node</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1a17b40ac0602809efe4579764130e182e" name="node_traits"><type>NodeTraits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1a9121ed1f261fc6a1db965218d28a3842" name="node_ptr"><type>NodeTraits::node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1aadf647a2640b98c3dde6ca8583077966" name="const_node_ptr"><type>NodeTraits::const_node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1afe03e1281e1e99c790d9538a3496d724" name="insert_commit_data"><description><para>This type is the information that will be filled by insert_unique_check </para></description><type>bstree_algo::insert_commit_data</type></typedef>
<method-group name="public static functions">
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1a24bda541850443271b04faff03d3e85c" name="get_header" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="n"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'n' is a node of the tree or a header node.</para><para><emphasis role="bold">Effects</emphasis>: Returns the header of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1aa40b3721fed707fcbb1716f121ed1dc0" name="begin_node" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'header' is the header node of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Returns the first node of the tree, the header if the tree is empty.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1a6ce2ca4ff00e91ba718cae3982d6f7ce" name="end_node" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'header' is the header node of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Returns the header of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1ac93c86a037cba08188ff2f212f436e3e" name="swap_tree" specifiers="static"><type>void</type><parameter name="header1"><paramtype>node_ptr</paramtype></parameter><parameter name="header2"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header1 and header2 must be the header nodes of two trees.</para><para><emphasis role="bold">Effects</emphasis>: Swaps two trees. After the function header1 will contain links to the second tree and header2 will have links to the first tree.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1a24d15aebbb63014c5540cc3ba9897eb9" name="swap_nodes" cv="noexcept" specifiers="static"><type>void</type><parameter name="node1"><paramtype>node_ptr</paramtype></parameter><parameter name="node2"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: node1 and node2 can't be header nodes of two trees.</para><para><emphasis role="bold">Effects</emphasis>: Swaps two nodes. After the function node1 will be inserted in the position node2 before the function. node2 will be inserted in the position node1 had before the function.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if node1 and node2 are not equivalent according to the ordering rules.</para><para>Experimental function   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1a61d1891734a823a0550066a89bab63a7" name="swap_nodes" cv="noexcept" specifiers="static"><type>void</type><parameter name="node1"><paramtype>node_ptr</paramtype></parameter><parameter name="header1"><paramtype>node_ptr</paramtype></parameter><parameter name="node2"><paramtype>node_ptr</paramtype></parameter><parameter name="header2"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: node1 and node2 can't be header nodes of two trees with header header1 and header2.</para><para><emphasis role="bold">Effects</emphasis>: Swaps two nodes. After the function node1 will be inserted in the position node2 before the function. node2 will be inserted in the position node1 had before the function.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if node1 and node2 are not equivalent according to the ordering rules.</para><para>Experimental function   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1a9b221f715761563a05b45cdc29ea8b94" name="replace_node" cv="noexcept" specifiers="static"><type>void</type><parameter name="node_to_be_replaced"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: node_to_be_replaced must be inserted in a tree and new_node must not be inserted in a tree.</para><para><emphasis role="bold">Effects</emphasis>: Replaces node_to_be_replaced in its position in the tree with new_node. The tree does not need to be rebalanced</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if new_node is not equivalent to node_to_be_replaced according to the ordering rules. This function is faster than erasing and inserting the node, since no rebalancing and comparison is needed. Experimental function   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1a6c5d199da9c7e3428a1f8f3cde871899" name="replace_node" cv="noexcept" specifiers="static"><type>void</type><parameter name="node_to_be_replaced"><paramtype>node_ptr</paramtype></parameter><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: node_to_be_replaced must be inserted in a tree with header "header" and new_node must not be inserted in a tree.</para><para><emphasis role="bold">Effects</emphasis>: Replaces node_to_be_replaced in its position in the tree with new_node. The tree does not need to be rebalanced</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if new_node is not equivalent to node_to_be_replaced according to the ordering rules. This function is faster than erasing and inserting the node, since no rebalancing or comparison is needed. Experimental function   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1a2ac0409e92a2a27933c78ed835cbbbf4" name="unlink" cv="noexcept" specifiers="static"><type>void</type><parameter name="n"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'n' is a tree node but not the header.</para><para><emphasis role="bold">Effects</emphasis>: Unlinks the node and rebalances the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1a85ff40a9fcb6c04c1e7044dbf8abf8be" name="unlink_leftmost_without_rebalance" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header is the header of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Unlinks the leftmost node from the tree, and updates the header link to the new leftmost node.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function breaks the tree and the tree can only be used for more unlink_leftmost_without_rebalance calls. This function is normally used to achieve a step by step controlled destruction of the tree.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1ae7a31a19fca9abbe6787fdb86a384b6f" name="unique" cv="noexcept" specifiers="static"><type>bool</type><parameter name="n"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'n' is a node of the tree or a node initialized by init(...) or init_node.</para><para><emphasis role="bold">Effects</emphasis>: Returns true if the node is initialized by <link linkend="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1abc70166bf1ba4a7f2c1559eb69201425">init()</link> or init_node().</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1a47a0383822cb24b871f49aeb1c4b5244" name="size" cv="noexcept" specifiers="static"><type>std::size_t</type><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'header' the header of the tree.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of nodes of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Linear time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1adc0cac12a87e3fd7a4bfbe792676d691" name="next_node" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="n"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'n' is a node from the tree except the header.</para><para><emphasis role="bold">Effects</emphasis>: Returns the next node of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Average constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1a26991b3007ca439b18eee600c5932432" name="prev_node" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="n"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'n' is a node from the tree except the leftmost node.</para><para><emphasis role="bold">Effects</emphasis>: Returns the previous node of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Average constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1abc70166bf1ba4a7f2c1559eb69201425" name="init" cv="noexcept" specifiers="static"><type>void</type><parameter name="n"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'n' must not be part of any tree.</para><para><emphasis role="bold">Effects</emphasis>: After the function unique(node) == true.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Nodes</emphasis>: If node is inserted in a tree, this function corrupts the tree.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1aa3c7384bbd4e68457fa36c5fa28f31d8" name="init_header" cv="noexcept" specifiers="static"><type>void</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header must not be part of any tree.</para><para><emphasis role="bold">Effects</emphasis>: Initializes the header to represent an empty tree. unique(header) == true.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Nodes</emphasis>: If header is inserted in a tree, this function corrupts the tree.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1a3eac77f0a16561b4193e9f880ab82d8f" name="erase" cv="noexcept" specifiers="static"><type>void</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="z"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header must be the header of a tree, z a node of that tree and z != header.</para><para><emphasis role="bold">Effects</emphasis>: Erases node "z" from the tree with header "header".</para><para><emphasis role="bold">Complexity</emphasis>: Amortized constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   Additional notes: the previous node of z is splayed to speed up range deletions. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1ae538ebdfe3c15c6b032655f6e04b53ec" name="transfer_unique" specifiers="static"><type>bool</type><template>
          <template-type-parameter name="NodePtrCompare"/>
        </template><parameter name="header1"><paramtype>node_ptr</paramtype></parameter><parameter name="comp"><paramtype>NodePtrCompare</paramtype></parameter><parameter name="header2"><paramtype>node_ptr</paramtype></parameter><parameter name="z"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header1 and header2 must be the headers of trees tree1 and tree2 respectively, z a non-header node of tree1. NodePtrCompare is the comparison function of tree1..</para><para><emphasis role="bold">Effects</emphasis>: Transfers node "z" from tree1 to tree2 if tree1 does not contain a node that is equivalent to z.</para><para><emphasis role="bold">Returns</emphasis>: True if the node was trasferred, false otherwise.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1abe93402269d414edd85127e2d753b84d" name="transfer_equal" specifiers="static"><type>void</type><template>
          <template-type-parameter name="NodePtrCompare"/>
        </template><parameter name="header1"><paramtype>node_ptr</paramtype></parameter><parameter name="comp"><paramtype>NodePtrCompare</paramtype></parameter><parameter name="header2"><paramtype>node_ptr</paramtype></parameter><parameter name="z"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header1 and header2 must be the headers of trees tree1 and tree2 respectively, z a non-header node of tree1. NodePtrCompare is the comparison function of tree1..</para><para><emphasis role="bold">Effects</emphasis>: Transfers node "z" from tree1 to tree2.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1a8bccea22336b5aeeac4d902a92e7ad68" name="clone" specifiers="static"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="source_header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="target_header"><paramtype>node_ptr</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "cloner" must be a function object taking a node_ptr and returning a new cloned node of it. "disposer" must take a node_ptr and shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: First empties target tree calling <computeroutput>void disposer::operator()(node_ptr)</computeroutput> for every node of the tree except the header.</para><para>Then, duplicates the entire tree pointed by "source_header" cloning each source node with <computeroutput>node_ptr Cloner::operator()(node_ptr)</computeroutput> to obtain the nodes of the target tree. If "cloner" throws, the cloned target nodes are disposed using <computeroutput>void disposer(node_ptr )</computeroutput>.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of element of the source tree plus the number of elements of tree target tree when calling this function.</para><para><emphasis role="bold">Throws</emphasis>: If cloner functor throws. If this happens target nodes are disposed.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1ada0b3a4ae1808870a9c8901227ecc617" name="clear_and_dispose" cv="noexcept" specifiers="static"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "disposer" must be an object function taking a node_ptr parameter and shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Empties the target tree calling <computeroutput>void disposer::operator()(node_ptr)</computeroutput> for every node of the tree except the header.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of element of the source tree plus the. number of elements of tree target tree when calling this function.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1a3b0c5e9dd791e963ce1c0a2d9202b114" name="count" specifiers="static"><type>std::size_t</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of elements with a key equivalent to "key" according to "comp".</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   Additional notes: an element with key <computeroutput>key</computeroutput> is splayed. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1ae7ca165a6517f34df2c423dfb1c0aecf" name="count" specifiers="static"><type>std::size_t</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of elements with a key equivalent to "key" according to "comp".</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   Additional note: no splaying is performed </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1a5ca8967b3a95ea7198c99dbb815c8a65" name="lower_bound" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns a node_ptr to the first element that is not less than "key" according to "comp" or "header" if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   Additional notes: the first node of the range is splayed. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1ab8a511faac74aee6df666881f7f45600" name="lower_bound" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns a node_ptr to the first element that is not less than "key" according to "comp" or "header" if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   Additional note: no splaying is performed </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1ac82bf79c8dc2592fdec157f4697ef3fe" name="upper_bound" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns a node_ptr to the first element that is greater than "key" according to "comp" or "header" if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   Additional notes: the first node of the range is splayed. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1a88f15f9a716717decf46181a71f57c50" name="upper_bound" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns a node_ptr to the first element that is greater than "key" according to "comp" or "header" if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   Additional note: no splaying is performed </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1a1ab57214d67676ab77e9e9acec72e2de" name="find" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns a node_ptr to the first element that is equivalent to "key" according to "comp" or "header" if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   Additional notes: the found node of the lower bound is splayed. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1a501d2c51bd570690907810ac3da78f88" name="find" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns a node_ptr to the first element that is equivalent to "key" according to "comp" or "header" if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   Additional note: no splaying is performed </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1a87aa99297f40121eb40f6d8f1cc1c154" name="equal_range" specifiers="static"><type>std::pair&lt; node_ptr, node_ptr &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair of node_ptr delimiting a range containing all elements that are equivalent to "key" according to "comp" or an empty range that indicates the position where those elements would be if there are no equivalent elements.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   Additional notes: the first node of the range is splayed. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1a6a15a15bffdcbf9c4de9f92f16c21250" name="equal_range" specifiers="static"><type>std::pair&lt; node_ptr, node_ptr &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair of node_ptr delimiting a range containing all elements that are equivalent to "key" according to "comp" or an empty range that indicates the position where those elements would be if there are no equivalent elements.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   Additional note: no splaying is performed </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1a462e8ddd356b79c3279b9a6696470080" name="lower_bound_range" specifiers="static"><type>std::pair&lt; node_ptr, node_ptr &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair of node_ptr delimiting a range containing the first element that is equivalent to "key" according to "comp" or an empty range that indicates the position where that element would be if there are no equivalent elements.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   Additional notes: the first node of the range is splayed. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1a8d1cb0efff3b4d694092069c691e691e" name="lower_bound_range" specifiers="static"><type>std::pair&lt; node_ptr, node_ptr &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair of node_ptr delimiting a range containing the first element that is equivalent to "key" according to "comp" or an empty range that indicates the position where that element would be if there are no equivalent elements.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   Additional note: no splaying is performed </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1a8bdcd1a8a625c1116c43082e3ce3abd9" name="bounded_range" specifiers="static"><type>std::pair&lt; node_ptr, node_ptr &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs. 'lower_key' must not be greater than 'upper_key' according to 'comp'. If 'lower_key' == 'upper_key', ('left_closed' || 'right_closed') must be true.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key) if left_closed, upper_bound(lower_key) otherwise</para><para>second = upper_bound(upper_key) if right_closed, lower_bound(upper_key) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change.   Additional notes: the first node of the range is splayed. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1af6ec19c32757f681dedecfbaaf40085e" name="bounded_range" specifiers="static"><type>std::pair&lt; node_ptr, node_ptr &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs. 'lower_key' must not be greater than 'upper_key' according to 'comp'. If 'lower_key' == 'upper_key', ('left_closed' || 'right_closed') must be true.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key) if left_closed, upper_bound(lower_key) otherwise</para><para>second = upper_bound(upper_key) if right_closed, lower_bound(upper_key) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change.   Additional note: no splaying is performed </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1ad7bdc855678d9aa8fabee804eb416c84" name="insert_equal_upper_bound" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="NodePtrCompare"/>
        </template><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><parameter name="comp"><paramtype>NodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "h" must be the header node of a tree. NodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. NodePtrCompare compares two node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Inserts new_node into the tree before the upper bound according to "comp".</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity for insert element is at most logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   Additional note: the inserted node is splayed </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1a200b2cb71cb3d7b165e03cca31b16b51" name="insert_equal_lower_bound" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="NodePtrCompare"/>
        </template><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><parameter name="comp"><paramtype>NodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "h" must be the header node of a tree. NodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. NodePtrCompare compares two node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Inserts new_node into the tree before the lower bound according to "comp".</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity for insert element is at most logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   Additional note: the inserted node is splayed </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1a70d75366e8e79601d41ed18c338044c9" name="insert_equal" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="NodePtrCompare"/>
        </template><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="hint"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><parameter name="comp"><paramtype>NodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. NodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. NodePtrCompare compares two node_ptrs. "hint" is node from the "header"'s tree.</para><para><emphasis role="bold">Effects</emphasis>: Inserts new_node into the tree, using "hint" as a hint to where it will be inserted. If "hint" is the upper_bound the insertion takes constant time (two comparisons in the worst case).</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic in general, but it is amortized constant time if new_node is inserted immediately before "hint".</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   Additional note: the inserted node is splayed </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1a899d3167617bea710f0c20967192e417" name="insert_before" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="pos"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. "pos" must be a valid iterator or header (end) node. "pos" must be an iterator pointing to the successor to "new_node" once inserted according to the order of already inserted nodes. This function does not check "pos" and this precondition must be guaranteed by the caller.</para><para><emphasis role="bold">Effects</emphasis>: Inserts new_node into the tree before "pos".</para><para><emphasis role="bold">Complexity</emphasis>: Constant-time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: If "pos" is not the successor of the newly inserted "new_node" tree invariants might be broken.   Additional note: the inserted node is splayed </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1a6ce7f4e7019ebc9e76cc21b89c5e3d7b" name="push_back" cv="noexcept" specifiers="static"><type>void</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. "new_node" must be, according to the used ordering no less than the greatest inserted key.</para><para><emphasis role="bold">Effects</emphasis>: Inserts new_node into the tree before "pos".</para><para><emphasis role="bold">Complexity</emphasis>: Constant-time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: If "new_node" is less than the greatest inserted key tree invariants are broken. This function is slightly faster than using "insert_before".   Additional note: the inserted node is splayed </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1a8eadffe45ef921c2f9608379874af874" name="push_front" cv="noexcept" specifiers="static"><type>void</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. "new_node" must be, according to the used ordering, no greater than the lowest inserted key.</para><para><emphasis role="bold">Effects</emphasis>: Inserts new_node into the tree before "pos".</para><para><emphasis role="bold">Complexity</emphasis>: Constant-time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: If "new_node" is greater than the lowest inserted key tree invariants are broken. This function is slightly faster than using "insert_before".   Additional note: the inserted node is splayed </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1a56077041f44b1f8bb787f16a012f793d" name="insert_unique_check" specifiers="static"><type>std::pair&lt; node_ptr, bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter><description><para>Additional note: nodes with the given key are splayed </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1a33a3862719493bb090c88dcce4275202" name="insert_unique_check" specifiers="static"><type>std::pair&lt; node_ptr, bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="hint"><paramtype>node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter><description><para>Additional note: nodes with the given key are splayed </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1a801077024386746e57f8f0a0a0831251" name="insert_unique_commit" cv="noexcept" specifiers="static"><type>void</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="new_value"><paramtype>node_ptr</paramtype></parameter><parameter name="commit_data"><paramtype>const insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1a94403913f7165ef4d5a5c159bcce4308" name="is_header" cv="noexcept" specifiers="static"><type>bool</type><parameter name="p"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: p is a node of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Returns true if p is the header of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1a0a3dd0e49976266510cf9bc9dced50e3" name="rebalance" cv="noexcept" specifiers="static"><type>void</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header must be the header of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Rebalances the tree.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1a42aef5083d9eb1d1ecda2b56db63c0a8" name="rebalance_subtree" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="old_root"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: old_root is a node of a tree. It shall not be null.</para><para><emphasis role="bold">Effects</emphasis>: Rebalances the subtree rooted at old_root.</para><para><emphasis role="bold">Returns</emphasis>: The new root of the subtree.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Linear.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1ac57ce3a32fd794cfa0279eb819268282" name="splay_up" cv="noexcept" specifiers="static"><type>void</type><parameter name="n"><paramtype>node_ptr</paramtype></parameter><parameter name="header"><paramtype>node_ptr</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1splaytree__algorithms_1aa21f386fc1d2d32afa4488bb11adc66d" name="splay_down" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><parameter name="pfound"><paramtype>bool *</paramtype><default>0</default></parameter></method>
</method-group>
</class>



























































</namespace>
</namespace>
</header>
<header id="doxygen.treap_8hpp" name="boost/intrusive/treap.hpp">
<namespace name="boost">
<namespace name="intrusive">
<struct id="doxygen.structboost_1_1intrusive_1_1make__treap" name="make_treap"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define a <computeroutput>treap</computeroutput> that yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__treap_1a3d78a97b9c004a8e78c7a6a325a22c11" name="packed_options"><type><classname>pack_options</classname>&lt; treap_defaults, O1, O2, O3, O4, O5, O6, O7 &gt;::type</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1make__treap_1a5a1af956f1b1644eb009fce12638cffa" name="value_traits"><type><emphasis>unspecified</emphasis></type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1make__treap_1a94b0637ff02b5e18300c7c9bb0e59870" name="implementation_defined"><type><classname>treap</classname>&lt; value_traits, typename packed_options::key_of_value, typename packed_options::compare, typename packed_options::priority_of_value, typename packed_options::priority, typename packed_options::size_type, packed_options::constant_time_size, typename packed_options::header_holder_type &gt;</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1make__treap_1ad7f0a9615c77b9c5be2547f69041594e" name="type"><type><classname>implementation_defined</classname></type></typedef>
</struct><class id="doxygen.classboost_1_1intrusive_1_1treap" name="treap"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>The class template treap is an intrusive treap container that is used to construct intrusive set and multiset containers. The no-throw guarantee holds only, if the key_compare object and priority_compare object don't throw.</para><para>The template parameter <computeroutput>T</computeroutput> is the type to be managed by the container. The user can specify additional options and if no options are provided default options are used.</para><para>The container supports the following options: <computeroutput>base_hook&lt;&gt;/member_hook&lt;&gt;/value_traits&lt;&gt;</computeroutput>, <computeroutput>constant_time_size&lt;&gt;</computeroutput>, <computeroutput>size_type&lt;&gt;</computeroutput>, <computeroutput>compare&lt;&gt;</computeroutput>, <computeroutput>priority&lt;&gt;</computeroutput> and <computeroutput>priority_of_value&lt;&gt;</computeroutput> </para></description><typedef id="doxygen.classboost_1_1intrusive_1_1treap_1a366dcb8dcb2ffd3d476b3baa42e75930" name="value_traits"><type>ValueTraits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap_1a2c774f311c757cc5c8256723c4ab5f76" name="pointer"><type>implementation_defined::pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap_1a7292277b29a32e1eba86a03d15b6fcc8" name="const_pointer"><type>implementation_defined::const_pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap_1a445643693fa8b49718750a831ee0eada" name="value_type"><type>implementation_defined::value_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap_1a8250e9bd337aebce3f974904c60492dc" name="key_type"><type>implementation_defined::key_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap_1a2d87e3e64e2f9aee5ea4812bd89b26af" name="key_of_value"><type>implementation_defined::key_of_value</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap_1a41a3c5366b7f1e385b5df603ec86a81c" name="reference"><type>implementation_defined::reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap_1a2ecaff81203400fcb5c628dc1df7599d" name="const_reference"><type>implementation_defined::const_reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap_1a650ba02d001fa5fb5a3abc14e46136cd" name="difference_type"><type>implementation_defined::difference_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap_1a739c13f2155f1197501e125e64ed59d3" name="size_type"><type>implementation_defined::size_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap_1a3adf2001f9eb2d615d7e242a8b9e1721" name="value_compare"><type>implementation_defined::value_compare</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap_1a064a65ed9310d1bb2f814a39053f5114" name="key_compare"><type>implementation_defined::key_compare</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap_1a4804d4ff22308316876bb233e8c1004d" name="iterator"><type>implementation_defined::iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap_1ac3a9269b2ee9147b9b1508990dbefa94" name="const_iterator"><type>implementation_defined::const_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap_1ad9af94f596a19b7028704d2563020605" name="reverse_iterator"><type>implementation_defined::reverse_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap_1a8ec6afe8887d4c3ccf3772e94b800df3" name="const_reverse_iterator"><type>implementation_defined::const_reverse_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap_1a0a9eb2a5569d14dd94e3d770afc757ac" name="node_traits"><type>implementation_defined::node_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap_1af54de38c34b0153b475f07f6883d706b" name="node"><type>implementation_defined::node</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap_1a45f43bffc2613daf6243b2b404dc0cb9" name="node_ptr"><type>implementation_defined::node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap_1a6678e291293f7ab2391baf8feea91ba0" name="const_node_ptr"><type>implementation_defined::const_node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap_1a19bad89e96647ebecdd72bc89a2a480c" name="node_algorithms"><type>implementation_defined</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap_1abb89ff9ac2b97f3db3e0d05540d54b9b" name="priority_type"><type>implementation_defined</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap_1acf02b411b42b0c373ffd9607c872d98c" name="priority_of_value"><type>implementation_defined</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap_1aaae9ebf8e7fbddecdaffd13a7242d390" name="priority_compare"><type>implementation_defined</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap_1a132d3e59f3d3226d6d7f6227d8c64ef7" name="prio_node_prio_comp_t"><type><emphasis>unspecified</emphasis></type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap_1abdc1f4c2b1b5ec9cb4d48771d10b53b8" name="insert_commit_data"><type>node_algorithms::insert_commit_data</type></typedef>
<data-member id="doxygen.classboost_1_1intrusive_1_1treap_1a4e0634f7a9eb1a790174f8a617bd512d" name="constant_time_size" specifiers="static"><type>const bool</type></data-member>
<data-member id="doxygen.classboost_1_1intrusive_1_1treap_1af5b2ed5094e61bcb3de9496bedd23d65" name="stateful_value_traits" specifiers="static"><type>const bool</type></data-member>
<data-member id="doxygen.classboost_1_1intrusive_1_1treap_1a3e3f484bd6deaf83c7a15ac8618f4017" name="safemode_or_autounlink" specifiers="static"><type>const bool</type></data-member>
<method-group name="public member functions">
<method id="doxygen.classboost_1_1intrusive_1_1treap_1ab2b593a8a3bf0b9509f3c3d0df1ad99f" name="prio_node_prio_comp" cv="const"><type><emphasis>unspecified</emphasis></type><template>
          <template-type-parameter name="PrioPrioComp"/>
        </template><parameter name="priopriocomp"><paramtype>PrioPrioComp</paramtype></parameter></method>
<constructor id="doxygen.classboost_1_1intrusive_1_1treap_1aa5005f23ceb0b7783c0d83835766b3b1"><description><para><emphasis role="bold">Effects</emphasis>: Constructs an empty container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the copy constructor of the value_compare/priority_compare objects throw. Basic guarantee. </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1treap_1acdfc3fd85599d99806a7575e187c27df" specifiers="explicit"><parameter name="cmp"><paramtype>const key_compare &amp;</paramtype></parameter><parameter name="pcmp"><paramtype>const priority_compare &amp;</paramtype><default>priority_compare()</default></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter><description><para><emphasis role="bold">Effects</emphasis>: Constructs an empty container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the copy constructor of the value_compare/priority_compare objects throw. Basic guarantee. </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1treap_1a83e7138aa1989f0e9efd941421151885"><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="unique"><paramtype>bool</paramtype></parameter><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><parameter name="cmp"><paramtype>const key_compare &amp;</paramtype><default>key_compare()</default></parameter><parameter name="pcmp"><paramtype>const priority_compare &amp;</paramtype><default>priority_compare()</default></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type. cmp must be a comparison function that induces a strict weak ordering.</para><para><emphasis role="bold">Effects</emphasis>: Constructs an empty container and inserts elements from [b, e).</para><para><emphasis role="bold">Complexity</emphasis>: Linear in N if [b, e) is already sorted using comp and otherwise N * log N, where N is the distance between first and last.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the copy constructor/operator() of the key_compare/priority_compare objects throw. Basic guarantee. </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1treap_1a5dfadae44f3936c9e08517cc2aefc0c4"><parameter name="x"><paramtype><classname>treap</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Constructs a container moving resources from another container. Internal comparison object and value traits are move constructed and nodes belonging to x (except the node representing the "end") are linked to *this.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node's move constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the move constructor of the comparison objet throws.   </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1treap_1afa97115b3ea5dc076338a862d3d58053"><type><classname>treap</classname> &amp;</type><parameter name="x"><paramtype><classname>treap</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Equivalent to swap  </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1treap_1a2ad62e4799e4614b28f16bd48ac06628"><description><para><emphasis role="bold">Effects</emphasis>: Detaches all elements from this. The objects in the set are not deleted (i.e. no destructors are called), but the nodes according to the <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> template parameter are reinitialized and thus can be reused.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1afe5b600f4848f7144ee1a531a22663e5" name="begin" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1af3ab2195d8b4c271ff81e37bfb0504cb" name="begin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1ab82701b63b386088bd41a2751e8b5408" name="cbegin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a82bbf637ad07d148cc8578b40910c57c" name="end" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1aa41c8e538f482e7999e029db24742ceb" name="end" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a82c61aa2d2d7e9f978f1e4fefc034fdb" name="cend" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a90e601cdd6394ab8a56f56f8c1678015" name="top" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the highest priority object of the treap.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a87cd1503bbac9b134994a025685e164b" name="top" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the highest priority object of the treap..</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a9b7038e9fff384d7619ca8a70cd786d1" name="ctop" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the highest priority object of the treap..</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a0a43d24e3e1a3b4175d9dbf54dc4cea8" name="rbegin" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a4d053192de9cb214f19ce18e9c11846f" name="rbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1adc1b81a7f8ba32d4d8631f12499c4f3c" name="crbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1ab59cb84ab635e12da247bdadaadbd07a" name="rend" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a375734ce4aeec1a7a5cff4a49c8820f8" name="rend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a521bb9a76cacb33fb178d7946f8a8a18" name="crend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a6dcd6ed5b82772e5ed4d69415c3ee787" name="root" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1treap_1a82bbf637ad07d148cc8578b40910c57c">end()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1aa2f187a7cdfe25a08c6945f252c52e8d" name="root" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1treap_1a82c61aa2d2d7e9f978f1e4fefc034fdb">cend()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a406e6519e898f8e4d8307054335b539c" name="croot" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1treap_1a82c61aa2d2d7e9f978f1e4fefc034fdb">cend()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1abda6aa4cbe3eb67b92252c2963ea91b3" name="rtop" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the highest priority object of the reversed treap.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1ad0a4c8d16e31146d4e4627abf5b240d3" name="rtop" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the highest priority objec of the reversed treap.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1ab46486f1806dda9beac484f83b7da8f9" name="crtop" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the highest priority object of the reversed treap.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a353c5aabb55efc8fcbf3d6face98b226" name="key_comp" cv="const"><type>key_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the key_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If key_compare copy-constructor throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a04fcd65bc8eb27c18b489eac6d8b9ee3" name="value_comp" cv="const"><type>value_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the value_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_compare copy-constructor throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a915b70cf518fd4e7b8b999a1a78a8d3a" name="empty" cv="const noexcept"><type>bool</type><description><para><emphasis role="bold">Effects</emphasis>: Returns true if the container is empty.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1adb0b5e4b93a356bd4ea5dd9cea4f3b60" name="size" cv="const noexcept"><type>size_type</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the number of elements stored in the container.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this if constant-time size option is disabled. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1ad0811f22645f8bf3d4d73023c0cb61b8" name="priority_comp" cv="const"><type>priority_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the priority_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If priority_compare copy-constructor throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a1f24f68a123f79302fd64931d80bb11c" name="swap"><type>void</type><parameter name="other"><paramtype><classname>treap</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Swaps the contents of two treaps.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor's swap call throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a1b98a03f28804205395259051941a472" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype>const <classname>treap</classname> &amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(const_reference ) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a94044d29f8ca0b708674eb3f6e38c02b" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype><classname>treap</classname> &amp;&amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(reference) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a72d7998509c29365003fcb0a65e83ad3" name="insert_equal"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue</para><para><emphasis role="bold">Effects</emphasis>: Inserts value into the container before the upper bound.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity for insert element is at most logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If the internal key_compare or priority_compare functions throw. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a047fa24b01ccf477a3695de226eb21d1" name="insert_equal"><type>iterator</type><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and "hint" must be a valid iterator.</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container, using "hint" as a hint to where it will be inserted. If "hint" is the upper_bound the insertion takes constant time (two comparisons in the worst case)</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic in general, but it is amortized constant time if t is inserted immediately before hint.</para><para><emphasis role="bold">Throws</emphasis>: If the internal key_compare or priority_compare functions throw. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a9cd60027b386af982618212646a993e1" name="insert_equal"><type>void</type><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type.</para><para><emphasis role="bold">Effects</emphasis>: Inserts a each element of a range into the container before the upper bound of the key of each element.</para><para><emphasis role="bold">Complexity</emphasis>: Insert range is in general O(N * log(N)), where N is the size of the range. However, it is linear in N if the range is already sorted by <link linkend="doxygen.classboost_1_1intrusive_1_1treap_1a353c5aabb55efc8fcbf3d6face98b226">key_comp()</link>.</para><para><emphasis role="bold">Throws</emphasis>: If the internal key_compare or priority_compare functions throw. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a509861247320895931e9bebf3738b365" name="insert_unique"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue</para><para><emphasis role="bold">Effects</emphasis>: Inserts value into the container if the value is not already present.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity for insert element is at most logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If the internal key_compare or priority_compare functions throw. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a9498d8ca5b41e6371f0650d30809981b" name="insert_unique"><type>iterator</type><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and "hint" must be a valid iterator</para><para><emphasis role="bold">Effects</emphasis>: Tries to insert x into the container, using "hint" as a hint to where it will be inserted.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic in general, but it is amortized constant time (two comparisons in the worst case) if t is inserted immediately before hint.</para><para><emphasis role="bold">Throws</emphasis>: If the internal key_compare or priority_compare functions throw. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1acfb15246401df924edd82ae7837117e7" name="insert_unique"><type>void</type><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type.</para><para><emphasis role="bold">Effects</emphasis>: Tries to insert each element of a range into the container.</para><para><emphasis role="bold">Complexity</emphasis>: Insert range is in general O(N * log(N)), where N is the size of the range. However, it is linear in N if the range is already sorted by <link linkend="doxygen.classboost_1_1intrusive_1_1treap_1a353c5aabb55efc8fcbf3d6face98b226">key_comp()</link>.</para><para><emphasis role="bold">Throws</emphasis>: If the internal key_compare or priority_compare functions throw. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a245fd955f8d94f7eb753e7cece3f6aa8" name="insert_unique_check"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="prio"><paramtype>const priority_type &amp;</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Checks if a value can be inserted in the container, using a user provided key instead of the value itself.</para><para><emphasis role="bold">Returns</emphasis>: If there is an equivalent value returns a pair containing an iterator to the already present value and false. If the value can be inserted returns true in the returned pair boolean and fills "commit_data" that is meant to be used with the "insert_commit" function.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is at most logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison or predicate functions throw. Strong guarantee.</para><para><emphasis role="bold">Notes</emphasis>: This function is used to improve performance when constructing a value_type is expensive: if there is an equivalent value the constructed object must be discarded. Many times, the part of the node that is used to impose the order is much cheaper to construct than the value_type and this function offers the possibility to use that part to check if the insertion will be successful.</para><para>If the check is successful, the user can construct the value_type and use "insert_commit" to insert the object in constant-time. This gives a total logarithmic complexity to the insertion: check(O(log(N)) + commit(O(1)).</para><para>"commit_data" remains valid for a subsequent "insert_commit" only if no more objects are inserted or erased from the container. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a93d86460d3343a386fe835a10abd8cff" name="insert_unique_check"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="prio"><paramtype>const priority_type &amp;</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Checks if a value can be inserted in the container, using a user provided key instead of the value itself, using "hint" as a hint to where it will be inserted.</para><para><emphasis role="bold">Returns</emphasis>: If there is an equivalent value returns a pair containing an iterator to the already present value and false. If the value can be inserted returns true in the returned pair boolean and fills "commit_data" that is meant to be used with the "insert_commit" function.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic in general, but it's amortized constant time if t is inserted immediately before hint.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison or predicate functions throw. Strong guarantee.</para><para><emphasis role="bold">Notes</emphasis>: This function is used to improve performance when constructing a value_type is expensive: if there is an equivalent value the constructed object must be discarded. Many times, the part of the constructing that is used to impose the order is much cheaper to construct than the value_type and this function offers the possibility to use that key to check if the insertion will be successful.</para><para>If the check is successful, the user can construct the value_type and use "insert_commit" to insert the object in constant-time. This can give a total constant-time complexity to the insertion: check(O(1)) + commit(O(1)).</para><para>"commit_data" remains valid for a subsequent "insert_commit" only if no more objects are inserted or erased from the container. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a727abda0a221ed3a2cf1c51c20c5c6cf" name="insert_unique_check"><type>std::pair&lt; iterator BOOST_INTRUSIVE_I bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
          <template-type-parameter name="PrioType"/>
          <template-type-parameter name="PrioValuePrioCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="prio"><paramtype>const PrioType &amp;</paramtype></parameter><parameter name="prio_value_pcomp"><paramtype>PrioValuePrioCompare</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: comp must be a comparison function that induces the same strict weak ordering as key_compare. prio_value_pcomp must be a comparison function that induces the same strict weak ordering as priority_compare. The difference is that prio_value_pcomp and comp compare an arbitrary key/priority with the contained values.</para><para><emphasis role="bold">Effects</emphasis>: Checks if a value can be inserted in the container, using a user provided key instead of the value itself.</para><para><emphasis role="bold">Returns</emphasis>: If there is an equivalent value returns a pair containing an iterator to the already present value and false. If the value can be inserted returns true in the returned pair boolean and fills "commit_data" that is meant to be used with the "insert_commit" function.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is at most logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If the comp or prio_value_pcomp ordering functions throw. Strong guarantee.</para><para><emphasis role="bold">Notes</emphasis>: This function is used to improve performance when constructing a value_type is expensive: if there is an equivalent value the constructed object must be discarded. Many times, the part of the node that is used to impose the order is much cheaper to construct than the value_type and this function offers the possibility to use that part to check if the insertion will be successful.</para><para>If the check is successful, the user can construct the value_type and use "insert_commit" to insert the object in constant-time. This gives a total logarithmic complexity to the insertion: check(O(log(N)) + commit(O(1)).</para><para>"commit_data" remains valid for a subsequent "insert_commit" only if no more objects are inserted or erased from the container. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a18a36d2c1bfa18128171c65adaea3071" name="insert_unique_check"><type>std::pair&lt; iterator, bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
          <template-type-parameter name="PrioType"/>
          <template-type-parameter name="PrioValuePrioCompare"/>
        </template><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="prio"><paramtype>const PrioType &amp;</paramtype></parameter><parameter name="prio_value_pcomp"><paramtype>PrioValuePrioCompare</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: comp must be a comparison function that induces the same strict weak ordering as key_compare. prio_value_pcomp must be a comparison function that induces the same strict weak ordering as priority_compare. The difference is that prio_value_pcomp and comp compare an arbitrary key/priority with the contained values.</para><para><emphasis role="bold">Effects</emphasis>: Checks if a value can be inserted in the container, using a user provided key instead of the value itself, using "hint" as a hint to where it will be inserted.</para><para><emphasis role="bold">Returns</emphasis>: If there is an equivalent value returns a pair containing an iterator to the already present value and false. If the value can be inserted returns true in the returned pair boolean and fills "commit_data" that is meant to be used with the "insert_commit" function.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic in general, but it's amortized constant time if t is inserted immediately before hint.</para><para><emphasis role="bold">Throws</emphasis>: If the comp or prio_value_pcomp ordering functions throw. Strong guarantee.</para><para><emphasis role="bold">Notes</emphasis>: This function is used to improve performance when constructing a value_type is expensive: if there is an equivalent value the constructed object must be discarded. Many times, the part of the constructing that is used to impose the order is much cheaper to construct than the value_type and this function offers the possibility to use that key to check if the insertion will be successful.</para><para>If the check is successful, the user can construct the value_type and use "insert_commit" to insert the object in constant-time. This can give a total constant-time complexity to the insertion: check(O(1)) + commit(O(1)).</para><para>"commit_data" remains valid for a subsequent "insert_commit" only if no more objects are inserted or erased from the container. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a75fc694fd96fb9cf5301246ce4820745" name="insert_unique_commit" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter><parameter name="commit_data"><paramtype>const insert_commit_data &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue of type value_type. commit_data must have been obtained from a previous call to "insert_check". No objects should have been inserted or erased from the container between the "insert_check" that filled "commit_data" and the call to "insert_commit".</para><para><emphasis role="bold">Effects</emphasis>: Inserts the value in the <link linkend="doxygen.classboost_1_1intrusive_1_1avl__set">avl_set</link> using the information obtained from the "commit_data" that a previous "insert_check" filled.</para><para><emphasis role="bold">Returns</emphasis>: An iterator to the newly inserted object.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing</para><para><emphasis role="bold">Notes</emphasis>: This function has only sense if a "insert_check" has been previously executed to fill "commit_data". No value should be inserted or erased between the "insert_check" and "insert_commit" calls. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1aaa6b7321d9a7fb9c79a898d55cc3836e" name="insert_before" cv="noexcept"><type>iterator</type><parameter name="pos"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, "pos" must be a valid iterator (or end) and must be the succesor of value once inserted according to the predicate</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container before "pos".</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: If the internal priority_compare function throws. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if "pos" is not the successor of "value" container ordering invariant will be broken. This is a low-level function to be used only for performance reasons by advanced users. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a2b3c74a7e744ecadb1b7d6d8f0328c94" name="push_back" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and it must be no less than the greatest inserted key</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container in the last position.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: If the internal priority_compare function throws. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if value is less than the greatest inserted key container ordering invariant will be broken. This function is slightly more efficient than using "insert_before". This is a low-level function to be used only for performance reasons by advanced users. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1af7294cfbfeb05c215d46c8db26c719d9" name="push_front" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and it must be no greater than the minimum inserted key</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container in the first position.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: If the internal priority_compare function throws. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if value is greater than the minimum inserted key container ordering invariant will be broken. This function is slightly more efficient than using "insert_before". This is a low-level function to be used only for performance reasons by advanced users. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a9df5cb14aa3d9a35fccab4cc173849a4" name="erase" cv="noexcept"><type>iterator</type><parameter name="i"><paramtype>const_iterator</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases the element pointed to by i.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity for erase element is constant time.</para><para><emphasis role="bold">Throws</emphasis>: if the internal priority_compare function throws. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a1e709ca78df7066338ff3eb5de42c82e" name="erase" cv="noexcept"><type>iterator</type><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases the range pointed to by b end e.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity for erase range is at most O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1treap_1adb0b5e4b93a356bd4ea5dd9cea4f3b60">size()</link> + N)), where N is the number of elements in the range.</para><para><emphasis role="bold">Throws</emphasis>: if the internal priority_compare function throws. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a8f0cb9d77e0837c19df2ef7076afbc54" name="erase"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given value.</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1treap_1adb0b5e4b93a356bd4ea5dd9cea4f3b60">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: if the internal priority_compare function throws. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1aca0be098af102475f14f4b7c5be4747a" name="erase"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "comp".</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1treap_1adb0b5e4b93a356bd4ea5dd9cea4f3b60">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: if the internal priority_compare function throws. Equivalent guarantee to <emphasis>while(beg != end) erase(beg++);</emphasis></para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a06cd937986bea0833fbbfbe56a723cbf" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="i"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases the element pointed to by i. Disposer::operator()(pointer) is called for the removed element.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity for erase element is constant time.</para><para><emphasis role="bold">Throws</emphasis>: if the internal priority_compare function throws. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased elements. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a81a64068c7071feb6d6ea5e0f14cbb04" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases the range pointed to by b end e. Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity for erase range is at most O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1treap_1adb0b5e4b93a356bd4ea5dd9cea4f3b60">size()</link> + N)), where N is the number of elements in the range.</para><para><emphasis role="bold">Throws</emphasis>: if the internal priority_compare function throws. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased elements. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1adda4be4d901e3288c99c5cc4274a2df6" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given value. Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1treap_1adb0b5e4b93a356bd4ea5dd9cea4f3b60">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: if the priority_compare function throws then weak guarantee and heap invariants are broken. The safest thing would be to clear or destroy the container.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1aa410f2207a57593cd2e1d7f9d5350bd2" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "comp". Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1treap_1adb0b5e4b93a356bd4ea5dd9cea4f3b60">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: if the priority_compare function throws then weak guarantee and heap invariants are broken. The safest thing would be to clear or destroy the container.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased elements. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a1410d4cc36d2f3f4249073dea8988b3f" name="clear" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements on the container. if it's a safe-mode or auto-unlink value_type. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1ac8ef4da051d24961cca71e271faa87bb" name="clear_and_dispose" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements calling disposer(p) for each node to be erased. <emphasis role="bold">Complexity</emphasis>: Average complexity for is at most O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1treap_1adb0b5e4b93a356bd4ea5dd9cea4f3b60">size()</link> + N)), where N is the number of elements in the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. Calls N times to disposer functor. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1aa90805cbfecb176bbedab2392ee9538b" name="merge_unique"><type>void</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options2"><type>class ...</type></template-nontype-parameter>
        </template><parameter name=""><paramtype><classname>sgtree</classname>&lt; T, Options2... &gt; &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "source" container's Options can only can differ in the comparison function from *this.</para><para><emphasis role="bold">Effects</emphasis>: Attempts to extract each element in source and insert it into a using the comparison object of *this. If there is an element in a with key equivalent to the key of an element from source, then that element is not extracted from source.</para><para><emphasis role="bold">Postcondition</emphasis>: Pointers and references to the transferred elements of source refer to those same elements but as members of *this. Iterators referring to the transferred elements will continue to refer to their elements, but they now behave as iterators into *this, not into source.</para><para><emphasis role="bold">Throws</emphasis>: Nothing unless the comparison object throws.</para><para><emphasis role="bold">Complexity</emphasis>: N log(a.size() + N) (N has the value source.size())   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1af64b60393748702aeb4ab90235430d53" name="while"><type/><parameter name=""><paramtype>it !</paramtype><default>itend</default></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a044a726c81d72bd501aae236fa20c4fb" name="merge_equal"><type>void</type><template>
          <template-type-parameter name="T"/>
          <template-nontype-parameter name="Options2"><type>class ...</type></template-nontype-parameter>
        </template><parameter name=""><paramtype><classname>sgtree</classname>&lt; T, Options2... &gt; &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1af64b60393748702aeb4ab90235430d53" name="while"><type/><parameter name=""><paramtype>it !</paramtype><default>itend</default></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1ab5ea75121645b1943543de088111e2ba" name="check" cv="const"><type>void</type><template>
          <template-type-parameter name="ExtraChecker"/>
        </template><parameter name="extra_checker"><paramtype>ExtraChecker</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Asserts the integrity of the container with additional checks provided by the user.</para><para><emphasis role="bold">Complexity</emphasis>: Linear time.</para><para><emphasis role="bold">Note</emphasis>: The method might not have effect when asserts are turned off (e.g., with NDEBUG). Experimental function, interface might change in future versions.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a22d3959061648f76e46b8915be4c17cc" name="check" cv="const"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Asserts the integrity of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Linear time.</para><para><emphasis role="bold">Note</emphasis>: The method has no effect when asserts are turned off (e.g., with NDEBUG). Experimental function, interface might change in future versions.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1ac756ad0ce12eb71af7288c931c480f99" name="count" cv="const"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a79e3b1ed5c08752bbd0414be8fa87774" name="count" cv="const"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of contained elements with the given key</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic to the number of elements contained plus lineal to number of objects with the given key.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a11288c424f26fddf087121a7395b1660" name="lower_bound"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1aae81806305d32a2f0a21f4ec9c6cd4be" name="lower_bound"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1aacfec76aafb5c7edd75c63a378ffe740" name="lower_bound" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a749ceda043628800eb00afc8fd19647a" name="lower_bound" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1aad75d1126df0453d1590f6dba6a21cce" name="upper_bound"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1af4e1e0d2e4848951d668c6207fe4be98" name="upper_bound"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k according to comp or <link linkend="doxygen.classboost_1_1intrusive_1_1treap_1a82bbf637ad07d148cc8578b40910c57c">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a3ba338f751999d93e4761a3b1f9ac8de" name="upper_bound" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a7337c79687c891e6908da21f50da4070" name="upper_bound" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k according to comp or <link linkend="doxygen.classboost_1_1intrusive_1_1treap_1a82bbf637ad07d148cc8578b40910c57c">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1ac79216ad51492da4bc19585ff6e66e6c" name="find"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a94239c0718be31ca9f5ec09e14e81c7d" name="find"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1treap_1a82bbf637ad07d148cc8578b40910c57c">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a222c478276b449f76dde5500512423e1" name="find" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1ae5b0e57111ca90ff62dfd1e5e010e428" name="find" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1treap_1a82bbf637ad07d148cc8578b40910c57c">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a98d9fa231d5162bdb9b103a13d1d8e8c" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a6d75cced703b36cf06000cc78745ee63" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a2b9babf057cd88a30ccea73ba57fe01f" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a5d4145ac659c6961eb906cd2ae94f133" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a5623bd31fa746210cc7c0dd88c817f62" name="bounded_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="lower_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1ab23c90bd606f77789be6b750ef866e08" name="bounded_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>lower_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, lower_key) if left_closed is true, with respect to !comp(lower_key, nk) otherwise.</para><para><computeroutput>upper_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(upper_key, nk) if right_closed is true, with respect to comp(nk, upper_key) otherwise.</para><para><computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to comp [comp(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!comp(upper_key, lower_key) &amp;&amp; !comp(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise</para><para>second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a495a7784b3a62218739ac575d3998113" name="bounded_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="lower_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a568dbf1a708530d1e276d51219b1d9bd" name="bounded_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>lower_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, lower_key) if left_closed is true, with respect to !comp(lower_key, nk) otherwise.</para><para><computeroutput>upper_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(upper_key, nk) if right_closed is true, with respect to comp(nk, upper_key) otherwise.</para><para><computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to comp [comp(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!comp(upper_key, lower_key) &amp;&amp; !comp(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise</para><para>second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1abb9cff97662c39f14adcbfd73f68500c" name="iterator_to" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a1ff3dcc6a68558dd261dee6d3511d4f7" name="iterator_to" cv="const noexcept"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1ae46352ed318e1af9e5354b013c0d6739" name="unlink_leftmost_without_rebalance" cv="noexcept"><type>pointer</type><description><para><emphasis role="bold">Effects</emphasis>: Unlinks the leftmost node from the container.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function breaks the container and the container can only be used for more unlink_leftmost_without_rebalance calls. This function is normally used to achieve a step by step controlled destruction of the container.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a7a32104a0080338e565f8059e01b2926" name="replace_node" cv="noexcept"><type>void</type><parameter name="replace_this"><paramtype>iterator</paramtype></parameter><parameter name="with_this"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: replace_this must be a valid iterator of *this and with_this must not be inserted in any container.</para><para><emphasis role="bold">Effects</emphasis>: Replaces replace_this in its position in the container with with_this. The container does not need to be rebalanced.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if with_this is not equivalent to *replace_this according to the ordering rules. This function is faster than erasing and inserting the node, since no rebalancing or comparison is needed.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a4c4ec16c6dfe81f9beace59e71a39dfb" name="remove_node" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: removes "value" from the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic time.</para><para><emphasis role="bold">Note</emphasis>: This static function is only usable with non-constant time size containers that have stateless comparison functors.</para><para>If the user calls this function with a constant time size container or stateful comparison functor a compilation error will be issued.   </para></description></method>
</method-group>
<method-group name="public static functions">
<method id="doxygen.classboost_1_1intrusive_1_1treap_1aea8f79da50cf973020226e75f713437a" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type><classname>treap</classname> &amp;</type><parameter name="end_iterator"><paramtype>iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1add2f71f4bd07443095e1ade53b161af9" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type>const <classname>treap</classname> &amp;</type><parameter name="end_iterator"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a47eed604a8a40e0dc9fa9470b9bf3938" name="container_from_iterator" cv="noexcept" specifiers="static"><type><classname>treap</classname> &amp;</type><parameter name="it"><paramtype>iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1ab50d914429e86623aacabad3c3fcde16" name="container_from_iterator" cv="noexcept" specifiers="static"><type>const <classname>treap</classname> &amp;</type><parameter name="it"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1aad2fdddc6e6c66a214a59caaa36d2b0f" name="s_iterator_to" cv="noexcept" specifiers="static"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1abcbbddc4ae42c2116cd0978bf099a907" name="s_iterator_to" cv="noexcept" specifiers="static"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap_1a9f967824904b63d61df441ffecb2d35a" name="init_node" cv="noexcept" specifiers="static"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
</method-group>
</class>



























































</namespace>
</namespace>
</header>
<header id="doxygen.treap__algorithms_8hpp" name="boost/intrusive/treap_algorithms.hpp">
<namespace name="boost">
<namespace name="intrusive">
<class id="doxygen.classboost_1_1intrusive_1_1treap__algorithms" name="treap_algorithms"><template>
      <template-type-parameter name="NodeTraits"/>
    </template><description><para><link linkend="doxygen.classboost_1_1intrusive_1_1treap__algorithms">treap_algorithms</link> provides basic algorithms to manipulate nodes forming a treap.</para><para>(1) the header node is maintained with links not only to the root but also to the leftmost node of the tree, to enable constant time begin(), and to the rightmost node of the tree, to enable linear time performance when used with the generic set algorithms (set_union, etc.);</para><para>(2) when a node being deleted has two children its successor node is relinked into its place, rather than copied, so that the only pointers invalidated are those referring to the deleted node.</para><para><link linkend="doxygen.classboost_1_1intrusive_1_1treap__algorithms">treap_algorithms</link> is configured with a NodeTraits class, which encapsulates the information about the node to be manipulated. NodeTraits must support the following interface:</para><para><emphasis role="bold">Typedefs</emphasis>:</para><para><computeroutput>node</computeroutput>: The type of the node that forms the treap</para><para><computeroutput>node_ptr</computeroutput>: A pointer to a node</para><para><computeroutput>const_node_ptr</computeroutput>: A pointer to a const node</para><para><emphasis role="bold">Static functions</emphasis>:</para><para><computeroutput>static node_ptr get_parent(const_node_ptr n);</computeroutput></para><para><computeroutput>static void set_parent(node_ptr n, node_ptr parent);</computeroutput></para><para><computeroutput>static node_ptr get_left(const_node_ptr n);</computeroutput></para><para><computeroutput>static void set_left(node_ptr n, node_ptr left);</computeroutput></para><para><computeroutput>static node_ptr get_right(const_node_ptr n);</computeroutput></para><para><computeroutput>static void set_right(node_ptr n, node_ptr right);</computeroutput> </para></description><struct id="doxygen.structboost_1_1intrusive_1_1treap__algorithms_1_1insert__commit__data" name="insert_commit_data"><description><para>This type is the information that will be filled by insert_unique_check </para></description></struct><typedef id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1a4a6fa2a42ea43f6c32a0b977bb018aa8" name="node_traits"><type>NodeTraits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1ad575caba6182d11ac36162ca2e2e404a" name="node"><type>NodeTraits::node</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1aec36bd4c85f9ecfc8ab8a4ad5ca81066" name="node_ptr"><type>NodeTraits::node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1ad81cffe49ab7bb0f76f498b5fc404c8b" name="const_node_ptr"><type>NodeTraits::const_node_ptr</type></typedef>
<method-group name="public static functions">
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1a6b8a3a35dfd8e6b73b3abe58b0ac6f9a" name="get_header" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="n"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'n' is a node of the tree or a header node.</para><para><emphasis role="bold">Effects</emphasis>: Returns the header of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1abe4624e39a46539d0a605fd1b8064ef2" name="begin_node" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'header' is the header node of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Returns the first node of the tree, the header if the tree is empty.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1a7d1c5863e17aa7cf3766050345423638" name="end_node" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'header' is the header node of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Returns the header of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1adaa3d075756a1e3a7b31e4ebf76f89c1" name="swap_tree" cv="noexcept" specifiers="static"><type>void</type><parameter name="header1"><paramtype>node_ptr</paramtype></parameter><parameter name="header2"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header1 and header2 must be the header nodes of two trees.</para><para><emphasis role="bold">Effects</emphasis>: Swaps two trees. After the function header1 will contain links to the second tree and header2 will have links to the first tree.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1a24a8b60ce24cc2c17b5ce288c9ca0c8a" name="swap_nodes" cv="noexcept" specifiers="static"><type>void</type><parameter name="node1"><paramtype>node_ptr</paramtype></parameter><parameter name="node2"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: node1 and node2 can't be header nodes of two trees.</para><para><emphasis role="bold">Effects</emphasis>: Swaps two nodes. After the function node1 will be inserted in the position node2 before the function. node2 will be inserted in the position node1 had before the function.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if node1 and node2 are not equivalent according to the ordering rules.</para><para>Experimental function   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1a65d9eaedd6b16cd19e4b435e52818336" name="swap_nodes" cv="noexcept" specifiers="static"><type>void</type><parameter name="node1"><paramtype>node_ptr</paramtype></parameter><parameter name="header1"><paramtype>node_ptr</paramtype></parameter><parameter name="node2"><paramtype>node_ptr</paramtype></parameter><parameter name="header2"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: node1 and node2 can't be header nodes of two trees with header header1 and header2.</para><para><emphasis role="bold">Effects</emphasis>: Swaps two nodes. After the function node1 will be inserted in the position node2 before the function. node2 will be inserted in the position node1 had before the function.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if node1 and node2 are not equivalent according to the ordering rules.</para><para>Experimental function   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1ae1cc9c0014359523e024b14ec6da8dcc" name="replace_node" cv="noexcept" specifiers="static"><type>void</type><parameter name="node_to_be_replaced"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: node_to_be_replaced must be inserted in a tree and new_node must not be inserted in a tree.</para><para><emphasis role="bold">Effects</emphasis>: Replaces node_to_be_replaced in its position in the tree with new_node. The tree does not need to be rebalanced</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if new_node is not equivalent to node_to_be_replaced according to the ordering rules. This function is faster than erasing and inserting the node, since no rebalancing and comparison is needed. Experimental function   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1a244d9ff6a4c00966d912a0edccf3f391" name="replace_node" cv="noexcept" specifiers="static"><type>void</type><parameter name="node_to_be_replaced"><paramtype>node_ptr</paramtype></parameter><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: node_to_be_replaced must be inserted in a tree with header "header" and new_node must not be inserted in a tree.</para><para><emphasis role="bold">Effects</emphasis>: Replaces node_to_be_replaced in its position in the tree with new_node. The tree does not need to be rebalanced</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if new_node is not equivalent to node_to_be_replaced according to the ordering rules. This function is faster than erasing and inserting the node, since no rebalancing or comparison is needed. Experimental function   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1a8e4bfafbbec4a3d236f892888012cb35" name="unlink" specifiers="static"><type>void</type><template>
          <template-type-parameter name="NodePtrPriorityCompare"/>
        </template><parameter name="n"><paramtype>node_ptr</paramtype></parameter><parameter name="pcomp"><paramtype>NodePtrPriorityCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'n' is a tree node but not the header.</para><para><emphasis role="bold">Effects</emphasis>: Unlinks the node and rebalances the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1ac1c5fa346d578714926f5e8499dbf11f" name="unlink_leftmost_without_rebalance" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header is the header of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Unlinks the leftmost node from the tree, and updates the header link to the new leftmost node.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function breaks the tree and the tree can only be used for more unlink_leftmost_without_rebalance calls. This function is normally used to achieve a step by step controlled destruction of the tree.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1ab8b7b5d918671326fcb7ae6645714ccb" name="unique" cv="noexcept" specifiers="static"><type>bool</type><parameter name="n"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'n' is a node of the tree or a node initialized by init(...) or init_node.</para><para><emphasis role="bold">Effects</emphasis>: Returns true if the node is initialized by <link linkend="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1a053d5cd367252d565872c17b621bf9f7">init()</link> or init_node().</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1a16cab04d7f5457b80d59bddbddd791b2" name="size" cv="noexcept" specifiers="static"><type>std::size_t</type><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'header' the header of the tree.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of nodes of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Linear time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1a98f42a3dcad245927c371304be309e49" name="next_node" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="n"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'n' is a node from the tree except the header.</para><para><emphasis role="bold">Effects</emphasis>: Returns the next node of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Average constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1a07346163d39d4a9f14245aaaf4257b53" name="prev_node" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="n"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'n' is a node from the tree except the leftmost node.</para><para><emphasis role="bold">Effects</emphasis>: Returns the previous node of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Average constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1a053d5cd367252d565872c17b621bf9f7" name="init" cv="noexcept" specifiers="static"><type>void</type><parameter name="n"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: 'n' must not be part of any tree.</para><para><emphasis role="bold">Effects</emphasis>: After the function unique(node) == true.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Nodes</emphasis>: If node is inserted in a tree, this function corrupts the tree.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1a45928a3cdc97aee9a36cc535beabee55" name="init_header" cv="noexcept" specifiers="static"><type>void</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header must not be part of any tree.</para><para><emphasis role="bold">Effects</emphasis>: Initializes the header to represent an empty tree. unique(header) == true.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Nodes</emphasis>: If header is inserted in a tree, this function corrupts the tree.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1a92219285aaeb2036b466f46a71dbad73" name="erase" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="NodePtrPriorityCompare"/>
        </template><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="z"><paramtype>node_ptr</paramtype></parameter><parameter name="pcomp"><paramtype>NodePtrPriorityCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header must be the header of a tree, z a node of that tree and z != header.</para><para><emphasis role="bold">Effects</emphasis>: Erases node "z" from the tree with header "header".</para><para><emphasis role="bold">Complexity</emphasis>: Amortized constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1af117114ec42ad60533535e3101667a19" name="clone" specifiers="static"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="source_header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="target_header"><paramtype>node_ptr</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "cloner" must be a function object taking a node_ptr and returning a new cloned node of it. "disposer" must take a node_ptr and shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: First empties target tree calling <computeroutput>void disposer::operator()(node_ptr)</computeroutput> for every node of the tree except the header.</para><para>Then, duplicates the entire tree pointed by "source_header" cloning each source node with <computeroutput>node_ptr Cloner::operator()(node_ptr)</computeroutput> to obtain the nodes of the target tree. If "cloner" throws, the cloned target nodes are disposed using <computeroutput>void disposer(node_ptr )</computeroutput>.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of element of the source tree plus the number of elements of tree target tree when calling this function.</para><para><emphasis role="bold">Throws</emphasis>: If cloner functor throws. If this happens target nodes are disposed.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1afca573e4a5fa3f6ffb7739f31ce8a8fa" name="clear_and_dispose" cv="noexcept" specifiers="static"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "disposer" must be an object function taking a node_ptr parameter and shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Empties the target tree calling <computeroutput>void disposer::operator()(node_ptr)</computeroutput> for every node of the tree except the header.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of element of the source tree plus the. number of elements of tree target tree when calling this function.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1aabda6c091c699b0e88b2c8daed4cc12d" name="lower_bound" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns a node_ptr to the first element that is not less than "key" according to "comp" or "header" if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1a34950832db47a885b98439575ff789f3" name="upper_bound" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns a node_ptr to the first element that is greater than "key" according to "comp" or "header" if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1a1132014feaf50f2873055e526ffdf68c" name="find" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns a node_ptr to the first element that is equivalent to "key" according to "comp" or "header" if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1a67399efbd642a98aedbfeb4c50e45143" name="equal_range" specifiers="static"><type>std::pair&lt; node_ptr, node_ptr &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair of node_ptr delimiting a range containing all elements that are equivalent to "key" according to "comp" or an empty range that indicates the position where those elements would be if there are no equivalent elements.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1a46ff24149465c80da33bc31a80b01815" name="bounded_range" specifiers="static"><type>std::pair&lt; node_ptr, node_ptr &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs. 'lower_key' must not be greater than 'upper_key' according to 'comp'. If 'lower_key' == 'upper_key', ('left_closed' || 'right_closed') must be true.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key) if left_closed, upper_bound(lower_key) otherwise</para><para>second = upper_bound(upper_key) if right_closed, lower_bound(upper_key) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1a64a52f13c19a8126fe0a353b3393ce71" name="count" specifiers="static"><type>std::size_t</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. KeyNodePtrCompare can compare KeyType with tree's node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of elements with a key equivalent to "key" according to "comp".</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1a707b16f24e3256069989b237f6d2a3cd" name="insert_equal_upper_bound" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="NodePtrCompare"/>
          <template-type-parameter name="NodePtrPriorityCompare"/>
        </template><parameter name="h"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><parameter name="comp"><paramtype>NodePtrCompare</paramtype></parameter><parameter name="pcomp"><paramtype>NodePtrPriorityCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "h" must be the header node of a tree. NodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. NodePtrCompare compares two node_ptrs. NodePtrPriorityCompare is a priority function object that induces a strict weak ordering compatible with the one used to create the the tree. NodePtrPriorityCompare compares two node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Inserts new_node into the tree before the upper bound according to "comp" and rotates the tree according to "pcomp".</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity for insert element is at most logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throw or "pcomp" throw. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1af7427dfafa10c18dfa8d34eeda61d5b6" name="insert_equal_lower_bound" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="NodePtrCompare"/>
          <template-type-parameter name="NodePtrPriorityCompare"/>
        </template><parameter name="h"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><parameter name="comp"><paramtype>NodePtrCompare</paramtype></parameter><parameter name="pcomp"><paramtype>NodePtrPriorityCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "h" must be the header node of a tree. NodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. NodePtrCompare compares two node_ptrs. NodePtrPriorityCompare is a priority function object that induces a strict weak ordering compatible with the one used to create the the tree. NodePtrPriorityCompare compares two node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Inserts new_node into the tree before the upper bound according to "comp" and rotates the tree according to "pcomp".</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity for insert element is at most logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1ab782e5b3d3646231154126ee097d30f4" name="insert_equal" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="NodePtrCompare"/>
          <template-type-parameter name="NodePtrPriorityCompare"/>
        </template><parameter name="h"><paramtype>node_ptr</paramtype></parameter><parameter name="hint"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><parameter name="comp"><paramtype>NodePtrCompare</paramtype></parameter><parameter name="pcomp"><paramtype>NodePtrPriorityCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. NodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. NodePtrCompare compares two node_ptrs. "hint" is node from the "header"'s tree. NodePtrPriorityCompare is a priority function object that induces a strict weak ordering compatible with the one used to create the the tree. NodePtrPriorityCompare compares two node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Inserts new_node into the tree, using "hint" as a hint to where it will be inserted. If "hint" is the upper_bound the insertion takes constant time (two comparisons in the worst case). Rotates the tree according to "pcomp".</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic in general, but it is amortized constant time if new_node is inserted immediately before "hint".</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throw or "pcomp" throw. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1af8d832c4276dba87194813783b49e471" name="insert_before" specifiers="static"><type>node_ptr</type><template>
          <template-type-parameter name="NodePtrPriorityCompare"/>
        </template><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="pos"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><parameter name="pcomp"><paramtype>NodePtrPriorityCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. "pos" must be a valid node of the tree (including header end) node. "pos" must be a node pointing to the successor to "new_node" once inserted according to the order of already inserted nodes. This function does not check "pos" and this precondition must be guaranteed by the caller. NodePtrPriorityCompare is a priority function object that induces a strict weak ordering compatible with the one used to create the the tree. NodePtrPriorityCompare compares two node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Inserts new_node into the tree before "pos" and rotates the tree according to "pcomp".</para><para><emphasis role="bold">Complexity</emphasis>: Constant-time.</para><para><emphasis role="bold">Throws</emphasis>: If "pcomp" throws, strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: If "pos" is not the successor of the newly inserted "new_node" tree invariants might be broken. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1a90df499d112eb1044f8176d0c79e8e79" name="push_back" specifiers="static"><type>void</type><template>
          <template-type-parameter name="NodePtrPriorityCompare"/>
        </template><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><parameter name="pcomp"><paramtype>NodePtrPriorityCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. "new_node" must be, according to the used ordering no less than the greatest inserted key. NodePtrPriorityCompare is a priority function object that induces a strict weak ordering compatible with the one used to create the the tree. NodePtrPriorityCompare compares two node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the tree in the last position and rotates the tree according to "pcomp".</para><para><emphasis role="bold">Complexity</emphasis>: Constant-time.</para><para><emphasis role="bold">Throws</emphasis>: If "pcomp" throws, strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: If "new_node" is less than the greatest inserted key tree invariants are broken. This function is slightly faster than using "insert_before". </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1a8243352ccf7422ea344b94ec97c79e22" name="push_front" specifiers="static"><type>void</type><template>
          <template-type-parameter name="NodePtrPriorityCompare"/>
        </template><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><parameter name="pcomp"><paramtype>NodePtrPriorityCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. "new_node" must be, according to the used ordering, no greater than the lowest inserted key. NodePtrPriorityCompare is a priority function object that induces a strict weak ordering compatible with the one used to create the the tree. NodePtrPriorityCompare compares two node_ptrs.</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the tree in the first position and rotates the tree according to "pcomp".</para><para><emphasis role="bold">Complexity</emphasis>: Constant-time.</para><para><emphasis role="bold">Throws</emphasis>: If "pcomp" throws, strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: If "new_node" is greater than the lowest inserted key tree invariants are broken. This function is slightly faster than using "insert_before". </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1aa12b4019602054889ca36fd3f63bf0a5" name="insert_unique_check" specifiers="static"><type>std::pair&lt; node_ptr, bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
          <template-type-parameter name="PrioType"/>
          <template-type-parameter name="PrioNodePtrPrioCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><parameter name="prio"><paramtype>const PrioType &amp;</paramtype></parameter><parameter name="pcomp"><paramtype>PrioNodePtrPrioCompare</paramtype></parameter><parameter name="commit_data"><paramtype><classname>insert_commit_data</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. NodePtrCompare compares KeyType with a node_ptr.</para><para><emphasis role="bold">Effects</emphasis>: Checks if there is an equivalent node to "key" in the tree according to "comp" and obtains the needed information to realize a constant-time node insertion if there is no equivalent node.</para><para><emphasis role="bold">Returns</emphasis>: If there is an equivalent value returns a pair containing a node_ptr to the already present node and false. If there is not equivalent key can be inserted returns true in the returned pair's boolean and fills "commit_data" that is meant to be used with the "insert_commit" function to achieve a constant-time insertion function.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is at most logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.</para><para><emphasis role="bold">Notes</emphasis>: This function is used to improve performance when constructing a node is expensive and the user does not want to have two equivalent nodes in the tree: if there is an equivalent value the constructed object must be discarded. Many times, the part of the node that is used to impose the order is much cheaper to construct than the node and this function offers the possibility to use that part to check if the insertion will be successful.</para><para>If the check is successful, the user can construct the node and use "insert_commit" to insert the node in constant-time. This gives a total logarithmic complexity to the insertion: check(O(log(N)) + commit(O(1)).</para><para>"commit_data" remains valid for a subsequent "insert_unique_commit" only if no more objects are inserted or erased from the set. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1aef3f42a9611fdd96eff2ae1eeb75d10e" name="insert_unique_check" specifiers="static"><type>std::pair&lt; node_ptr, bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyNodePtrCompare"/>
          <template-type-parameter name="PrioType"/>
          <template-type-parameter name="PrioNodePtrPrioCompare"/>
        </template><parameter name="header"><paramtype>const_node_ptr</paramtype></parameter><parameter name="hint"><paramtype>node_ptr</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyNodePtrCompare</paramtype></parameter><parameter name="prio"><paramtype>const PrioType &amp;</paramtype></parameter><parameter name="pcomp"><paramtype>PrioNodePtrPrioCompare</paramtype></parameter><parameter name="commit_data"><paramtype><classname>insert_commit_data</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. KeyNodePtrCompare is a function object that induces a strict weak ordering compatible with the strict weak ordering used to create the the tree. NodePtrCompare compares KeyType with a node_ptr. "hint" is node from the "header"'s tree.</para><para><emphasis role="bold">Effects</emphasis>: Checks if there is an equivalent node to "key" in the tree according to "comp" using "hint" as a hint to where it should be inserted and obtains the needed information to realize a constant-time node insertion if there is no equivalent node. If "hint" is the upper_bound the function has constant time complexity (two comparisons in the worst case).</para><para><emphasis role="bold">Returns</emphasis>: If there is an equivalent value returns a pair containing a node_ptr to the already present node and false. If there is not equivalent key can be inserted returns true in the returned pair's boolean and fills "commit_data" that is meant to be used with the "insert_commit" function to achieve a constant-time insertion function.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is at most logarithmic, but it is amortized constant time if new_node should be inserted immediately before "hint".</para><para><emphasis role="bold">Throws</emphasis>: If "comp" throws.</para><para><emphasis role="bold">Notes</emphasis>: This function is used to improve performance when constructing a node is expensive and the user does not want to have two equivalent nodes in the tree: if there is an equivalent value the constructed object must be discarded. Many times, the part of the node that is used to impose the order is much cheaper to construct than the node and this function offers the possibility to use that part to check if the insertion will be successful.</para><para>If the check is successful, the user can construct the node and use "insert_commit" to insert the node in constant-time. This gives a total logarithmic complexity to the insertion: check(O(log(N)) + commit(O(1)).</para><para>"commit_data" remains valid for a subsequent "insert_unique_commit" only if no more objects are inserted or erased from the set. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1a2e5b11be39c2b28bf10601e4c284fb8c" name="insert_unique_commit" cv="noexcept" specifiers="static"><type>void</type><parameter name="header"><paramtype>node_ptr</paramtype></parameter><parameter name="new_node"><paramtype>node_ptr</paramtype></parameter><parameter name="commit_data"><paramtype>const <classname>insert_commit_data</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "header" must be the header node of a tree. "commit_data" must have been obtained from a previous call to "insert_unique_check". No objects should have been inserted or erased from the set between the "insert_unique_check" that filled "commit_data" and the call to "insert_commit".</para><para><emphasis role="bold">Effects</emphasis>: Inserts new_node in the set using the information obtained from the "commit_data" that a previous "insert_check" filled.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function has only sense if a "insert_unique_check" has been previously executed to fill "commit_data". No value should be inserted or erased between the "insert_check" and "insert_commit" calls. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1ae170ed1f7bdaca008afe3e3f1a6abf74" name="transfer_unique" specifiers="static"><type>bool</type><template>
          <template-type-parameter name="NodePtrCompare"/>
          <template-type-parameter name="PrioNodePtrPrioCompare"/>
        </template><parameter name="header1"><paramtype>node_ptr</paramtype></parameter><parameter name="comp"><paramtype>NodePtrCompare</paramtype></parameter><parameter name="pcomp"><paramtype>PrioNodePtrPrioCompare</paramtype></parameter><parameter name="header2"><paramtype>node_ptr</paramtype></parameter><parameter name="z"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header1 and header2 must be the headers of trees tree1 and tree2 respectively, z a non-header node of tree1. NodePtrCompare is the comparison function of tree1..</para><para><emphasis role="bold">Effects</emphasis>: Transfers node "z" from tree1 to tree2 if tree1 does not contain a node that is equivalent to z.</para><para><emphasis role="bold">Returns</emphasis>: True if the node was trasferred, false otherwise.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1a5e82594295e3347abed3680df40939e6" name="transfer_equal" specifiers="static"><type>void</type><template>
          <template-type-parameter name="NodePtrCompare"/>
          <template-type-parameter name="PrioNodePtrPrioCompare"/>
        </template><parameter name="header1"><paramtype>node_ptr</paramtype></parameter><parameter name="comp"><paramtype>NodePtrCompare</paramtype></parameter><parameter name="pcomp"><paramtype>PrioNodePtrPrioCompare</paramtype></parameter><parameter name="header2"><paramtype>node_ptr</paramtype></parameter><parameter name="z"><paramtype>node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: header1 and header2 must be the headers of trees tree1 and tree2 respectively, z a non-header node of tree1. NodePtrCompare is the comparison function of tree1..</para><para><emphasis role="bold">Effects</emphasis>: Transfers node "z" from tree1 to tree2.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__algorithms_1a499207b1dc5eba10816167704f87ecd4" name="is_header" cv="noexcept" specifiers="static"><type>bool</type><parameter name="p"><paramtype>const_node_ptr</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: p is a node of a tree.</para><para><emphasis role="bold">Effects</emphasis>: Returns true if p is the header of the tree.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
</method-group>
</class>



























































</namespace>
</namespace>
</header>
<header id="doxygen.treap__set_8hpp" name="boost/intrusive/treap_set.hpp">
<namespace name="boost">
<namespace name="intrusive">
<struct id="doxygen.structboost_1_1intrusive_1_1make__treap__multiset" name="make_treap_multiset"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define a <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1treap__multiset">treap_multiset</link></computeroutput> that yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__treap__multiset_1a56668428110e7b6f34c43a260a6d3127" name="packed_options"><type><classname>pack_options</classname>&lt; treap_defaults, O1, O2, O3, O4, O5, O6, O7 &gt;::type</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1make__treap__multiset_1a5d2872df5ff2bc784de73d7cbd091e96" name="value_traits"><type><emphasis>unspecified</emphasis></type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1make__treap__multiset_1a62a51bc9ec64b32334ebd27de3028766" name="implementation_defined"><type><classname>treap_multiset</classname>&lt; value_traits, typename packed_options::key_of_value, typename packed_options::compare, typename packed_options::priority_of_value, typename packed_options::priority, typename packed_options::size_type, packed_options::constant_time_size, typename packed_options::header_holder_type &gt;</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1make__treap__multiset_1a05177024f273f58bc2f0a40c50451992" name="type"><type><classname>implementation_defined</classname></type></typedef>
</struct><struct id="doxygen.structboost_1_1intrusive_1_1make__treap__set" name="make_treap_set"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define a <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1treap__set">treap_set</link></computeroutput> that yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__treap__set_1ae54097aa0199ad03eda14e21e480d60f" name="packed_options"><type><classname>pack_options</classname>&lt; treap_defaults, O1, O2, O3, O4, O5, O6, O7 &gt;::type</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1make__treap__set_1a7fabf4f821eabc5500dd05309f82cf93" name="value_traits"><type><emphasis>unspecified</emphasis></type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1make__treap__set_1a7f90d91119ed9b2cd6dc596be5102f11" name="implementation_defined"><type><classname>treap_set</classname>&lt; value_traits, typename packed_options::key_of_value, typename packed_options::compare, typename packed_options::priority_of_value, typename packed_options::priority, typename packed_options::size_type, packed_options::constant_time_size, typename packed_options::header_holder_type &gt;</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1make__treap__set_1a48f1a180e1c6d182744ffdc74b244dc7" name="type"><type><classname>implementation_defined</classname></type></typedef>
</struct><class id="doxygen.classboost_1_1intrusive_1_1treap__multiset" name="treap_multiset"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>The class template <link linkend="doxygen.classboost_1_1intrusive_1_1treap__multiset">treap_multiset</link> is an intrusive container, that mimics most of the interface of std::treap_multiset as described in the C++ standard.</para><para>The template parameter <computeroutput>T</computeroutput> is the type to be managed by the container. The user can specify additional options and if no options are provided default options are used.</para><para>The container supports the following options: <computeroutput>base_hook&lt;&gt;/member_hook&lt;&gt;/value_traits&lt;&gt;</computeroutput>, <computeroutput>constant_time_size&lt;&gt;</computeroutput>, <computeroutput>size_type&lt;&gt;</computeroutput>, <computeroutput>compare&lt;&gt;</computeroutput>, <computeroutput>priority&lt;&gt;</computeroutput> and <computeroutput>priority_of_value&lt;&gt;</computeroutput> </para></description><typedef id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a0e491093e64bca5e4d9a69e498d06b68" name="value_type"><type>implementation_defined::value_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a53b6d5c1206b293eeeb9986c1a918d2d" name="value_traits"><type>implementation_defined::value_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a5c04fe485f9b5efff804e14a1d5d0e44" name="key_type"><type>implementation_defined::key_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1aae0758fefc3b713c811f5fdf0e79ae6a" name="key_of_value"><type>implementation_defined::key_of_value</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1ab4d07d04b25420d37e7775382b311075" name="pointer"><type>implementation_defined::pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1ad72c83170d4f90b281211f4dcea3bcd4" name="const_pointer"><type>implementation_defined::const_pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a89c760246b74ede7922881d3e62e636b" name="reference"><type>implementation_defined::reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1abfc1d3d47a6bdf91a52bf67a58f151e1" name="const_reference"><type>implementation_defined::const_reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1aee357b3b8c45b19be26b31f443b3424f" name="difference_type"><type>implementation_defined::difference_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a53bc4d81ab747fbc63faa32201a8e278" name="size_type"><type>implementation_defined::size_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a14b65edb5fb8749326c8941e27fbb19e" name="value_compare"><type>implementation_defined::value_compare</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a063a3df3440d6d506851e443c6c928f4" name="key_compare"><type>implementation_defined::key_compare</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1acdc5a591fb4fdd866c1a9fe99d327a22" name="priority_type"><type>implementation_defined::priority_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a2cf72ee7a6ab4aab83f67f4461c732a2" name="priority_compare"><type>implementation_defined::priority_compare</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1ac3e1430cc86573c205283d7b454f4253" name="iterator"><type>implementation_defined::iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1abc4714b20ccd031afeedc14aff53ed0f" name="const_iterator"><type>implementation_defined::const_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a4b54175653c1ed038daac18793699919" name="reverse_iterator"><type>implementation_defined::reverse_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a0db4af9e77b4f4fcbd5096bbdee840ec" name="const_reverse_iterator"><type>implementation_defined::const_reverse_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a0bcc55634aaf8bda23783e0ddf0b7919" name="insert_commit_data"><type>implementation_defined::insert_commit_data</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1ab4fd40aaebfd0b819eefb2a06c31e958" name="node_traits"><type>implementation_defined::node_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a35349c1161352af2c9ef2650082ed523" name="node"><type>implementation_defined::node</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1afb32a73df5b1c80a91f7db1c110b2326" name="node_ptr"><type>implementation_defined::node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1aad33e4cdd4b14ace16733c203cbc02a4" name="const_node_ptr"><type>implementation_defined::const_node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1ab11934e71e733a50b00bf93f3bea0e37" name="node_algorithms"><type>implementation_defined::node_algorithms</type></typedef>
<data-member id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a849e276b076362893229d12d19da8efe" name="constant_time_size" specifiers="static"><type>const bool</type></data-member>
<method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a4d87451b6806459110638ab4ae52d99a"><description><para><emphasis role="bold">Effects</emphasis>: Constructs an empty container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the copy constructor of the value_compare/priority_compare objects throw. Basic guarantee.   </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a3b0d8dd36ce73df58459b35e77c4fc5f" specifiers="explicit"><parameter name="cmp"><paramtype>const key_compare &amp;</paramtype></parameter><parameter name="pcmp"><paramtype>const priority_compare &amp;</paramtype><default>priority_compare()</default></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a3c6a8621e7687f00e6906273770f623f"><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><parameter name="cmp"><paramtype>const key_compare &amp;</paramtype><default>key_compare()</default></parameter><parameter name="pcmp"><paramtype>const priority_compare &amp;</paramtype><default>priority_compare()</default></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a69cb1c6fafeb47c71d1c8ba135d06ba0"><parameter name="x"><paramtype><classname>treap_multiset</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: to-do </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a782db54c137f101dd0b87233d968d327"><type><classname>treap_multiset</classname> &amp;</type><parameter name="x"><paramtype><classname>treap_multiset</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: to-do </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a11d651dcafffa2fa994c6a3a97777dd3"><description><para><emphasis role="bold">Effects</emphasis>: Detaches all elements from this. The objects in the set are not deleted (i.e. no destructors are called), but the nodes according to the <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> template parameter are reinitialized and thus can be reused.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a0aab8238002d7d1a87cdb7f5baa33b18" name="begin" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a6ecf025f5cc69bd41b62654dabc79618" name="begin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1ae560bb292dd7e82e9cfa39f58dc32bc0" name="cbegin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a2568500109da9d1f967a4a468959985e" name="end" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a7801c1e3a38e3aca9ba086c375a20cec" name="end" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1af65e22abd9d2f67bade62a0afe2e3cbb" name="cend" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1ac7eb603ef5fe7a874d01af2a0acdf19f" name="rbegin" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1aa5e12fd242c5b976c5ab6d82ab17d6c3" name="rbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a1777f899e82f76a5d3645f1f1270cc9d" name="crbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a80335d0ffed7da470814e6d5683539f9" name="rend" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a6b0fa11fb498204a0034d90de68bdc2a" name="rend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1ae1d2d54640ca6a57924f8fa9887c8afb" name="crend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a5106187dd5dcd366cc9bd113d50d67a4" name="root" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a2568500109da9d1f967a4a468959985e">end()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1ab0934ce3ac3eec630a3a41ea9a6b7705" name="root" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1treap__multiset_1af65e22abd9d2f67bade62a0afe2e3cbb">cend()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a0e8ed4aafc89a40df93833cad9831bed" name="croot" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1treap__multiset_1af65e22abd9d2f67bade62a0afe2e3cbb">cend()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1ad215cf44cc4ae870502f59975c680614" name="key_comp" cv="const"><type>key_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the key_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If key_compare copy-constructor throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a0a67bc9545a1dcec787c798d65c72227" name="value_comp" cv="const"><type>value_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the value_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_compare copy-constructor throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a1864829ee8ef7bc4f0c301f62727d370" name="empty" cv="const noexcept"><type>bool</type><description><para><emphasis role="bold">Effects</emphasis>: Returns true if the container is empty.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a286527f9e2860e06820aed95327fb189" name="size" cv="const noexcept"><type>size_type</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the number of elements stored in the container.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this if constant-time size option is disabled. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1ad1cb2fe6c6e58bb21e4fe01d07807114" name="swap"><type>void</type><parameter name="other"><paramtype><classname>treap_multiset</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Swaps the contents of two treaps.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor's swap call throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1ac5e3e14d8ae055cf634c7ed9eb93b641" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype>const <classname>treap_multiset</classname> &amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(const_reference ) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a713bc35adcb9e062966d87b440287bf6" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype><classname>treap_multiset</classname> &amp;&amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(reference) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a334cc6015c4eb9c805fae43a122fe89c" name="top" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the highest priority object of the treap.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1ad2c9909d189fdcf5fff225833317c6af" name="top" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the highest priority object of the treap..</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a7c134f27f5c2f205cd728f7f1b8c76ef" name="ctop" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the highest priority object of the treap..</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a10a9bd5387f58bd5be6479a497614d92" name="rtop" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the highest priority object of the reversed treap.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1ae1c100963eae40041cc0ab6b51850b67" name="rtop" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the highest priority objec of the reversed treap.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a3d2a857738b083538527bfeeb6110aec" name="crtop" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the highest priority object of the reversed treap.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1aee4b15cebf4121fa3494f8e8bb35e5c8" name="priority_comp" cv="const"><type>priority_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the highest priority object of the reversed treap.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1af821483c0e1d8f3bf12b8db7b683d75f" name="insert"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue</para><para><emphasis role="bold">Effects</emphasis>: Inserts value into the container before the upper bound.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity for insert element is at most logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If the internal key_compare or priority_compare functions throw. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a6e01ccb3632d83c4620cf48914377b60" name="insert"><type>iterator</type><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and "hint" must be a valid iterator.</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container, using "hint" as a hint to where it will be inserted. If "hint" is the upper_bound the insertion takes constant time (two comparisons in the worst case)</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic in general, but it is amortized constant time if t is inserted immediately before hint.</para><para><emphasis role="bold">Throws</emphasis>: If the internal key_compare or priority_compare functions throw. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1add807874ffb0b89be46a546b4cc6ac17" name="insert"><type>void</type><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type.</para><para><emphasis role="bold">Effects</emphasis>: Inserts a each element of a range into the container before the upper bound of the key of each element.</para><para><emphasis role="bold">Complexity</emphasis>: Insert range is in general O(N * log(N)), where N is the size of the range. However, it is linear in N if the range is already sorted by <link linkend="doxygen.classboost_1_1intrusive_1_1treap__multiset_1ad215cf44cc4ae870502f59975c680614">key_comp()</link>.</para><para><emphasis role="bold">Throws</emphasis>: If the internal key_compare or priority_compare functions throw. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a62183956feb171b7abda6df22efde666" name="insert_before" cv="noexcept"><type>iterator</type><parameter name="pos"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, "pos" must be a valid iterator (or end) and must be the succesor of value once inserted according to the predicate</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container before "pos".</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: If the internal priority_compare function throws. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if "pos" is not the successor of "value" container ordering invariant will be broken. This is a low-level function to be used only for performance reasons by advanced users.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1aa024b4bce4fb67f6e257353fc9a34430" name="push_back" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and it must be no less than the greatest inserted key</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container in the last position.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: If the internal priority_compare function throws. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if value is less than the greatest inserted key container ordering invariant will be broken. This function is slightly more efficient than using "insert_before". This is a low-level function to be used only for performance reasons by advanced users.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a69a1cc82f33192be720bab0118d1d3d9" name="push_front" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and it must be no greater than the minimum inserted key</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container in the first position.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: If the internal priority_compare function throws. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if value is greater than the minimum inserted key container ordering invariant will be broken. This function is slightly more efficient than using "insert_before". This is a low-level function to be used only for performance reasons by advanced users.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1aa92ca8a36b4a61b96ad87359c66c072b" name="erase" cv="noexcept"><type>iterator</type><parameter name="i"><paramtype>const_iterator</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases the element pointed to by i.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity for erase element is constant time.</para><para><emphasis role="bold">Throws</emphasis>: if the internal priority_compare function throws. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a6831f7b51752f3c2364f353779bdab09" name="erase" cv="noexcept"><type>iterator</type><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases the range pointed to by b end e.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity for erase range is at most O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a286527f9e2860e06820aed95327fb189">size()</link> + N)), where N is the number of elements in the range.</para><para><emphasis role="bold">Throws</emphasis>: if the internal priority_compare function throws. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a3710c24308d01f86256f12f0848ed050" name="erase"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given value.</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a286527f9e2860e06820aed95327fb189">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: if the internal priority_compare function throws. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a818a015c316ccace1a03a892dc7c13d3" name="erase"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "comp".</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a286527f9e2860e06820aed95327fb189">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: if the internal priority_compare function throws. Equivalent guarantee to <emphasis>while(beg != end) erase(beg++);</emphasis></para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a770718473b665becca06fbdc3d0bd02d" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="i"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases the element pointed to by i. Disposer::operator()(pointer) is called for the removed element.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity for erase element is constant time.</para><para><emphasis role="bold">Throws</emphasis>: if the internal priority_compare function throws. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased elements.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1ae43ae14aa176764717ae3dbcc4c3edd9" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases the range pointed to by b end e. Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity for erase range is at most O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a286527f9e2860e06820aed95327fb189">size()</link> + N)), where N is the number of elements in the range.</para><para><emphasis role="bold">Throws</emphasis>: if the internal priority_compare function throws. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased elements.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a962f05b6e48779c0c282f1aea1050b53" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given value. Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a286527f9e2860e06820aed95327fb189">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: if the priority_compare function throws then weak guarantee and heap invariants are broken. The safest thing would be to clear or destroy the container.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1ac1af6d3490de9b8f599df1b7bb993813" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "comp". Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a286527f9e2860e06820aed95327fb189">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: if the priority_compare function throws then weak guarantee and heap invariants are broken. The safest thing would be to clear or destroy the container.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased elements.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a98ed000e94a282ae3c9e67a6a119b838" name="clear" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements on the container. if it's a safe-mode or auto-unlink value_type. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1ae8540ba2f6cb409cd7879da45dc9b2ef" name="clear_and_dispose" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements calling disposer(p) for each node to be erased. <emphasis role="bold">Complexity</emphasis>: Average complexity for is at most O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a286527f9e2860e06820aed95327fb189">size()</link> + N)), where N is the number of elements in the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. Calls N times to disposer functor.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1ad204945fecb61333dd365aa0182dd3f7" name="count" cv="const"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a7e350ffb5db438b29f27c36192f1a36d" name="count" cv="const"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of contained elements with the given key</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic to the number of elements contained plus lineal to number of objects with the given key.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a5a825537e4cbd25eb33ddeca5c038804" name="lower_bound"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1aaed57e08f4af90743eecaf6a7d649fc5" name="lower_bound"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a67c34cb1bafc35ec9a67294b1da7753e" name="lower_bound" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1aeef8be100d3b74a27de66094c12c84f9" name="lower_bound" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a667e79a554b7636dc871158d5d453340" name="upper_bound"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1ab4f1aa57ad3399450c952fcc3f887812" name="upper_bound"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k according to comp or <link linkend="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a2568500109da9d1f967a4a468959985e">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1aec834972508cd2aa2918de622f8b6129" name="upper_bound" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a9d5e1680affcaf29726f9849638388cf" name="upper_bound" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k according to comp or <link linkend="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a2568500109da9d1f967a4a468959985e">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.     </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a1bc7af4c504a2de4d52d5bea44ea52da" name="find"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a78fe86c1eb77818840a9308d10d919a2" name="find"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a2568500109da9d1f967a4a468959985e">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a71c575e4d750bdfefe7d8c5c80559373" name="find" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a0a30527f2168699b5f13605667616629" name="find" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a2568500109da9d1f967a4a468959985e">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.     </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a35a99993e83a217ff03ddd377d00683d" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a3ef07a1f0ef9fe7fa2a0e1234fc91f1b" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1adfd335c4fb3984b337e0df4b843d2499" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1aa1dd697c27895bd56bbb036f19c75e95" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.     </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a76022673944cab0106415094e376f98c" name="bounded_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="lower_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a19d1881777aeb338edd0cafe4f4a76c2" name="bounded_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>lower_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, lower_key) if left_closed is true, with respect to !comp(lower_key, nk) otherwise.</para><para><computeroutput>upper_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(upper_key, nk) if right_closed is true, with respect to comp(nk, upper_key) otherwise.</para><para><computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to comp [comp(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!comp(upper_key, lower_key) &amp;&amp; !comp(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise</para><para>second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a72023583ab102d8058ad8c153551b4a0" name="bounded_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="lower_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a462bb138b4cb24f2c671cf3368909aa0" name="bounded_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>lower_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, lower_key) if left_closed is true, with respect to !comp(lower_key, nk) otherwise.</para><para><computeroutput>upper_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(upper_key, nk) if right_closed is true, with respect to comp(nk, upper_key) otherwise.</para><para><computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to comp [comp(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!comp(upper_key, lower_key) &amp;&amp; !comp(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise</para><para>second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases.     </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a789550bf4c26539ae673e1a7a70abf6a" name="iterator_to" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a3c7123175383f07c29bc519f2d462b8c" name="iterator_to" cv="const noexcept"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a48ad6a3b2e7e63dca9cc97da98914bbf" name="unlink_leftmost_without_rebalance" cv="noexcept"><type>pointer</type><description><para><emphasis role="bold">Effects</emphasis>: Unlinks the leftmost node from the container.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function breaks the container and the container can only be used for more unlink_leftmost_without_rebalance calls. This function is normally used to achieve a step by step controlled destruction of the container.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a603fa4206da7b245fff6a58936c465b4" name="replace_node" cv="noexcept"><type>void</type><parameter name="replace_this"><paramtype>iterator</paramtype></parameter><parameter name="with_this"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: replace_this must be a valid iterator of *this and with_this must not be inserted in any container.</para><para><emphasis role="bold">Effects</emphasis>: Replaces replace_this in its position in the container with with_this. The container does not need to be rebalanced.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if with_this is not equivalent to *replace_this according to the ordering rules. This function is faster than erasing and inserting the node, since no rebalancing or comparison is needed.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a18a577fb4bc49563d685f6591f8c6616" name="remove_node" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: removes "value" from the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic time.</para><para><emphasis role="bold">Note</emphasis>: This static function is only usable with non-constant time size containers that have stateless comparison functors.</para><para>If the user calls this function with a constant time size container or stateful comparison functor a compilation error will be issued.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1aa2e5cd7c1f7229da7dfada1905715aa9" name="merge"><type>void</type><template>
          <template-nontype-parameter name="Options2"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="source"><paramtype><classname>treap_multiset</classname>&lt; T, Options2... &gt; &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "source" container's Options can only can differ in the comparison function from *this.</para><para><emphasis role="bold">Effects</emphasis>: Attempts to extract each element in source and insert it into a using the comparison object of *this. If there is an element in a with key equivalent to the key of an element from source, then that element is not extracted from source.</para><para><emphasis role="bold">Postcondition</emphasis>: Pointers and references to the transferred elements of source refer to those same elements but as members of *this. Iterators referring to the transferred elements will continue to refer to their elements, but they now behave as iterators into *this, not into source.</para><para><emphasis role="bold">Throws</emphasis>: Nothing unless the comparison object throws.</para><para><emphasis role="bold">Complexity</emphasis>: N log(a.size() + N) (N has the value source.size())    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1af178fd8d302dcd8d7003cfa37638590c" name="merge"><type>void</type><template>
          <template-nontype-parameter name="Options2"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="source"><paramtype><classname>treap_set</classname>&lt; T, Options2... &gt; &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "source" container's Options can only can differ in the comparison function from *this.</para><para><emphasis role="bold">Effects</emphasis>: Attempts to extract each element in source and insert it into a using the comparison object of *this. If there is an element in a with key equivalent to the key of an element from source, then that element is not extracted from source.</para><para><emphasis role="bold">Postcondition</emphasis>: Pointers and references to the transferred elements of source refer to those same elements but as members of *this. Iterators referring to the transferred elements will continue to refer to their elements, but they now behave as iterators into *this, not into source.</para><para><emphasis role="bold">Throws</emphasis>: Nothing unless the comparison object throws.</para><para><emphasis role="bold">Complexity</emphasis>: N log(a.size() + N) (N has the value source.size())    </para></description></method>
</method-group>
<method-group name="public static functions">
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a86e3d65c312e549cb13d0310a500a39e" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type><classname>treap_multiset</classname> &amp;</type><parameter name="end_iterator"><paramtype>iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1ab29915f4664b2266ed70071c4ac1c5a8" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type>const <classname>treap_multiset</classname> &amp;</type><parameter name="end_iterator"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a74e1707492db52e4509749ac0a70286f" name="container_from_iterator" cv="noexcept" specifiers="static"><type><classname>treap_multiset</classname> &amp;</type><parameter name="it"><paramtype>iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a9bfd484bf943c0395d5eab8b49cab9bc" name="container_from_iterator" cv="noexcept" specifiers="static"><type>const <classname>treap_multiset</classname> &amp;</type><parameter name="it"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a626d89d2da96fffdcc8f81fd6f6fea23" name="s_iterator_to" cv="noexcept" specifiers="static"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1a5e005a56b6242ab104cab5a2ec7d81a4" name="s_iterator_to" cv="noexcept" specifiers="static"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__multiset_1af09c0cc8f3ea97fd687c21080ec784be" name="init_node" cv="noexcept" specifiers="static"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
</method-group>
</class><class id="doxygen.classboost_1_1intrusive_1_1treap__set" name="treap_set"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>The class template <link linkend="doxygen.classboost_1_1intrusive_1_1treap__set">treap_set</link> is an intrusive container, that mimics most of the interface of std::set as described in the C++ standard.</para><para>The template parameter <computeroutput>T</computeroutput> is the type to be managed by the container. The user can specify additional options and if no options are provided default options are used.</para><para>The container supports the following options: <computeroutput>base_hook&lt;&gt;/member_hook&lt;&gt;/value_traits&lt;&gt;</computeroutput>, <computeroutput>constant_time_size&lt;&gt;</computeroutput>, <computeroutput>size_type&lt;&gt;</computeroutput>, <computeroutput>compare&lt;&gt;</computeroutput>, <computeroutput>priority&lt;&gt;</computeroutput> and <computeroutput>priority_of_value&lt;&gt;</computeroutput> </para></description><typedef id="doxygen.classboost_1_1intrusive_1_1treap__set_1a37e78cb7a37bfafb781ce60b6667f08b" name="value_type"><type>implementation_defined::value_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__set_1a56569011550598ea77760242a895952e" name="value_traits"><type>implementation_defined::value_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__set_1a1cf069aec5bdf2ef143727ee9500ae02" name="key_type"><type>implementation_defined::key_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__set_1a0caacff8398ed30c1721037809381463" name="key_of_value"><type>implementation_defined::key_of_value</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__set_1af2021cda88467303112a1048e010e482" name="pointer"><type>implementation_defined::pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__set_1a4e390c2b013dfbe4941f198d9a35f069" name="const_pointer"><type>implementation_defined::const_pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__set_1a6491ee9ee6e3c24eeef3d5877873a10b" name="reference"><type>implementation_defined::reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__set_1ae77f6abb018452ff68ae19cbed64bc88" name="const_reference"><type>implementation_defined::const_reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__set_1aeb0c16e144cd2cc031525f9db09d4c1b" name="difference_type"><type>implementation_defined::difference_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__set_1aadd3d3e84e4c7673046e109e89fda96b" name="size_type"><type>implementation_defined::size_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__set_1a49706668be52c647e479e966886b3397" name="value_compare"><type>implementation_defined::value_compare</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__set_1afa357839f17046f5b2156fdc1f037983" name="key_compare"><type>implementation_defined::key_compare</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__set_1acbf747becbff701701d6332372d23e20" name="priority_type"><type>implementation_defined::priority_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__set_1a13714729f6f9fc8deb7429a421ce34af" name="priority_compare"><type>implementation_defined::priority_compare</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__set_1ab5ed41d13be9bc65108bccba1bf7f4f5" name="iterator"><type>implementation_defined::iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__set_1ae64c2af779b278e4a1791b0e9f96ce36" name="const_iterator"><type>implementation_defined::const_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__set_1a2364dc58838a2a770d6b091b98fb224d" name="reverse_iterator"><type>implementation_defined::reverse_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__set_1a0b34544eabdfbb06fdc8ac762ce01ff9" name="const_reverse_iterator"><type>implementation_defined::const_reverse_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__set_1ab61ae888e04fc8dc2582823085b62abe" name="insert_commit_data"><type>implementation_defined::insert_commit_data</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__set_1ad928a1d377400934fda9e9b6e8e18d6c" name="node_traits"><type>implementation_defined::node_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__set_1afba193355c72b9a587f133aa0ab83e31" name="node"><type>implementation_defined::node</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__set_1af993795b0bca16f6718a1481fb9db924" name="node_ptr"><type>implementation_defined::node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__set_1ae038bc6e06481fd08dfbae569b529007" name="const_node_ptr"><type>implementation_defined::const_node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1treap__set_1afe56b6a84a241ace6b23c719a4916e17" name="node_algorithms"><type>implementation_defined::node_algorithms</type></typedef>
<data-member id="doxygen.classboost_1_1intrusive_1_1treap__set_1ad6592f497d7ff26cef3b3a0c5939e709" name="constant_time_size" specifiers="static"><type>const bool</type></data-member>
<method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1treap__set_1ada5c32397090924ad3a0e713fe245239"><description><para><emphasis role="bold">Effects</emphasis>: Constructs an empty container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the copy constructor of the value_compare/priority_compare objects throw. Basic guarantee.   </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1treap__set_1a5de342a718f1f3b052231c9d0b32eaf9" specifiers="explicit"><parameter name="cmp"><paramtype>const key_compare &amp;</paramtype></parameter><parameter name="pcmp"><paramtype>const priority_compare &amp;</paramtype><default>priority_compare()</default></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1treap__set_1a50ce21354a7e5327995d9b72543aaebc"><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><parameter name="cmp"><paramtype>const key_compare &amp;</paramtype><default>key_compare()</default></parameter><parameter name="pcmp"><paramtype>const priority_compare &amp;</paramtype><default>priority_compare()</default></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1treap__set_1af192050e30a2ae3428bd6738a1f00aa5"><parameter name="x"><paramtype><classname>treap_set</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: to-do </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1treap__set_1a1fc561fce1eec33d0d174f0a01f72d22"><type><classname>treap_set</classname> &amp;</type><parameter name="x"><paramtype><classname>treap_set</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: to-do </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1treap__set_1a3ae19b9a2809967f827333cc9c848d59"><description><para><emphasis role="bold">Effects</emphasis>: Detaches all elements from this. The objects in the set are not deleted (i.e. no destructors are called), but the nodes according to the <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> template parameter are reinitialized and thus can be reused.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1abc753db482d223d0604638563d1f7f0b" name="begin" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a941c1a55a98662495bf6249fb5b342c5" name="begin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1ae7ae5477df9d009a2fb91497e35eac4a" name="cbegin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a4c76dd66138a565f2fab4c0a82ac756d" name="end" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a828cd8f13d18d3264a3600495117ba9d" name="end" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1ab169cd16620d23ba8a4e522dc259d23f" name="cend" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a53fcfaf446f9fd5e2325bae53fa3f802" name="rbegin" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a37d2c18bf0a8b429273feec421a0df56" name="rbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a3904dad78e50d94c2a0b02353c1c2b3a" name="crbegin" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the beginning of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a0a971cbef552022ef044abfa57b0915a" name="rend" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a8f2046dd26e04b34091dd3b908ac0918" name="rend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1aad1c305a7dabb323f4a381167f883c8c" name="crend" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the end of the reversed container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a298b53b3e436d36551fef96c7274fc71" name="root" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1treap__set_1a4c76dd66138a565f2fab4c0a82ac756d">end()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a374f191af82b8bfd32ea9519b8b419ec" name="root" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1treap__set_1ab169cd16620d23ba8a4e522dc259d23f">cend()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a121ce51902304025765ae776057632b3" name="croot" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the root node of the container or <link linkend="doxygen.classboost_1_1intrusive_1_1treap__set_1ab169cd16620d23ba8a4e522dc259d23f">cend()</link> if not present.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1ae954a2ada418d6926ed712e0d6e55451" name="key_comp" cv="const"><type>key_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the key_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If key_compare copy-constructor throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a03bcceed94b96e2d7c82b08abee1378b" name="value_comp" cv="const"><type>value_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the value_compare object used by the container.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_compare copy-constructor throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1aa567ad8d3bbe127430a7002dba1327c0" name="empty" cv="const noexcept"><type>bool</type><description><para><emphasis role="bold">Effects</emphasis>: Returns true if the container is empty.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a4682fb1c3eb137e96fda502161c116d2" name="size" cv="const noexcept"><type>size_type</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the number of elements stored in the container.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this if constant-time size option is disabled. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a494daeaa9445ba0f21feb0398d0b1032" name="swap"><type>void</type><parameter name="other"><paramtype><classname>treap_set</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Swaps the contents of two treaps.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If the comparison functor's swap call throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a6bec757b67550240b2236b0c58072c9c" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype>const <classname>treap_set</classname> &amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(const_reference ) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1ae4716e503edb6ce353fc75ab25624333" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype><classname>treap_set</classname> &amp;&amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw. Cloner should yield to nodes equivalent to the original nodes.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(reference) and inserts them on *this. Copies the predicate from the source container.</para><para>If cloner throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner throws or predicate copy assignment throws. Basic guarantee.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a3620bab3d1d1fe0c0bd70a650a4be382" name="top" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the highest priority object of the treap.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a24b2050c0b978950105f0a95173e8dce" name="top" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the highest priority object of the treap..</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a9a2ecd4ca0c718aed039dd6f5bed10e9" name="ctop" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the highest priority object of the treap..</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a7965d9e1e285380658751da0ab85dbc1" name="rtop" cv="noexcept"><type>reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a reverse_iterator pointing to the highest priority object of the reversed treap.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a93c7c89cf0ff3ca9ddea4ee21d4da277" name="rtop" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the highest priority objec of the reversed treap.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a9b5042dae2807d23a6b514a27ca4cfad" name="crtop" cv="const noexcept"><type>const_reverse_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the highest priority object of the reversed treap.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1ac0045aaf0eb650a50eb6bbd73a00df0f" name="priority_comp" cv="const"><type>priority_compare</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_reverse_iterator pointing to the highest priority object of the reversed treap.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a84f8519c9c1a44e1794deb21773689ed" name="insert"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue</para><para><emphasis role="bold">Effects</emphasis>: Inserts value into the container if the value is not already present.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity for insert element is at most logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If the internal key_compare or priority_compare functions throw. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a3cc811a45dfb3760c2e694f4184fb21b" name="insert"><type>iterator</type><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and "hint" must be a valid iterator</para><para><emphasis role="bold">Effects</emphasis>: Tries to insert x into the container, using "hint" as a hint to where it will be inserted.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic in general, but it is amortized constant time (two comparisons in the worst case) if t is inserted immediately before hint.</para><para><emphasis role="bold">Throws</emphasis>: If the internal key_compare or priority_compare functions throw. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a79374e66a35e8f1a6856585f6192b3eb" name="insert_check"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="prio"><paramtype>const priority_type &amp;</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a3336afd1293e375c7f6f0db9e1d8c95f" name="insert_check"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="prio"><paramtype>const priority_type &amp;</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a42518e400e0fc8ea315787e2ac9cead3" name="insert_check"><type>std::pair&lt; iterator, bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
          <template-type-parameter name="PrioType"/>
          <template-type-parameter name="PrioValuePrioCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="prio"><paramtype>const PrioType &amp;</paramtype></parameter><parameter name="pcomp"><paramtype>PrioValuePrioCompare</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1aa7fd82be82c27704a7b61b4b04c8116e" name="insert_check"><type>std::pair&lt; iterator, bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
          <template-type-parameter name="PrioType"/>
          <template-type-parameter name="PrioValuePrioCompare"/>
        </template><parameter name="hint"><paramtype>const_iterator</paramtype></parameter><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="prio"><paramtype>const PrioType &amp;</paramtype></parameter><parameter name="pcomp"><paramtype>PrioValuePrioCompare</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1adfebdbcc38357301d71ad2a5637a69cd" name="insert"><type>void</type><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type.</para><para><emphasis role="bold">Effects</emphasis>: Tries to insert each element of a range into the container.</para><para><emphasis role="bold">Complexity</emphasis>: Insert range is in general O(N * log(N)), where N is the size of the range. However, it is linear in N if the range is already sorted by <link linkend="doxygen.classboost_1_1intrusive_1_1treap__set_1ae954a2ada418d6926ed712e0d6e55451">key_comp()</link>.</para><para><emphasis role="bold">Throws</emphasis>: If the internal key_compare or priority_compare functions throw. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1acdf5562b42e7bd0cb82cace4736b451f" name="insert_commit" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter><parameter name="commit_data"><paramtype>const insert_commit_data &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue of type value_type. commit_data must have been obtained from a previous call to "insert_check". No objects should have been inserted or erased from the container between the "insert_check" that filled "commit_data" and the call to "insert_commit".</para><para><emphasis role="bold">Effects</emphasis>: Inserts the value in the <link linkend="doxygen.classboost_1_1intrusive_1_1avl__set">avl_set</link> using the information obtained from the "commit_data" that a previous "insert_check" filled.</para><para><emphasis role="bold">Returns</emphasis>: An iterator to the newly inserted object.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing</para><para><emphasis role="bold">Notes</emphasis>: This function has only sense if a "insert_check" has been previously executed to fill "commit_data". No value should be inserted or erased between the "insert_check" and "insert_commit" calls.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a0c7a807dce347ed8939dc503e77eb8cb" name="insert_before" cv="noexcept"><type>iterator</type><parameter name="pos"><paramtype>const_iterator</paramtype></parameter><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, "pos" must be a valid iterator (or end) and must be the succesor of value once inserted according to the predicate</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container before "pos".</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: If the internal priority_compare function throws. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if "pos" is not the successor of "value" container ordering invariant will be broken. This is a low-level function to be used only for performance reasons by advanced users.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1aa2934be882cbb33c0ed1d3ad132308ad" name="push_back" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and it must be no less than the greatest inserted key</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container in the last position.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: If the internal priority_compare function throws. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if value is less than the greatest inserted key container ordering invariant will be broken. This function is slightly more efficient than using "insert_before". This is a low-level function to be used only for performance reasons by advanced users.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a7eaa8fdd6aee1a3584273e9476106034" name="push_front" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue, and it must be no greater than the minimum inserted key</para><para><emphasis role="bold">Effects</emphasis>: Inserts x into the container in the first position.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: If the internal priority_compare function throws. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: This function does not check preconditions so if value is greater than the minimum inserted key container ordering invariant will be broken. This function is slightly more efficient than using "insert_before". This is a low-level function to be used only for performance reasons by advanced users.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1afde2e2821a544ec2185821b79c2ab902" name="erase" cv="noexcept"><type>iterator</type><parameter name="i"><paramtype>const_iterator</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases the element pointed to by i.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity for erase element is constant time.</para><para><emphasis role="bold">Throws</emphasis>: if the internal priority_compare function throws. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1ab71942830cbf447d04170e45f89f9a67" name="erase" cv="noexcept"><type>iterator</type><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases the range pointed to by b end e.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity for erase range is at most O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1treap__set_1a4682fb1c3eb137e96fda502161c116d2">size()</link> + N)), where N is the number of elements in the range.</para><para><emphasis role="bold">Throws</emphasis>: if the internal priority_compare function throws. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1afcdac9d479d6e0d2c5ec15cba6ad684e" name="erase"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given value.</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1treap__set_1a4682fb1c3eb137e96fda502161c116d2">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: if the internal priority_compare function throws. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a0aa23223430dfc2caecfb5d912cad5a4" name="erase"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "comp".</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1treap__set_1a4682fb1c3eb137e96fda502161c116d2">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: if the internal priority_compare function throws. Equivalent guarantee to <emphasis>while(beg != end) erase(beg++);</emphasis></para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1aa75a48a3d8f4180888069d417a8536bc" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="i"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases the element pointed to by i. Disposer::operator()(pointer) is called for the removed element.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity for erase element is constant time.</para><para><emphasis role="bold">Throws</emphasis>: if the internal priority_compare function throws. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased elements.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1ab9293910fce037b8b1f3318afc309b1c" name="erase_and_dispose" cv="noexcept"><type>iterator</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases the range pointed to by b end e. Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity for erase range is at most O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1treap__set_1a4682fb1c3eb137e96fda502161c116d2">size()</link> + N)), where N is the number of elements in the range.</para><para><emphasis role="bold">Throws</emphasis>: if the internal priority_compare function throws. Strong guarantee.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased elements.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a1adf02854cbb670454d53a5c8f6baec3" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given value. Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1treap__set_1a4682fb1c3eb137e96fda502161c116d2">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: if the priority_compare function throws then weak guarantee and heap invariants are broken. The safest thing would be to clear or destroy the container.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a600e063067fffb88b08d50bcdcfc1676" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "comp". Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1treap__set_1a4682fb1c3eb137e96fda502161c116d2">size()</link> + N).</para><para><emphasis role="bold">Throws</emphasis>: if the priority_compare function throws then weak guarantee and heap invariants are broken. The safest thing would be to clear or destroy the container.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased elements.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a9d21d8a2922c8a0f80f2505e6d8c14db" name="clear" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements on the container. if it's a safe-mode or auto-unlink value_type. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a66fa9c764671b0b954203d7f2d244b75" name="clear_and_dispose" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements calling disposer(p) for each node to be erased. <emphasis role="bold">Complexity</emphasis>: Average complexity for is at most O(log(<link linkend="doxygen.classboost_1_1intrusive_1_1treap__set_1a4682fb1c3eb137e96fda502161c116d2">size()</link> + N)), where N is the number of elements in the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. Calls N times to disposer functor.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a3f654a8586e7b705899af1ceb37a1224" name="count" cv="const"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1aeb2b358f1affabf2420e68bbcab98454" name="count" cv="const"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of contained elements with the given key</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic to the number of elements contained plus lineal to number of objects with the given key.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1aec06d51e9342d2245dff2fb00e940735" name="lower_bound"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a90d99cf36e0a0d315f16c94dc35b0712" name="lower_bound"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a976a916b8ca0318f6c9778027ac8edf1" name="lower_bound" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1ad0f115e7202c73a21a4bc5264bcc1a97" name="lower_bound" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1ab4ee311267d2f2dfd42ece9f2e1bc378" name="upper_bound"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a84bbbfe286c7e0ea1d0277e515095fdf" name="upper_bound"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k according to comp or <link linkend="doxygen.classboost_1_1intrusive_1_1treap__set_1a4c76dd66138a565f2fab4c0a82ac756d">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a6db53aa6a47f84393a1b7dc6c7c6232e" name="upper_bound" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a4e75fd87f917878ad8aa484c0b374f23" name="upper_bound" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Returns an iterator to the first element whose key is greater than k according to comp or <link linkend="doxygen.classboost_1_1intrusive_1_1treap__set_1a4c76dd66138a565f2fab4c0a82ac756d">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.     </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a3a5480876a54df76949e7c53ae49720e" name="find"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a568423eed7fd236a2951e17113846146" name="find"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1treap__set_1a4c76dd66138a565f2fab4c0a82ac756d">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a765d3d7c672d0a9703244adbe8da67f5" name="find" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a07b074af49edac174a8218ff71658fe4" name="find" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), and nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is k or <link linkend="doxygen.classboost_1_1intrusive_1_1treap__set_1a4c76dd66138a565f2fab4c0a82ac756d">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.     </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a526407e259bd39adf1b44c71805d5f8b" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a1fd013e9ffd20dee5732fbaf4b8c649d" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1afb4b3c17886f603fec8d83695f9ff412" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a9041d14b9f6ab3cad9fab19c4c6ee33b" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: key is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, key) and !comp(key, nk), with comp(nk, key) implying !comp(key, nk), with nk the key_type of a value_type inserted into <computeroutput>*this</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Finds a range containing all elements whose key is k or an empty range that indicates the position where those elements would be if they there is no elements with key k.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.     </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a21b12b52959f12f395ca668216b6708e" name="bounded_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="lower_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a58fc2e519845da8e7242087809308fbe" name="bounded_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>lower_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, lower_key) if left_closed is true, with respect to !comp(lower_key, nk) otherwise.</para><para><computeroutput>upper_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(upper_key, nk) if right_closed is true, with respect to comp(nk, upper_key) otherwise.</para><para><computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to comp [comp(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!comp(upper_key, lower_key) &amp;&amp; !comp(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise</para><para>second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a495705b04435391005959baa854d8e6f" name="bounded_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="lower_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1ad002c36b4f65bc4c1b98f2dc3e8a593d" name="bounded_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyTypeKeyCompare"/>
        </template><parameter name="lower_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="upper_key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="comp"><paramtype>KeyTypeKeyCompare</paramtype></parameter><parameter name="left_closed"><paramtype>bool</paramtype></parameter><parameter name="right_closed"><paramtype>bool</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: <computeroutput>lower_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to comp(nk, lower_key) if left_closed is true, with respect to !comp(lower_key, nk) otherwise.</para><para><computeroutput>upper_key</computeroutput> is a value such that <computeroutput>*this</computeroutput> is partitioned with respect to !comp(upper_key, nk) if right_closed is true, with respect to comp(nk, upper_key) otherwise.</para><para><computeroutput>upper_key</computeroutput> shall not precede <computeroutput>lower_key</computeroutput> according to comp [comp(upper_key, lower_key) shall be false]</para><para>If <computeroutput>lower_key</computeroutput> is equivalent to <computeroutput>upper_key</computeroutput> [!comp(upper_key, lower_key) &amp;&amp; !comp(lower_key, upper_key)] then ('left_closed' || 'right_closed') must be false.</para><para><emphasis role="bold">Effects</emphasis>: Returns an a pair with the following criteria:</para><para>first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise</para><para>second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic.</para><para><emphasis role="bold">Throws</emphasis>: If <computeroutput>comp</computeroutput> throws.</para><para><emphasis role="bold">Note</emphasis>: This function can be more efficient than calling upper_bound and lower_bound for lower_key and upper_key.</para><para><emphasis role="bold">Note</emphasis>: Experimental function, the interface might change in future releases.     </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a9d1db1a733c386c0eda34affeb5bc6d6" name="iterator_to" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a177a0f49292a3b2dc9e039f1c790b336" name="iterator_to" cv="const noexcept"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a1dcbfcf598604346099a94736ae35481" name="unlink_leftmost_without_rebalance" cv="noexcept"><type>pointer</type><description><para><emphasis role="bold">Effects</emphasis>: Unlinks the leftmost node from the container.</para><para><emphasis role="bold">Complexity</emphasis>: Average complexity is constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function breaks the container and the container can only be used for more unlink_leftmost_without_rebalance calls. This function is normally used to achieve a step by step controlled destruction of the container.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a6bcafcff1cbb958ee3ff17fd9066d568" name="replace_node" cv="noexcept"><type>void</type><parameter name="replace_this"><paramtype>iterator</paramtype></parameter><parameter name="with_this"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: replace_this must be a valid iterator of *this and with_this must not be inserted in any container.</para><para><emphasis role="bold">Effects</emphasis>: Replaces replace_this in its position in the container with with_this. The container does not need to be rebalanced.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: This function will break container ordering invariants if with_this is not equivalent to *replace_this according to the ordering rules. This function is faster than erasing and inserting the node, since no rebalancing or comparison is needed.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1aafbe99e38ca5e79ac6129c735b8725fc" name="remove_node" cv="noexcept"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: removes "value" from the container.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Complexity</emphasis>: Logarithmic time.</para><para><emphasis role="bold">Note</emphasis>: This static function is only usable with non-constant time size containers that have stateless comparison functors.</para><para>If the user calls this function with a constant time size container or stateful comparison functor a compilation error will be issued.    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a9005c01c581234baf663ac5fb5f08fd6" name="merge"><type>void</type><template>
          <template-nontype-parameter name="Options2"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="source"><paramtype><classname>treap_set</classname>&lt; T, Options2... &gt; &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "source" container's Options can only can differ in the comparison function from *this.</para><para><emphasis role="bold">Effects</emphasis>: Attempts to extract each element in source and insert it into a using the comparison object of *this. If there is an element in a with key equivalent to the key of an element from source, then that element is not extracted from source.</para><para><emphasis role="bold">Postcondition</emphasis>: Pointers and references to the transferred elements of source refer to those same elements but as members of *this. Iterators referring to the transferred elements will continue to refer to their elements, but they now behave as iterators into *this, not into source.</para><para><emphasis role="bold">Throws</emphasis>: Nothing unless the comparison object throws.</para><para><emphasis role="bold">Complexity</emphasis>: N log(a.size() + N) (N has the value source.size())    </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a6c086a45e6bea1e5d807fed0ac47d1d1" name="merge"><type>void</type><template>
          <template-nontype-parameter name="Options2"><type>class ...</type></template-nontype-parameter>
        </template><parameter name="source"><paramtype><classname>treap_multiset</classname>&lt; T, Options2... &gt; &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "source" container's Options can only can differ in the comparison function from *this.</para><para><emphasis role="bold">Effects</emphasis>: Attempts to extract each element in source and insert it into a using the comparison object of *this. If there is an element in a with key equivalent to the key of an element from source, then that element is not extracted from source.</para><para><emphasis role="bold">Postcondition</emphasis>: Pointers and references to the transferred elements of source refer to those same elements but as members of *this. Iterators referring to the transferred elements will continue to refer to their elements, but they now behave as iterators into *this, not into source.</para><para><emphasis role="bold">Throws</emphasis>: Nothing unless the comparison object throws.</para><para><emphasis role="bold">Complexity</emphasis>: N log(a.size() + N) (N has the value source.size())    </para></description></method>
</method-group>
<method-group name="public static functions">
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1aae47e292132f78fd6487fd1d4607a2b0" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type><classname>treap_set</classname> &amp;</type><parameter name="end_iterator"><paramtype>iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1aae71975d15a5e80e1ef5eef8a6f21703" name="container_from_end_iterator" cv="noexcept" specifiers="static"><type>const <classname>treap_set</classname> &amp;</type><parameter name="end_iterator"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1afdd429a71d585118c9d94242f2b976e6" name="container_from_iterator" cv="noexcept" specifiers="static"><type><classname>treap_set</classname> &amp;</type><parameter name="it"><paramtype>iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a9bab4338c80a402aac71f277442159c2" name="container_from_iterator" cv="noexcept" specifiers="static"><type>const <classname>treap_set</classname> &amp;</type><parameter name="it"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a176281685b0b11bb0d21379ce485121e" name="s_iterator_to" cv="noexcept" specifiers="static"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1af75641ae9438b216217aa088b1d0aac9" name="s_iterator_to" cv="noexcept" specifiers="static"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1treap__set_1a2ade78081d8939d9f5695f5aa747f285" name="init_node" cv="noexcept" specifiers="static"><type>void</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
</method-group>
</class>



























































</namespace>
</namespace>
</header>
<header id="doxygen.trivial__value__traits_8hpp" name="boost/intrusive/trivial_value_traits.hpp">
<namespace name="boost">
<namespace name="intrusive">
<struct id="doxygen.structboost_1_1intrusive_1_1trivial__value__traits" name="trivial_value_traits"><template>
      <template-type-parameter name="NodeTraits"/>
      <template-nontype-parameter name="LinkMode"><type>link_mode_type</type><default>safe_link</default></template-nontype-parameter>
    </template><description><para>This value traits template is used to create value traits from user defined node traits where value_traits::value_type and node_traits::node should be equal </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1trivial__value__traits_1a2ed9098a2be57e52594537d5e0ce7984" name="node_traits"><type>NodeTraits</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1trivial__value__traits_1a27410f67947ab025e6f1eefc41622c81" name="node_ptr"><type>node_traits::node_ptr</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1trivial__value__traits_1a0f6a28c8b1444373b18463fba9c64eb2" name="const_node_ptr"><type>node_traits::const_node_ptr</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1trivial__value__traits_1ac8cf5954f4a5c126cc0569a0f9e0a18f" name="value_type"><type>node_traits::node</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1trivial__value__traits_1a85c91573416ba29e0b3b4761ee7bbc93" name="pointer"><type>node_ptr</type></typedef>
<typedef id="doxygen.structboost_1_1intrusive_1_1trivial__value__traits_1a06fc0fb649867a1548f7f6cdf0379a97" name="const_pointer"><type>const_node_ptr</type></typedef>
<data-member id="doxygen.structboost_1_1intrusive_1_1trivial__value__traits_1ae9621e4f5f8575af9fe3415434d381d0" name="link_mode" specifiers="static"><type>const link_mode_type</type></data-member>
<method-group name="public static functions">
<method id="doxygen.structboost_1_1intrusive_1_1trivial__value__traits_1a28a2dcace83ac348769d3e5beb2c1700" name="to_node_ptr" cv="noexcept" specifiers="static"><type>node_ptr</type><parameter name="value"><paramtype>value_type &amp;</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1trivial__value__traits_1a0efeed29a258a0821fb670b6f63cf414" name="to_node_ptr" cv="noexcept" specifiers="static"><type>const_node_ptr</type><parameter name="value"><paramtype>const value_type &amp;</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1trivial__value__traits_1a8045c1e05e21fc9c266eb56664f779fe" name="to_value_ptr" cv="noexcept" specifiers="static"><type>pointer</type><parameter name="n"><paramtype>node_ptr</paramtype></parameter></method>
<method id="doxygen.structboost_1_1intrusive_1_1trivial__value__traits_1a31cd913111be0e6bc82f49cc955d8d92" name="to_value_ptr" cv="noexcept" specifiers="static"><type>const_pointer</type><parameter name="n"><paramtype>const_node_ptr</paramtype></parameter></method>
</method-group>
</struct>



























































</namespace>
</namespace>
</header>
<header id="doxygen.unordered__set_8hpp" name="boost/intrusive/unordered_set.hpp">
<namespace name="boost">
<namespace name="intrusive">
<struct id="doxygen.structboost_1_1intrusive_1_1make__unordered__multiset" name="make_unordered_multiset"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define an <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1unordered__multiset">unordered_multiset</link></computeroutput> that yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__unordered__multiset_1a98d70aedd0c0525ee3526c9e5787c95c" name="type"><type>implementation_defined</type></typedef>
</struct><struct id="doxygen.structboost_1_1intrusive_1_1make__unordered__set" name="make_unordered_set"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define an <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link></computeroutput> that yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__unordered__set_1abc030195bfb1145544d304828624ac57" name="type"><type>implementation_defined</type></typedef>
</struct><class id="doxygen.classboost_1_1intrusive_1_1unordered__multiset" name="unordered_multiset"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>The class template <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__multiset">unordered_multiset</link> is an intrusive container, that mimics most of the interface of std::tr1::unordered_multiset as described in the C++ TR1.</para><para><link linkend="doxygen.classboost_1_1intrusive_1_1unordered__multiset">unordered_multiset</link> is a semi-intrusive container: each object to be stored in the container must contain a proper hook, but the container also needs additional auxiliary memory to work: <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__multiset">unordered_multiset</link> needs a pointer to an array of type <computeroutput>bucket_type</computeroutput> to be passed in the constructor. This bucket array must have at least the same lifetime as the container. This makes the use of <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__multiset">unordered_multiset</link> more complicated than purely intrusive containers. <computeroutput>bucket_type</computeroutput> is default-constructible, copyable and assignable</para><para>The template parameter <computeroutput>T</computeroutput> is the type to be managed by the container. The user can specify additional options and if no options are provided default options are used.</para><para>The container supports the following options: <computeroutput>base_hook&lt;&gt;/member_hook&lt;&gt;/value_traits&lt;&gt;</computeroutput>, <computeroutput>constant_time_size&lt;&gt;</computeroutput>, <computeroutput>size_type&lt;&gt;</computeroutput>, <computeroutput>hash&lt;&gt;</computeroutput> and <computeroutput>equal&lt;&gt;</computeroutput> <computeroutput>bucket_traits&lt;&gt;</computeroutput>, <computeroutput>power_2_buckets&lt;&gt;</computeroutput> and <computeroutput>cache_begin&lt;&gt;</computeroutput>.</para><para><link linkend="doxygen.classboost_1_1intrusive_1_1unordered__multiset">unordered_multiset</link> only provides forward iterators but it provides 4 iterator types: iterator and const_iterator to navigate through the whole container and local_iterator and const_local_iterator to navigate through the values stored in a single bucket. Local iterators are faster and smaller.</para><para>It's not recommended to use non constant-time size unordered_multisets because several key functions, like "empty()", become non-constant time functions. Non constant-time size unordered_multisets are mainly provided to support auto-unlink hooks.</para><para><link linkend="doxygen.classboost_1_1intrusive_1_1unordered__multiset">unordered_multiset</link>, unlike std::unordered_set, does not make automatic rehashings nor offers functions related to a load factor. Rehashing can be explicitly requested and the user must provide a new bucket array that will be used from that moment.</para><para>Since no automatic rehashing is done, iterators are never invalidated when inserting or erasing elements. Iterators are only invalidated when rehasing. </para></description><typedef id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1abe2f23e9fd6e9b5f6fe586113881f225" name="value_type"><type>implementation_defined::value_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a46d4b5e9b3d0b25b034b2850ab0c6f60" name="key_type"><type>implementation_defined::key_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a16e03ff431c7d348b0a3a6ce4e385e4a" name="value_traits"><type>implementation_defined::value_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1ac33cfbc3b5902d0a02ba5a1c974f3522" name="bucket_traits"><type>implementation_defined::bucket_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1aef1cf90fe6a76181bceea6438939a8a2" name="pointer"><type>implementation_defined::pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a29236086ae669a09273596199cdc15f3" name="const_pointer"><type>implementation_defined::const_pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a1e401c2e7b3107c604d4b9d65b102b45" name="reference"><type>implementation_defined::reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a24e486f2a399bf1c12b88fbe89a03592" name="const_reference"><type>implementation_defined::const_reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1aa879012a38b607cbbb22ddf3486f39dc" name="difference_type"><type>implementation_defined::difference_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1aa115588b4c7685fb545c1451af6c13f4" name="size_type"><type>implementation_defined::size_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a0bf2b114bf85ada503afeb76630c28ad" name="key_equal"><type>implementation_defined::key_equal</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1ac76d9935bef2791d0f07d60eca447716" name="hasher"><type>implementation_defined::hasher</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a48191b0edfae3bd8c940dcc00c90aaa7" name="bucket_type"><type>implementation_defined::bucket_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a3614bbb99ccddb2457a1892d794bd97e" name="bucket_ptr"><type>implementation_defined::bucket_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1add8e73b71e60e19994ba50d626ca3f4c" name="iterator"><type>implementation_defined::iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a56662bddd4381b6eee49f705207133d3" name="const_iterator"><type>implementation_defined::const_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a08685b27093cfb644536b317ab40a1e9" name="insert_commit_data"><type>implementation_defined::insert_commit_data</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a05633c8ece181f43e440306b796d403e" name="local_iterator"><type>implementation_defined::local_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a7aa9c81e7d0738d193d9c5d84ede094f" name="const_local_iterator"><type>implementation_defined::const_local_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a3b66c997d43ff805f022d7d983efa37d" name="node_traits"><type>implementation_defined::node_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1afeb3594bb30797d4a6108820291ca276" name="node"><type>implementation_defined::node</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a84ec29bcc5996eb1d36dc3ae8c5614c5" name="node_ptr"><type>implementation_defined::node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1ae027a98f7f1c03efbf0dcf0089a91dfa" name="const_node_ptr"><type>implementation_defined::const_node_ptr</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a0af387d0fea73158e3ec76ed72e13caf" specifiers="explicit"><parameter name="b_traits"><paramtype>const bucket_traits &amp;</paramtype></parameter><parameter name="hash_func"><paramtype>const hasher &amp;</paramtype><default>hasher()</default></parameter><parameter name="equal_func"><paramtype>const key_equal &amp;</paramtype><default>key_equal()</default></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1aa060fc43c14e95497162222ff6d77b64"><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><parameter name="b_traits"><paramtype>const bucket_traits &amp;</paramtype></parameter><parameter name="hash_func"><paramtype>const hasher &amp;</paramtype><default>hasher()</default></parameter><parameter name="equal_func"><paramtype>const key_equal &amp;</paramtype><default>key_equal()</default></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a13bc6192d8798dc8f6f9ebb82697e466"><parameter name="x"><paramtype><classname>unordered_multiset</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: to-do </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a4d3a22c70b0a58d452f33130ef56cc80"><type><classname>unordered_multiset</classname> &amp;</type><parameter name="x"><paramtype><classname>unordered_multiset</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: to-do </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a3ebdffff177fbe21c4569eb312ed3dde"><description><para><emphasis role="bold">Effects</emphasis>: Detaches all elements from this. The objects in the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link> are not deleted (i.e. no destructors are called).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements in the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>, if it's a safe-mode or auto-unlink value. Otherwise constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a3590436ad78e5856b35e951dc34eb7b0" name="begin" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the beginning of the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>.</para><para><emphasis role="bold">Complexity</emphasis>: Amortized constant time. Worst case (empty <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>): O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a309984f66f062c282ee6ec61274245eb">bucket_count()</link>)</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a0876cbe935ec078c543d7cccc8ae8fd4" name="begin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>.</para><para><emphasis role="bold">Complexity</emphasis>: Amortized constant time. Worst case (empty <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>): O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a309984f66f062c282ee6ec61274245eb">bucket_count()</link>)</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1aa32e53acf75ec97aecfab9089239bb24" name="cbegin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>.</para><para><emphasis role="bold">Complexity</emphasis>: Amortized constant time. Worst case (empty <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>): O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a309984f66f062c282ee6ec61274245eb">bucket_count()</link>)</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1adebb5aa6f306a167e870bd72be856db8" name="end" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the end of the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a106d554723ead8c18ea0c234b1bb6932" name="end" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a9c17f8244b49fa09d456ab3c1d7285c5" name="cend" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1afc47862791750462b3d5b302b416d507" name="hash_function" cv="const"><type>hasher</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the hasher object used by the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If hasher copy-constructor throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1ad1e1defb492bd4f23b67a618f6043806" name="key_eq" cv="const"><type>key_equal</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the key_equal object used by the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If key_equal copy-constructor throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1acb0f37ea3c7c5a07e0780353520fadc3" name="empty" cv="const noexcept"><type>bool</type><description><para><emphasis role="bold">Effects</emphasis>: Returns true if the container is empty.</para><para><emphasis role="bold">Complexity</emphasis>: if constant-time size and <link linkend="doxygen.structboost_1_1intrusive_1_1cache__begin">cache_begin</link> options are disabled, average constant time (worst case, with <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1acb0f37ea3c7c5a07e0780353520fadc3">empty()</link> == true: O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a309984f66f062c282ee6ec61274245eb">bucket_count()</link>). Otherwise constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a71f529a6ac61142d867339d8c8c0fdc6" name="size" cv="const noexcept"><type>size_type</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the number of elements stored in the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this if <link linkend="doxygen.structboost_1_1intrusive_1_1constant__time__size">constant_time_size</link> is false. Constant-time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a42f32ca7ddd8fd1ba0b89532567b87cd" name="swap"><type>void</type><parameter name="other"><paramtype><classname>unordered_multiset</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: buckets must not be being used by any other resource.</para><para><emphasis role="bold">Effects</emphasis>: Constructs an empty <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>, storing a reference to the bucket array and copies of the key_hasher and equal_func functors.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the copy constructor or invocation of hash_func or equal_func throws.</para><para><emphasis role="bold">Notes</emphasis>: buckets array must be disposed only after *this is disposed.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a4e3185202561e7567e3bfaca30334c5b" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype>const <classname>unordered_multiset</classname> &amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw Cloner should yield to nodes that compare equal and produce the same hash than the original node.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(const_reference ) and inserts them on *this. The hash function and the equality predicate are copied from the source.</para><para>If <link linkend="doxygen.structboost_1_1intrusive_1_1store__hash">store_hash</link> option is true, this method does not use the hash function.</para><para>If any operation throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner or hasher throw or hash or equality predicate copying throws. Basic guarantee.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1ac47978d5295a2b113035612e4352edbe" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype><classname>unordered_multiset</classname> &amp;&amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw Cloner should yield to nodes that compare equal and produce the same hash than the original node.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(reference) and inserts them on *this. The hash function and the equality predicate are copied from the source.</para><para>If <link linkend="doxygen.structboost_1_1intrusive_1_1store__hash">store_hash</link> option is true, this method does not use the hash function.</para><para>If any operation throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner or hasher throw or hash or equality predicate copying throws. Basic guarantee.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a26c474ac0b0d5ab7dbd6410e6c50f7a2" name="insert"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a908654c13f048e5abcdc937b2160ee93" name="insert"><type>void</type><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type.</para><para><emphasis role="bold">Effects</emphasis>: Equivalent to this-&gt;insert_equal(t) for each element in [b, e).</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(N), where N is distance(b, e). Worst case O(N*this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a71f529a6ac61142d867339d8c8c0fdc6">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: If the internal hasher or the equality functor throws. Basic guarantee.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a23debe5c758d86836e0407c8911c60dc" name="erase"><type>void</type><parameter name="i"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1ae17c53305a861b5e90625140273b3386" name="erase" cv="noexcept"><type>void</type><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1af38d7b43462fedc02d0361e8c0c80bfa" name="erase"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1ad5745806152e5b7934c847b2b0acfbea" name="erase"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyHasher"/>
          <template-type-parameter name="KeyEqual"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="hash_func"><paramtype>KeyHasher</paramtype></parameter><parameter name="equal_func"><paramtype>KeyEqual</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "hash_func" must be a hash function that induces the same hash values as the stored hasher. The difference is that "hash_func" hashes the given key instead of the value_type.</para><para>"equal_func" must be a equality function that induces the same equality as key_equal. The difference is that "equal_func" compares an arbitrary key with the contained values.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements that have the same hash and compare equal with the given key.</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(this-&gt;count(value)). Worst case O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a71f529a6ac61142d867339d8c8c0fdc6">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: If hash_func or equal_func throw. Basic guarantee.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1ad809b3dfff4fabbfdda98a3dfe11c53a" name="erase_and_dispose" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="i"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1af84fd5c5a1ec95abd4545ea3f54b6bde" name="erase_and_dispose" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a6b74be0de50c3dd85e49bc77285bb29f" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a453806ae84214caf37433cad66f749c2" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyHasher"/>
          <template-type-parameter name="KeyEqual"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="hash_func"><paramtype>KeyHasher</paramtype></parameter><parameter name="equal_func"><paramtype>KeyEqual</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "equal_func". Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(this-&gt;count(value)). Worst case O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a71f529a6ac61142d867339d8c8c0fdc6">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: If hash_func or equal_func throw. Basic guarantee.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased elements.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1aa3988ce81afd54209f607287e5206098" name="clear" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements on the container. if it's a safe-mode or auto-unlink value_type. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1ac00b51148ff2c2607c2808f4383eb25e" name="clear_and_dispose" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements on the container. Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a14726e437b296cdaab281a819354d532" name="count" cv="const"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1aed514222aded5b047d88bd0ef3c881d3" name="count" cv="const"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyHasher"/>
          <template-type-parameter name="KeyEqual"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="hash_func"><paramtype>KeyHasher</paramtype></parameter><parameter name="equal_func"><paramtype>KeyEqual</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "hash_func" must be a hash function that induces the same hash values as the stored hasher. The difference is that "hash_func" hashes the given key instead of the value_type.</para><para>"equal_func" must be a equality function that induces the same equality as key_equal. The difference is that "equal_func" compares an arbitrary key with the contained values.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of contained elements with the given key</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(1), worst case O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a71f529a6ac61142d867339d8c8c0fdc6">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: If hash_func or equal throw.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a9fcfdcf7cb116f0ecd5bd94d88f41d54" name="find"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1aa1d5506bf4d8bb68313c1204311ec451" name="find"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyHasher"/>
          <template-type-parameter name="KeyEqual"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="hash_func"><paramtype>KeyHasher</paramtype></parameter><parameter name="equal_func"><paramtype>KeyEqual</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "hash_func" must be a hash function that induces the same hash values as the stored hasher. The difference is that "hash_func" hashes the given key instead of the value_type.</para><para>"equal_func" must be a equality function that induces the same equality as key_equal. The difference is that "equal_func" compares an arbitrary key with the contained values.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is "key" according to the given hash and equality functor or <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1adebb5aa6f306a167e870bd72be856db8">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(1), worst case O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a71f529a6ac61142d867339d8c8c0fdc6">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: If hash_func or equal_func throw.</para><para><emphasis role="bold">Note</emphasis>: This function is used when constructing a value_type is expensive and the value_type can be compared with a cheaper key type. Usually this key is part of the value_type.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1ac3b76b587d0d3046f5f2d206fcd648d0" name="find" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a4a48d35f938d0234ded205fbae55d8eb" name="find" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyHasher"/>
          <template-type-parameter name="KeyEqual"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="hash_func"><paramtype>KeyHasher</paramtype></parameter><parameter name="equal_func"><paramtype>KeyEqual</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "hash_func" must be a hash function that induces the same hash values as the stored hasher. The difference is that "hash_func" hashes the given key instead of the value_type.</para><para>"equal_func" must be a equality function that induces the same equality as key_equal. The difference is that "equal_func" compares an arbitrary key with the contained values.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is "key" according to the given hasher and equality functor or <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1adebb5aa6f306a167e870bd72be856db8">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(1), worst case O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a71f529a6ac61142d867339d8c8c0fdc6">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: If hash_func or equal_func throw.</para><para><emphasis role="bold">Note</emphasis>: This function is used when constructing a value_type is expensive and the value_type can be compared with a cheaper key type. Usually this key is part of the value_type.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a8f93433c93701cdd8ffec3a6362fb1ff" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a751bca4dc2d81d67583976c2c977d588" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyHasher"/>
          <template-type-parameter name="KeyEqual"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="hash_func"><paramtype>KeyHasher</paramtype></parameter><parameter name="equal_func"><paramtype>KeyEqual</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "hash_func" must be a hash function that induces the same hash values as the stored hasher. The difference is that "hash_func" hashes the given key instead of the value_type.</para><para>"equal_func" must be a equality function that induces the same equality as key_equal. The difference is that "equal_func" compares an arbitrary key with the contained values.</para><para><emphasis role="bold">Effects</emphasis>: Returns a range containing all elements with equivalent keys. Returns std::make_pair(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1adebb5aa6f306a167e870bd72be856db8">end()</link>, this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1adebb5aa6f306a167e870bd72be856db8">end()</link>) if no such elements exist.</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(this-&gt;count(key, hash_func, equal_func)). Worst case O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a71f529a6ac61142d867339d8c8c0fdc6">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: If hash_func or the equal_func throw.</para><para><emphasis role="bold">Note</emphasis>: This function is used when constructing a value_type is expensive and the value_type can be compared with a cheaper key type. Usually this key is part of the value_type.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1af98ad47c7512119cf2e2b1621fb88319" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a947a871e3eb02ab716e7a8a7955e5aeb" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyHasher"/>
          <template-type-parameter name="KeyEqual"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="hash_func"><paramtype>KeyHasher</paramtype></parameter><parameter name="equal_func"><paramtype>KeyEqual</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "hash_func" must be a hash function that induces the same hash values as the stored hasher. The difference is that "hash_func" hashes the given key instead of the value_type.</para><para>"equal_func" must be a equality function that induces the same equality as key_equal. The difference is that "equal_func" compares an arbitrary key with the contained values.</para><para><emphasis role="bold">Effects</emphasis>: Returns a range containing all elements with equivalent keys. Returns std::make_pair(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1adebb5aa6f306a167e870bd72be856db8">end()</link>, this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1adebb5aa6f306a167e870bd72be856db8">end()</link>) if no such elements exist.</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(this-&gt;count(key, hash_func, equal_func)). Worst case O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a71f529a6ac61142d867339d8c8c0fdc6">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: If the hasher or equal_func throw.</para><para><emphasis role="bold">Note</emphasis>: This function is used when constructing a value_type is expensive and the value_type can be compared with a cheaper key type. Usually this key is part of the value_type.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a209613e523d1fe8c5ce0825d4eaf38a0" name="iterator_to" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a9191bef55e22acbc13fa654f72ebc97c" name="iterator_to" cv="const noexcept"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1aaa54fc2a6ea4de484cca4e3ee84c3dff" name="local_iterator_to" cv="noexcept"><type>local_iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1aa797f53581fa5efbfcdcd2653e06170e" name="local_iterator_to" cv="const noexcept"><type>const_local_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a309984f66f062c282ee6ec61274245eb" name="bucket_count" cv="const noexcept"><type>size_type</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the number of buckets passed in the constructor or the last rehash function.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a48e447bab621a4541bb2e59b57cfdbbd" name="bucket_size" cv="const noexcept"><type>size_type</type><parameter name="n"><paramtype>size_type</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: n is in the range [0, this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a309984f66f062c282ee6ec61274245eb">bucket_count()</link>).</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of elements in the nth bucket.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a3657948583dcaf3503dff62739a1a4e5" name="bucket" cv="const"><type>size_type</type><parameter name="k"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1acdcae63ff10f7e9285b526c1eb5c1684" name="bucket" cv="const"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyHasher"/>
        </template><parameter name="k"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="hash_func"><paramtype>KeyHasher</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "hash_func" must be a hash function that induces the same hash values as the stored hasher. The difference is that "hash_func" hashes the given key instead of the value_type.</para><para><emphasis role="bold">Effects</emphasis>: Returns the index of the bucket in which elements with keys equivalent to k would be found, if any such element existed.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If hash_func throws.</para><para><emphasis role="bold">Note</emphasis>: the return value is in the range [0, this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a309984f66f062c282ee6ec61274245eb">bucket_count()</link>).   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1acd948c7eb75fbd051cbe45752feca589" name="bucket_pointer" cv="const noexcept"><type>bucket_ptr</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the bucket array pointer passed in the constructor or the last rehash function.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1ab980be353b84a5859cf7859a11f10063" name="begin" cv="noexcept"><type>local_iterator</type><parameter name="n"><paramtype>size_type</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a9acb02105ef40b9906f3d9cf0f320bc9" name="begin" cv="const noexcept"><type>const_local_iterator</type><parameter name="n"><paramtype>size_type</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a687fdaf004c3f23c5e4de1097ea52342" name="cbegin" cv="const noexcept"><type>const_local_iterator</type><parameter name="n"><paramtype>size_type</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a1ae893c64b9dec8ea83d7ec228d3fbc1" name="end" cv="noexcept"><type>local_iterator</type><parameter name="n"><paramtype>size_type</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1adffdece37d5741ab814d13b7f7d4f37e" name="end" cv="const noexcept"><type>const_local_iterator</type><parameter name="n"><paramtype>size_type</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a242bb4371d57bed65b5d081def2699a2" name="cend" cv="const noexcept"><type>const_local_iterator</type><parameter name="n"><paramtype>size_type</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a41aec4f4db8e3bb6cca42da812e9effa" name="rehash"><type>void</type><parameter name="new_bucket_traits"><paramtype>const bucket_traits &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a53a57e54c788bdfc5b9583ffc7d4cc53" name="full_rehash"><type>void</type><description><para><emphasis role="bold">Note</emphasis>: This function is used when keys from inserted elements are changed (e.g. a language change when key is a string) but uniqueness and hash properties are preserved so a fast full rehash recovers invariants for *this without extracting and reinserting all elements again.</para><para><emphasis role="bold">Requires</emphasis>: Calls produced to the hash function should not alter the value uniqueness properties of already inserted elements. If hasher(key1) == hasher(key2) was true when elements were inserted, it shall be true during calls produced in the execution of this function.</para><para>key_equal is not called inside this function so it is assumed that key_equal(value1, value2) should produce the same results as before for inserted elements.</para><para><emphasis role="bold">Effects</emphasis>: Reprocesses all values hold by *this, recalculating their hash values and redistributing them though the buckets.</para><para>If <link linkend="doxygen.structboost_1_1intrusive_1_1store__hash">store_hash</link> option is true, this method uses the hash function and updates the stored hash value.</para><para><emphasis role="bold">Complexity</emphasis>: Average case linear in this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a71f529a6ac61142d867339d8c8c0fdc6">size()</link>, worst case quadratic.</para><para><emphasis role="bold">Throws</emphasis>: If the hasher functor throws. Basic guarantee.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1ace7afa3e94bd47aaadf24dafdcdffac8" name="incremental_rehash"><type>bool</type><parameter name="grow"><paramtype>bool</paramtype><default>true</default></parameter><description><para><emphasis role="bold">Requires</emphasis>:</para><para><emphasis role="bold">Effects</emphasis>:</para><para><emphasis role="bold">Complexity</emphasis>:</para><para><emphasis role="bold">Throws</emphasis>:</para><para><emphasis role="bold">Note</emphasis>: this method is only available if incremental&lt;true&gt; option is activated.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a85daa0859d1e4aefd57d2d8cdf2c29ca" name="incremental_rehash"><type>bool</type><parameter name="new_bucket_traits"><paramtype>const bucket_traits &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a78d07a3e96e4b8404445bbcb3935d27b" name="split_count" cv="const noexcept"><type>size_type</type><description><para><emphasis role="bold">Requires</emphasis>: incremental&lt;&gt; option must be set</para><para><emphasis role="bold">Effects</emphasis>: returns the current split count</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing   </para></description></method>
</method-group>
<method-group name="public static functions">
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1adee0dcc17cffbdff804fc1e24d610944" name="s_local_iterator_to" cv="noexcept" specifiers="static"><type>local_iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a5e2859dd35d12ba1b724157ccdaa23f9" name="s_local_iterator_to" cv="noexcept" specifiers="static"><type>const_local_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1ac92f2148b3724eee1883704ffadeb460" name="suggested_upper_bucket_count" cv="noexcept" specifiers="static"><type>size_type</type><parameter name="n"><paramtype>size_type</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Returns the nearest new bucket count optimized for the container that is bigger or equal than n. This suggestion can be used to create bucket arrays with a size that will usually improve container's performance. If such value does not exist, the higher possible value is returned.</para><para><emphasis role="bold">Complexity</emphasis>: Amortized constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__multiset_1a660397e04a8f1c8c4abe00c01c3070e0" name="suggested_lower_bucket_count" cv="noexcept" specifiers="static"><type>size_type</type><parameter name="n"><paramtype>size_type</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Returns the nearest new bucket count optimized for the container that is smaller or equal than n. This suggestion can be used to create bucket arrays with a size that will usually improve container's performance. If such value does not exist, the lowest possible value is returned.</para><para><emphasis role="bold">Complexity</emphasis>: Amortized constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
</method-group>
</class><class id="doxygen.classboost_1_1intrusive_1_1unordered__set" name="unordered_set"><template>
      <template-type-parameter name="T"/>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>The class template <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link> is an intrusive container, that mimics most of the interface of std::tr1::unordered_set as described in the C++ TR1.</para><para><link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link> is a semi-intrusive container: each object to be stored in the container must contain a proper hook, but the container also needs additional auxiliary memory to work: <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link> needs a pointer to an array of type <computeroutput>bucket_type</computeroutput> to be passed in the constructor. This bucket array must have at least the same lifetime as the container. This makes the use of <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link> more complicated than purely intrusive containers. <computeroutput>bucket_type</computeroutput> is default-constructible, copyable and assignable</para><para>The template parameter <computeroutput>T</computeroutput> is the type to be managed by the container. The user can specify additional options and if no options are provided default options are used.</para><para>The container supports the following options: <computeroutput>base_hook&lt;&gt;/member_hook&lt;&gt;/value_traits&lt;&gt;</computeroutput>, <computeroutput>constant_time_size&lt;&gt;</computeroutput>, <computeroutput>size_type&lt;&gt;</computeroutput>, <computeroutput>hash&lt;&gt;</computeroutput> and <computeroutput>equal&lt;&gt;</computeroutput> <computeroutput>bucket_traits&lt;&gt;</computeroutput>, <computeroutput>power_2_buckets&lt;&gt;</computeroutput> and <computeroutput>cache_begin&lt;&gt;</computeroutput>.</para><para><link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link> only provides forward iterators but it provides 4 iterator types: iterator and const_iterator to navigate through the whole container and local_iterator and const_local_iterator to navigate through the values stored in a single bucket. Local iterators are faster and smaller.</para><para>It's not recommended to use non constant-time size unordered_sets because several key functions, like "empty()", become non-constant time functions. Non constant-time size unordered_sets are mainly provided to support auto-unlink hooks.</para><para><link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>, unlike std::unordered_set, does not make automatic rehashings nor offers functions related to a load factor. Rehashing can be explicitly requested and the user must provide a new bucket array that will be used from that moment.</para><para>Since no automatic rehashing is done, iterators are never invalidated when inserting or erasing elements. Iterators are only invalidated when rehasing. </para></description><typedef id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a8d748fcbec6fe4fabe0c4d1ce371546d" name="value_type"><type>implementation_defined::value_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__set_1ad0a07a420b5ffa7a57cacb89401605b6" name="key_type"><type>implementation_defined::key_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__set_1aeca9801c141c90b35b74754bc5f5cfe7" name="key_of_value"><type>implementation_defined::key_of_value</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__set_1aa60b2f4cd3c02003ff81eac0eee6b937" name="value_traits"><type>implementation_defined::value_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a03167ca4634944572f6d6980db298864" name="bucket_traits"><type>implementation_defined::bucket_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__set_1add68c7ab9e7c73d0d019327b1373520a" name="pointer"><type>implementation_defined::pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a38581df7985ae878be8abf3f5ca093bc" name="const_pointer"><type>implementation_defined::const_pointer</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__set_1ab7b8116a7593f17335b5c195233acfe6" name="reference"><type>implementation_defined::reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a700b91b0b78227a1646bd486a62926e1" name="const_reference"><type>implementation_defined::const_reference</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a4366fe74af5d9d66bd49144287ece65a" name="difference_type"><type>implementation_defined::difference_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a264c47cf431a0a494cdd487b46d54ebb" name="size_type"><type>implementation_defined::size_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__set_1ae2c64f05297f846d779625a5fc629359" name="key_equal"><type>implementation_defined::key_equal</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__set_1ac7d40d6cd736e13818370c01b39fe6f7" name="hasher"><type>implementation_defined::hasher</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__set_1acedb1f5e891df9dbe6a1638e3f6a2ac6" name="bucket_type"><type>implementation_defined::bucket_type</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a3c90845e62640312bda0d590a2dff93c" name="bucket_ptr"><type>implementation_defined::bucket_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__set_1aa2a063f8fae2d6b619552ebd139dc38a" name="iterator"><type>implementation_defined::iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__set_1ab185cc6ef6722c6f2999eaacd3bc817d" name="const_iterator"><type>implementation_defined::const_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__set_1ac96790f1c65ad94332878a6ac8887f42" name="insert_commit_data"><type>implementation_defined::insert_commit_data</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a990b287ca97de96f00f69f8cfadd3452" name="local_iterator"><type>implementation_defined::local_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a911f7b1fed09ecda0b8946246acfb119" name="const_local_iterator"><type>implementation_defined::const_local_iterator</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a8aa94491240b581eddb2c8020164bd40" name="node_traits"><type>implementation_defined::node_traits</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__set_1ab04f357b934a511c203d5ef2c2664389" name="node"><type>implementation_defined::node</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__set_1ad9a66ca3068efb79b1b82f53ed42ddce" name="node_ptr"><type>implementation_defined::node_ptr</type></typedef>
<typedef id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a0bbc4f724c4bad575cf9dee7240944e1" name="const_node_ptr"><type>implementation_defined::const_node_ptr</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a3b1b7b19a25e808459a80196e86952c0" specifiers="explicit"><parameter name="b_traits"><paramtype>const bucket_traits &amp;</paramtype></parameter><parameter name="hash_func"><paramtype>const hasher &amp;</paramtype><default>hasher()</default></parameter><parameter name="equal_func"><paramtype>const key_equal &amp;</paramtype><default>key_equal()</default></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1unordered__set_1ac949e112f962b99faa5c8730218022ef"><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><parameter name="b_traits"><paramtype>const bucket_traits &amp;</paramtype></parameter><parameter name="hash_func"><paramtype>const hasher &amp;</paramtype><default>hasher()</default></parameter><parameter name="equal_func"><paramtype>const key_equal &amp;</paramtype><default>key_equal()</default></parameter><parameter name="v_traits"><paramtype>const value_traits &amp;</paramtype><default>value_traits()</default></parameter></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a3d88b53b9eb4bc183b894dc84a6eedd5"><parameter name="x"><paramtype><classname>unordered_set</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Constructs a container moving resources from another container. Internal value traits, bucket traits, hasher and comparison are move constructed and nodes belonging to x are linked to *this.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node's move constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the move constructor of value traits, bucket traits, hasher or comparison throws.   </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1unordered__set_1accfb0d50923892e26dfa51b596d66afb"><type><classname>unordered_set</classname> &amp;</type><parameter name="x"><paramtype><classname>unordered_set</classname> &amp;&amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Equivalent to swap.  </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a0dc61b213ba866ee37509551aca7fae5"><description><para><emphasis role="bold">Effects</emphasis>: Detaches all elements from this. The objects in the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link> are not deleted (i.e. no destructors are called).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements in the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>, if it's a safe-mode or auto-unlink value. Otherwise constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a64aac9167b81e1c6f88872f06215ba1d" name="begin" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the beginning of the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>.</para><para><emphasis role="bold">Complexity</emphasis>: Amortized constant time. Worst case (empty <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>): O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set_1a9ff60254b007bb0c178257d5e97c0fa2">bucket_count()</link>)</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a7c1ce50320e51e8b6e7cdb86bfab49f1" name="begin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>.</para><para><emphasis role="bold">Complexity</emphasis>: Amortized constant time. Worst case (empty <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>): O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set_1a9ff60254b007bb0c178257d5e97c0fa2">bucket_count()</link>)</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a32c5aad7dac6eaedef02a01635ad45c2" name="cbegin" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the beginning of the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>.</para><para><emphasis role="bold">Complexity</emphasis>: Amortized constant time. Worst case (empty <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>): O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set_1a9ff60254b007bb0c178257d5e97c0fa2">bucket_count()</link>)</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1abcad758b2ac9547d1b31c6e9cd83b356" name="end" cv="noexcept"><type>iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns an iterator pointing to the end of the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1ac23489c158c1ea61f72f4e5e10babd05" name="end" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a5d1b5c132f34d8722cbe584d5b766b92" name="cend" cv="const noexcept"><type>const_iterator</type><description><para><emphasis role="bold">Effects</emphasis>: Returns a const_iterator pointing to the end of the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a84d9c835d4b8eca7d084456caf2db2e6" name="hash_function" cv="const"><type>hasher</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the hasher object used by the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If hasher copy-constructor throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1ac324001742a7f4f4e52927c6af917366" name="key_eq" cv="const"><type>key_equal</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the key_equal object used by the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If key_equal copy-constructor throws.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a5f7d7c3a0992ae8f68ec368fbc42e114" name="empty" cv="const noexcept"><type>bool</type><description><para><emphasis role="bold">Effects</emphasis>: Returns true if the container is empty.</para><para><emphasis role="bold">Complexity</emphasis>: if constant-time size and <link linkend="doxygen.structboost_1_1intrusive_1_1cache__begin">cache_begin</link> options are disabled, average constant time (worst case, with <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set_1a5f7d7c3a0992ae8f68ec368fbc42e114">empty()</link> == true: O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set_1a9ff60254b007bb0c178257d5e97c0fa2">bucket_count()</link>). Otherwise constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a231f01811305390fb38ef92c1e3027de" name="size" cv="const noexcept"><type>size_type</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the number of elements stored in the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to elements contained in *this if <link linkend="doxygen.structboost_1_1intrusive_1_1constant__time__size">constant_time_size</link> is false. Constant-time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a09c5b6164cc233275e01eab325f32f2a" name="swap"><type>void</type><parameter name="other"><paramtype><classname>unordered_set</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: buckets must not be being used by any other resource.</para><para><emphasis role="bold">Effects</emphasis>: Constructs an empty <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link>, storing a reference to the bucket array and copies of the key_hasher and equal_func functors.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If value_traits::node_traits::node constructor throws (this does not happen with predefined Boost.Intrusive hooks) or the copy constructor or invocation of hash_func or equal_func throws.</para><para><emphasis role="bold">Notes</emphasis>: buckets array must be disposed only after *this is disposed.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1ac6e8053358fba482407bd88cff8da85b" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype>const <classname>unordered_set</classname> &amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw Cloner should yield to nodes that compare equal and produce the same hash than the original node.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(const_reference ) and inserts them on *this. The hash function and the equality predicate are copied from the source.</para><para>If <link linkend="doxygen.structboost_1_1intrusive_1_1store__hash">store_hash</link> option is true, this method does not use the hash function.</para><para>If any operation throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner or hasher throw or hash or equality predicate copying throws. Basic guarantee.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1ac595e05924da3977b92ce70004068c13" name="clone_from"><type>void</type><template>
          <template-type-parameter name="Cloner"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="src"><paramtype><classname>unordered_set</classname> &amp;&amp;</paramtype></parameter><parameter name="cloner"><paramtype>Cloner</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw Cloner should yield to nodes that compare equal and produce the same hash than the original node.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements from *this calling Disposer::operator()(pointer), clones all the elements from src calling Cloner::operator()(reference) and inserts them on *this. The hash function and the equality predicate are copied from the source.</para><para>If <link linkend="doxygen.structboost_1_1intrusive_1_1store__hash">store_hash</link> option is true, this method does not use the hash function.</para><para>If any operation throws, all cloned elements are unlinked and disposed calling Disposer::operator()(pointer).</para><para><emphasis role="bold">Complexity</emphasis>: Linear to erased plus inserted elements.</para><para><emphasis role="bold">Throws</emphasis>: If cloner or hasher throw or hash or equality predicate copying throws. Basic guarantee.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a1be30a059cb9b4e02e14ad61a265aee9" name="insert"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1af1364cc124deb7847ce6aadc8e10dccb" name="insert"><type>void</type><template>
          <template-type-parameter name="Iterator"/>
        </template><parameter name="b"><paramtype>Iterator</paramtype></parameter><parameter name="e"><paramtype>Iterator</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Dereferencing iterator must yield an lvalue of type value_type.</para><para><emphasis role="bold">Effects</emphasis>: Equivalent to this-&gt;insert_unique(t) for each element in [b, e).</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(N), where N is distance(b, e). Worst case O(N*this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set_1a231f01811305390fb38ef92c1e3027de">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: If the internal hasher or the equality functor throws. Basic guarantee.</para><para><emphasis role="bold">Note</emphasis>: Does not affect the validity of iterators and references. No copy-constructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a3da56d679524816036ee6f9820ff9745" name="insert_check"><type>std::pair&lt; iterator, bool &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a4ef55a4518d9720bd953c7bf80c04dd5" name="insert_check"><type>std::pair&lt; iterator, bool &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyHasher"/>
          <template-type-parameter name="KeyEqual"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="hash_func"><paramtype>KeyHasher</paramtype></parameter><parameter name="key_value_equal"><paramtype>KeyEqual</paramtype></parameter><parameter name="commit_data"><paramtype>insert_commit_data &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a311a6a112648da2af705025d62af04d2" name="insert_commit" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter><parameter name="commit_data"><paramtype>const insert_commit_data &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue of type value_type. commit_data must have been obtained from a previous call to "insert_check". No objects should have been inserted or erased from the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link> between the "insert_check" that filled "commit_data" and the call to "insert_commit".</para><para><emphasis role="bold">Effects</emphasis>: Inserts the value in the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link> using the information obtained from the "commit_data" that a previous "insert_check" filled.</para><para><emphasis role="bold">Returns</emphasis>: An iterator to the newly inserted object.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function has only sense if a "insert_check" has been previously executed to fill "commit_data". No value should be inserted or erased between the "insert_check" and "insert_commit" calls.</para><para>After a successful rehashing insert_commit_data remains valid.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a93b4b5af5b70dbb23bcec5fcf86cfa1f" name="insert_fast_commit" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter><parameter name="commit_data"><paramtype>const insert_commit_data &amp;</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: value must be an lvalue of type value_type. commit_data must have been obtained from a previous call to "insert_check". No objects should have been inserted or erased from the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link> between the "insert_check" that filled "commit_data" and the call to "insert_commit".</para><para>No rehashing shall be performed between <computeroutput>insert_check</computeroutput> and <computeroutput>insert_fast_commit</computeroutput>.</para><para><emphasis role="bold">Effects</emphasis>: Inserts the value in the <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link> using the information obtained from the "commit_data" that a previous "insert_check" filled.</para><para><emphasis role="bold">Returns</emphasis>: An iterator to the newly inserted object.</para><para><emphasis role="bold">Complexity</emphasis>: Constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Notes</emphasis>: This function has only sense if a "insert_check" has been previously executed to fill "commit_data". No value should be inserted or erased between the "insert_check" and "insert_commit" calls.</para><para>Since this commit operation does not support rehashing between the check and the commit, it's faster than <computeroutput>insert_commit</computeroutput>.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1adb2aac843ac249ee4a321a002d6e4421" name="erase"><type>void</type><parameter name="i"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a03244646d5355b5de7ef686ee3e8ef6f" name="erase" cv="noexcept"><type>void</type><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1ab58a1726a2c6f2698377ca33bd5247df" name="erase"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a0cd2867935e37b3d423c607127357417" name="erase"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyHasher"/>
          <template-type-parameter name="KeyEqual"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="hash_func"><paramtype>KeyHasher</paramtype></parameter><parameter name="equal_func"><paramtype>KeyEqual</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "hash_func" must be a hash function that induces the same hash values as the stored hasher. The difference is that "hash_func" hashes the given key instead of the value_type.</para><para>"equal_func" must be a equality function that induces the same equality as key_equal. The difference is that "equal_func" compares an arbitrary key with the contained values.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements that have the same hash and compare equal with the given key.</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(this-&gt;count(value)). Worst case O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set_1a231f01811305390fb38ef92c1e3027de">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: If hash_func or equal_func throw. Basic guarantee.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a7bac74b28e399a035e3b110f45605ae2" name="erase_and_dispose" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="i"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a18f52ee26e23a2bbd7d21440e1e4a65d" name="erase_and_dispose" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="b"><paramtype>const_iterator</paramtype></parameter><parameter name="e"><paramtype>const_iterator</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a04ab943c5967158f905383a880a0e9fd" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a978d41e1587b290b60de7511c2936703" name="erase_and_dispose"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyHasher"/>
          <template-type-parameter name="KeyEqual"/>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="hash_func"><paramtype>KeyHasher</paramtype></parameter><parameter name="equal_func"><paramtype>KeyEqual</paramtype></parameter><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases all the elements with the given key. according to the comparison functor "equal_func". Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Returns</emphasis>: The number of erased elements.</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(this-&gt;count(value)). Worst case O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set_1a231f01811305390fb38ef92c1e3027de">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: If hash_func or equal_func throw. Basic guarantee.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators to the erased elements.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a859c25b3bbabe770cb867b455fe7590a" name="clear" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements on the container. if it's a safe-mode or auto-unlink value_type. Constant time otherwise.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1adfdedb5282d77776b66a5cbad1d11d6c" name="clear_and_dispose" cv="noexcept"><type>void</type><template>
          <template-type-parameter name="Disposer"/>
        </template><parameter name="disposer"><paramtype>Disposer</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: Disposer::operator()(pointer) shouldn't throw.</para><para><emphasis role="bold">Effects</emphasis>: Erases all of the elements.</para><para><emphasis role="bold">Complexity</emphasis>: Linear to the number of elements on the container. Disposer::operator()(pointer) is called for the removed elements.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Note</emphasis>: Invalidates the iterators (but not the references) to the erased elements. No destructors are called.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a280eb774c3e14f8ba3fde44483f0a92f" name="count" cv="const"><type>size_type</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a0a23e7b08708b98482e608fba662fd1b" name="count" cv="const"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyHasher"/>
          <template-type-parameter name="KeyEqual"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="hash_func"><paramtype>KeyHasher</paramtype></parameter><parameter name="equal_func"><paramtype>KeyEqual</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "hash_func" must be a hash function that induces the same hash values as the stored hasher. The difference is that "hash_func" hashes the given key instead of the value_type.</para><para>"equal_func" must be a equality function that induces the same equality as key_equal. The difference is that "equal_func" compares an arbitrary key with the contained values.</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of contained elements with the given key</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(1), worst case O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set_1a231f01811305390fb38ef92c1e3027de">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: If hash_func or equal throw.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a556c8e135ad7343db0481c18b6337850" name="find"><type>iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a101006012828615a05ce6ef7c6d125e3" name="find"><type>iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyHasher"/>
          <template-type-parameter name="KeyEqual"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="hash_func"><paramtype>KeyHasher</paramtype></parameter><parameter name="equal_func"><paramtype>KeyEqual</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "hash_func" must be a hash function that induces the same hash values as the stored hasher. The difference is that "hash_func" hashes the given key instead of the value_type.</para><para>"equal_func" must be a equality function that induces the same equality as key_equal. The difference is that "equal_func" compares an arbitrary key with the contained values.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is "key" according to the given hash and equality functor or <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set_1abcad758b2ac9547d1b31c6e9cd83b356">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(1), worst case O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set_1a231f01811305390fb38ef92c1e3027de">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: If hash_func or equal_func throw.</para><para><emphasis role="bold">Note</emphasis>: This function is used when constructing a value_type is expensive and the value_type can be compared with a cheaper key type. Usually this key is part of the value_type.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1af9ed3738718112e71247b9d9c2ad66cd" name="find" cv="const"><type>const_iterator</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1afa81409b2b10e9e975e2bdb9303a06bb" name="find" cv="const"><type>const_iterator</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyHasher"/>
          <template-type-parameter name="KeyEqual"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="hash_func"><paramtype>KeyHasher</paramtype></parameter><parameter name="equal_func"><paramtype>KeyEqual</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "hash_func" must be a hash function that induces the same hash values as the stored hasher. The difference is that "hash_func" hashes the given key instead of the value_type.</para><para>"equal_func" must be a equality function that induces the same equality as key_equal. The difference is that "equal_func" compares an arbitrary key with the contained values.</para><para><emphasis role="bold">Effects</emphasis>: Finds an iterator to the first element whose key is "key" according to the given hasher and equality functor or <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set_1abcad758b2ac9547d1b31c6e9cd83b356">end()</link> if that element does not exist.</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(1), worst case O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set_1a231f01811305390fb38ef92c1e3027de">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: If hash_func or equal_func throw.</para><para><emphasis role="bold">Note</emphasis>: This function is used when constructing a value_type is expensive and the value_type can be compared with a cheaper key type. Usually this key is part of the value_type.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1af78e5b3dbb4a968a59e3c2c61c755bfb" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1af3582b96bbbb007d4044df90e86a2727" name="equal_range"><type>std::pair&lt; iterator, iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyHasher"/>
          <template-type-parameter name="KeyEqual"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="hash_func"><paramtype>KeyHasher</paramtype></parameter><parameter name="equal_func"><paramtype>KeyEqual</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "hash_func" must be a hash function that induces the same hash values as the stored hasher. The difference is that "hash_func" hashes the given key instead of the value_type.</para><para>"equal_func" must be a equality function that induces the same equality as key_equal. The difference is that "equal_func" compares an arbitrary key with the contained values.</para><para><emphasis role="bold">Effects</emphasis>: Returns a range containing all elements with equivalent keys. Returns std::make_pair(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set_1abcad758b2ac9547d1b31c6e9cd83b356">end()</link>, this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set_1abcad758b2ac9547d1b31c6e9cd83b356">end()</link>) if no such elements exist.</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(this-&gt;count(key, hash_func, equal_func)). Worst case O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set_1a231f01811305390fb38ef92c1e3027de">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: If hash_func or the equal_func throw.</para><para><emphasis role="bold">Note</emphasis>: This function is used when constructing a value_type is expensive and the value_type can be compared with a cheaper key type. Usually this key is part of the value_type.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1af864c28aafb3122779aa1e291791cb82" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><parameter name="key"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a6c00614bd3ef78247dfb1975d4b7a191" name="equal_range" cv="const"><type>std::pair&lt; const_iterator, const_iterator &gt;</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyHasher"/>
          <template-type-parameter name="KeyEqual"/>
        </template><parameter name="key"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="hash_func"><paramtype>KeyHasher</paramtype></parameter><parameter name="equal_func"><paramtype>KeyEqual</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "hash_func" must be a hash function that induces the same hash values as the stored hasher. The difference is that "hash_func" hashes the given key instead of the value_type.</para><para>"equal_func" must be a equality function that induces the same equality as key_equal. The difference is that "equal_func" compares an arbitrary key with the contained values.</para><para><emphasis role="bold">Effects</emphasis>: Returns a range containing all elements with equivalent keys. Returns std::make_pair(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set_1abcad758b2ac9547d1b31c6e9cd83b356">end()</link>, this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set_1abcad758b2ac9547d1b31c6e9cd83b356">end()</link>) if no such elements exist.</para><para><emphasis role="bold">Complexity</emphasis>: Average case O(this-&gt;count(key, hash_func, equal_func)). Worst case O(this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set_1a231f01811305390fb38ef92c1e3027de">size()</link>).</para><para><emphasis role="bold">Throws</emphasis>: If the hasher or equal_func throw.</para><para><emphasis role="bold">Note</emphasis>: This function is used when constructing a value_type is expensive and the value_type can be compared with a cheaper key type. Usually this key is part of the value_type.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a34b2c5bb332fc01aaa52656d0753f932" name="iterator_to" cv="noexcept"><type>iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1ac25be409d71df349ee58594519513062" name="iterator_to" cv="const noexcept"><type>const_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a4130c0956d71778f78644c0655fe416c" name="local_iterator_to" cv="noexcept"><type>local_iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1aa47a4e6e5bb4d448a51cb845d8170142" name="local_iterator_to" cv="const noexcept"><type>const_local_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a9ff60254b007bb0c178257d5e97c0fa2" name="bucket_count" cv="const noexcept"><type>size_type</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the number of buckets passed in the constructor or the last rehash function.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a5d14f3d85df0aa9b06d943545393702f" name="bucket_size" cv="const noexcept"><type>size_type</type><parameter name="n"><paramtype>size_type</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: n is in the range [0, this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set_1a9ff60254b007bb0c178257d5e97c0fa2">bucket_count()</link>).</para><para><emphasis role="bold">Effects</emphasis>: Returns the number of elements in the nth bucket.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a0e4385e4570b5dff4cdbede21b0a42ce" name="bucket" cv="const"><type>size_type</type><parameter name="k"><paramtype>const key_type &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a5fd970e31fed491f319d8b7020c52d83" name="bucket" cv="const"><type>size_type</type><template>
          <template-type-parameter name="KeyType"/>
          <template-type-parameter name="KeyHasher"/>
        </template><parameter name="k"><paramtype>const KeyType &amp;</paramtype></parameter><parameter name="hash_func"><paramtype>KeyHasher</paramtype></parameter><description><para><emphasis role="bold">Requires</emphasis>: "hash_func" must be a hash function that induces the same hash values as the stored hasher. The difference is that "hash_func" hashes the given key instead of the value_type.</para><para><emphasis role="bold">Effects</emphasis>: Returns the index of the bucket in which elements with keys equivalent to k would be found, if any such element existed.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: If hash_func throws.</para><para><emphasis role="bold">Note</emphasis>: the return value is in the range [0, this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set_1a9ff60254b007bb0c178257d5e97c0fa2">bucket_count()</link>).   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a1873fe24ccb8dd831111ac11594fa885" name="bucket_pointer" cv="const noexcept"><type>bucket_ptr</type><description><para><emphasis role="bold">Effects</emphasis>: Returns the bucket array pointer passed in the constructor or the last rehash function.</para><para><emphasis role="bold">Complexity</emphasis>: Constant.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1acc350a5919b385994aa6784b773df166" name="begin" cv="noexcept"><type>local_iterator</type><parameter name="n"><paramtype>size_type</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1ac8967beebeabb7dd93ecc27a7c63aad7" name="begin" cv="const noexcept"><type>const_local_iterator</type><parameter name="n"><paramtype>size_type</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a855992523c55e74cd5691a377601bc5c" name="cbegin" cv="const noexcept"><type>const_local_iterator</type><parameter name="n"><paramtype>size_type</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a649a071731f6c9ee2dd385532edeef45" name="end" cv="noexcept"><type>local_iterator</type><parameter name="n"><paramtype>size_type</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1ab90bc870d13993a9ac474c8d9ff9aa41" name="end" cv="const noexcept"><type>const_local_iterator</type><parameter name="n"><paramtype>size_type</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1afbea5b1c32cc39af657b9f96426a49c8" name="cend" cv="const noexcept"><type>const_local_iterator</type><parameter name="n"><paramtype>size_type</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1ab3004e31b8d79e51feea2453733f800e" name="rehash"><type>void</type><parameter name="new_bucket_traits"><paramtype>const bucket_traits &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a3eb11ce917ff0940c5449ad498361dee" name="full_rehash"><type>void</type><description><para><emphasis role="bold">Note</emphasis>: This function is used when keys from inserted elements are changed (e.g. a language change when key is a string) but uniqueness and hash properties are preserved so a fast full rehash recovers invariants for *this without extracting and reinserting all elements again.</para><para><emphasis role="bold">Requires</emphasis>: Calls produced to the hash function should not alter the value uniqueness properties of already inserted elements. If hasher(key1) == hasher(key2) was true when elements were inserted, it shall be true during calls produced in the execution of this function.</para><para>key_equal is not called inside this function so it is assumed that key_equal(value1, value2) should produce the same results as before for inserted elements.</para><para><emphasis role="bold">Effects</emphasis>: Reprocesses all values hold by *this, recalculating their hash values and redistributing them though the buckets.</para><para>If <link linkend="doxygen.structboost_1_1intrusive_1_1store__hash">store_hash</link> option is true, this method uses the hash function and updates the stored hash value.</para><para><emphasis role="bold">Complexity</emphasis>: Average case linear in this-&gt;<link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set_1a231f01811305390fb38ef92c1e3027de">size()</link>, worst case quadratic.</para><para><emphasis role="bold">Throws</emphasis>: If the hasher functor throws. Basic guarantee.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1afc16c65b7eb9f1f0f11a146aeb2dcbe9" name="incremental_rehash"><type>bool</type><parameter name="grow"><paramtype>bool</paramtype><default>true</default></parameter><description><para><emphasis role="bold">Requires</emphasis>:</para><para><emphasis role="bold">Effects</emphasis>:</para><para><emphasis role="bold">Complexity</emphasis>:</para><para><emphasis role="bold">Throws</emphasis>:</para><para><emphasis role="bold">Note</emphasis>: this method is only available if incremental&lt;true&gt; option is activated.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1ae1470c48f8e5ce4f877c38e5485c96ac" name="incremental_rehash"><type>bool</type><parameter name="new_bucket_traits"><paramtype>const bucket_traits &amp;</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a41482f21f938c099a358c0ae72afa114" name="split_count" cv="const noexcept"><type>size_type</type><description><para><emphasis role="bold">Requires</emphasis>: incremental&lt;&gt; option must be set</para><para><emphasis role="bold">Effects</emphasis>: returns the current split count</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing   </para></description></method>
</method-group>
<method-group name="public static functions">
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1af7f23fe913415154b1b07314705fa1d2" name="s_local_iterator_to" cv="noexcept" specifiers="static"><type>local_iterator</type><parameter name="value"><paramtype>reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1ad283c478c8f3952010e1a051ac137920" name="s_local_iterator_to" cv="noexcept" specifiers="static"><type>const_local_iterator</type><parameter name="value"><paramtype>const_reference</paramtype></parameter></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a7709f06fa88c66b613d4917c296b7a85" name="suggested_upper_bucket_count" cv="noexcept" specifiers="static"><type>size_type</type><parameter name="n"><paramtype>size_type</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Returns the nearest new bucket count optimized for the container that is bigger or equal than n. This suggestion can be used to create bucket arrays with a size that will usually improve container's performance. If such value does not exist, the higher possible value is returned.</para><para><emphasis role="bold">Complexity</emphasis>: Amortized constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set_1a5480cfcd11b6b40ac8aae19a5c7bd991" name="suggested_lower_bucket_count" cv="noexcept" specifiers="static"><type>size_type</type><parameter name="n"><paramtype>size_type</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Returns the nearest new bucket count optimized for the container that is smaller or equal than n. This suggestion can be used to create bucket arrays with a size that will usually improve container's performance. If such value does not exist, the lowest possible value is returned.</para><para><emphasis role="bold">Complexity</emphasis>: Amortized constant time.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.   </para></description></method>
</method-group>
</class>



























































</namespace>
</namespace>
</header>
<header id="doxygen.unordered__set__hook_8hpp" name="boost/intrusive/unordered_set_hook.hpp">
<namespace name="boost">
<namespace name="intrusive">
<struct id="doxygen.structboost_1_1intrusive_1_1make__unordered__set__base__hook" name="make_unordered_set_base_hook"><template>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define a <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set__base__hook">unordered_set_base_hook</link></computeroutput> that yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__unordered__set__base__hook_1a4db18b59902513d14dec06aaa8bb9a3e" name="type"><type>implementation_defined</type></typedef>
</struct><struct id="doxygen.structboost_1_1intrusive_1_1make__unordered__set__member__hook" name="make_unordered_set_member_hook"><template>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><description><para>Helper metafunction to define a <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set__member__hook">unordered_set_member_hook</link></computeroutput> that yields to the same type when the same options (either explicitly or implicitly) are used. </para></description><typedef id="doxygen.structboost_1_1intrusive_1_1make__unordered__set__member__hook_1ac0662b796b7e7c146e6ce437dc5b56be" name="type"><type>implementation_defined</type></typedef>
</struct><class id="doxygen.classboost_1_1intrusive_1_1unordered__set__base__hook" name="unordered_set_base_hook"><template>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><inherit access="public">make_unordered_set_base_hook::type</inherit><description><para>Derive a class from <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set__base__hook">unordered_set_base_hook</link> in order to store objects in in an unordered_set/unordered_multi_set. <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set__base__hook">unordered_set_base_hook</link> holds the data necessary to maintain the unordered_set/unordered_multi_set and provides an appropriate <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> class for unordered_set/unordered_multi_set.</para><para>The hook admits the following options: <computeroutput>tag&lt;&gt;</computeroutput>, <computeroutput>void_pointer&lt;&gt;</computeroutput>, <computeroutput>link_mode&lt;&gt;</computeroutput>, <computeroutput>store_hash&lt;&gt;</computeroutput> and <computeroutput>optimize_multikey&lt;&gt;</computeroutput>.</para><para><computeroutput>tag&lt;&gt;</computeroutput> defines a tag to identify the node. The same tag value can be used in different classes, but if a class is derived from more than one <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1list__base__hook">list_base_hook</link></computeroutput>, then each <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1list__base__hook">list_base_hook</link></computeroutput> needs its unique tag.</para><para><computeroutput>void_pointer&lt;&gt;</computeroutput> is the pointer type that will be used internally in the hook and the container configured to use this hook.</para><para><computeroutput>link_mode&lt;&gt;</computeroutput> will specify the linking mode of the hook (<computeroutput>normal_link</computeroutput>, <computeroutput>auto_unlink</computeroutput> or <computeroutput>safe_link</computeroutput>).</para><para><computeroutput>store_hash&lt;&gt;</computeroutput> will tell the hook to store the hash of the value to speed up rehashings.</para><para><computeroutput>optimize_multikey&lt;&gt;</computeroutput> will tell the hook to store a link to form a group with other value with the same value to speed up searches and insertions in unordered_multisets with a great number of with equivalent keys. </para></description><method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1unordered__set__base__hook_1a0b320cc4a4dab4069f9f880009afae54" cv="noexcept"><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput> or <computeroutput>safe_link</computeroutput> initializes the node to an unlinked state.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1unordered__set__base__hook_1a162c54499e4fc7002ce8c29d5fb2e142" cv="noexcept"><parameter name=""><paramtype>const <classname>unordered_set_base_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput> or <computeroutput>safe_link</computeroutput> initializes the node to an unlinked state. The argument is ignored.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Rationale</emphasis>: Providing a copy-constructor makes classes using the hook STL-compliant without forcing the user to do some additional work. <computeroutput>swap</computeroutput> can be used to emulate move-semantics. </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1unordered__set__base__hook_1a4653534004351157289a1cefbc1604dc" cv="noexcept"><type><classname>unordered_set_base_hook</classname> &amp;</type><parameter name=""><paramtype>const <classname>unordered_set_base_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Empty function. The argument is ignored.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Rationale</emphasis>: Providing an assignment operator makes classes using the hook STL-compliant without forcing the user to do some additional work. <computeroutput>swap</computeroutput> can be used to emulate move-semantics. </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1unordered__set__base__hook_1a2d1447790541879c65b1f927dde0f90e"><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>normal_link</computeroutput>, the destructor does nothing (ie. no code is generated). If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>safe_link</computeroutput> and the object is stored in an <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link> an assertion is raised. If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput> and <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set__base__hook_1ae9cc07a42c592b8047a93edb4fad0dc3">is_linked()</link></computeroutput> is true, the node is unlinked.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set__base__hook_1a90ac0868bc1460e8357eee8750c5069e" name="swap_nodes" cv="noexcept"><type>void</type><parameter name="other"><paramtype><classname>unordered_set_base_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Swapping two nodes swaps the position of the elements related to those nodes in one or two containers. That is, if the node this is part of the element e1, the node x is part of the element e2 and both elements are included in the containers s1 and s2, then after the swap-operation e1 is in s2 at the position of e2 and e2 is in s1 at the position of e1. If one element is not in a container, then after the swap-operation the other element is not in a container. Iterators to e1 and e2 related to those nodes are invalidated.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set__base__hook_1ae9cc07a42c592b8047a93edb4fad0dc3" name="is_linked" cv="const noexcept"><type>bool</type><description><para><emphasis role="bold">Precondition</emphasis>: <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> must be <computeroutput>safe_link</computeroutput> or <computeroutput>auto_unlink</computeroutput>.</para><para><emphasis role="bold">Returns</emphasis>: true, if the node belongs to a container, false otherwise. This function can be used to test whether <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set_1a34b2c5bb332fc01aaa52656d0753f932">unordered_set::iterator_to</link></computeroutput> will return a valid iterator.</para><para><emphasis role="bold">Complexity</emphasis>: Constant </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set__base__hook_1aa19707d0d1dc03a6e3b0a6e6e862168c" name="unlink" cv="noexcept"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Removes the node if it's inserted in a container. This function is only allowed if <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput>.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
</method-group>
</class><class id="doxygen.classboost_1_1intrusive_1_1unordered__set__member__hook" name="unordered_set_member_hook"><template>
      <template-nontype-parameter name="Options"><type>class ...</type></template-nontype-parameter>
    </template><inherit access="public">make_unordered_set_member_hook::type</inherit><description><para>Put a public data member <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set__member__hook">unordered_set_member_hook</link> in order to store objects of this class in an unordered_set/unordered_multi_set. <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set__member__hook">unordered_set_member_hook</link> holds the data necessary for maintaining the unordered_set/unordered_multi_set and provides an appropriate <link linkend="doxygen.structboost_1_1intrusive_1_1value__traits">value_traits</link> class for unordered_set/unordered_multi_set.</para><para>The hook admits the following options: <computeroutput>void_pointer&lt;&gt;</computeroutput>, <computeroutput>link_mode&lt;&gt;</computeroutput> and <computeroutput>store_hash&lt;&gt;</computeroutput>.</para><para><computeroutput>void_pointer&lt;&gt;</computeroutput> is the pointer type that will be used internally in the hook and the container configured to use this hook.</para><para><computeroutput>link_mode&lt;&gt;</computeroutput> will specify the linking mode of the hook (<computeroutput>normal_link</computeroutput>, <computeroutput>auto_unlink</computeroutput> or <computeroutput>safe_link</computeroutput>).</para><para><computeroutput>store_hash&lt;&gt;</computeroutput> will tell the hook to store the hash of the value to speed up rehashings. </para></description><method-group name="public member functions">
<constructor id="doxygen.classboost_1_1intrusive_1_1unordered__set__member__hook_1a210e844660eab9346f278b7cacec9ca4"><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput> or <computeroutput>safe_link</computeroutput> initializes the node to an unlinked state.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></constructor>
<constructor id="doxygen.classboost_1_1intrusive_1_1unordered__set__member__hook_1ae1b92134a214626f8459d1cfdf6d4c88"><parameter name=""><paramtype>const <classname>unordered_set_member_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput> or <computeroutput>safe_link</computeroutput> initializes the node to an unlinked state. The argument is ignored.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Rationale</emphasis>: Providing a copy-constructor makes classes using the hook STL-compliant without forcing the user to do some additional work. <computeroutput>swap</computeroutput> can be used to emulate move-semantics. </para></description></constructor>
<copy-assignment id="doxygen.classboost_1_1intrusive_1_1unordered__set__member__hook_1a2d8d557642337a4491916793597bc7ee"><type><classname>unordered_set_member_hook</classname> &amp;</type><parameter name=""><paramtype>const <classname>unordered_set_member_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Empty function. The argument is ignored.</para><para><emphasis role="bold">Throws</emphasis>: Nothing.</para><para><emphasis role="bold">Rationale</emphasis>: Providing an assignment operator makes classes using the hook STL-compliant without forcing the user to do some additional work. <computeroutput>swap</computeroutput> can be used to emulate move-semantics. </para></description></copy-assignment>
<destructor id="doxygen.classboost_1_1intrusive_1_1unordered__set__member__hook_1a2108ab967fdf37ddcfdcaf96cfb2945d"><description><para><emphasis role="bold">Effects</emphasis>: If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>normal_link</computeroutput>, the destructor does nothing (ie. no code is generated). If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>safe_link</computeroutput> and the object is stored in an <link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set">unordered_set</link> an assertion is raised. If <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput> and <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set__member__hook_1a48778f631efb2a5eb3a1f1ec82ce7df0">is_linked()</link></computeroutput> is true, the node is unlinked.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></destructor>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set__member__hook_1ae8f8de40e6cb16c6878fd774d91ccfe3" name="swap_nodes"><type>void</type><parameter name="other"><paramtype><classname>unordered_set_member_hook</classname> &amp;</paramtype></parameter><description><para><emphasis role="bold">Effects</emphasis>: Swapping two nodes swaps the position of the elements related to those nodes in one or two containers. That is, if the node this is part of the element e1, the node x is part of the element e2 and both elements are included in the containers s1 and s2, then after the swap-operation e1 is in s2 at the position of e2 and e2 is in s1 at the position of e1. If one element is not in a container, then after the swap-operation the other element is not in a container. Iterators to e1 and e2 related to those nodes are invalidated.</para><para><emphasis role="bold">Complexity</emphasis>: Constant</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set__member__hook_1a48778f631efb2a5eb3a1f1ec82ce7df0" name="is_linked" cv="const"><type>bool</type><description><para><emphasis role="bold">Precondition</emphasis>: <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> must be <computeroutput>safe_link</computeroutput> or <computeroutput>auto_unlink</computeroutput>.</para><para><emphasis role="bold">Returns</emphasis>: true, if the node belongs to a container, false otherwise. This function can be used to test whether <computeroutput><link linkend="doxygen.classboost_1_1intrusive_1_1unordered__set_1a34b2c5bb332fc01aaa52656d0753f932">unordered_set::iterator_to</link></computeroutput> will return a valid iterator.</para><para><emphasis role="bold">Complexity</emphasis>: Constant </para></description></method>
<method id="doxygen.classboost_1_1intrusive_1_1unordered__set__member__hook_1a4a04360d68e17bdb4cbc65eefcf5a19c" name="unlink"><type>void</type><description><para><emphasis role="bold">Effects</emphasis>: Removes the node if it's inserted in a container. This function is only allowed if <link linkend="doxygen.structboost_1_1intrusive_1_1link__mode">link_mode</link> is <computeroutput>auto_unlink</computeroutput>.</para><para><emphasis role="bold">Throws</emphasis>: Nothing. </para></description></method>
</method-group>
</class>



























































</namespace>
</namespace>
</header>
</library-reference>