diff --git a/doc/ref.xml b/doc/ref.xml index 05f23c87..ebfb3240 100644 --- a/doc/ref.xml +++ b/doc/ref.xml @@ -840,6 +840,38 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + + + + K&& + + node_type + + Removes an element with key equivalent to k. + + This overload only participates in overload resolution if Hash::is_transparent + and Pred::is_transparent are valid member typedefs and neither iterator + nor const_iterator are implicitly convertible from K. The library + assumes that Hash is callable with both K and Key and + that Pred is transparent. This enables heterogeneous lookup which avoids the cost of + instantiating an instance of the Key type. + + + + A node_type owning the element if found, otherwise an empty node_type. + + + Only throws an exception if it is thrown by hasher or key_equal. + + + + In C++17 a node extracted using this method can be inserted into a compatible unordered_multiset, + but that is not supported yet. + + + node_type&& @@ -951,6 +983,32 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) Only throws an exception if it is thrown by hasher or key_equal. + + + + K&& + + size_type + + The number of elements erased. + + + Only throws an exception if it is thrown by hasher or key_equal. + + + Erase all elements with key equivalent to k. + + This overload only participates in overload resolution if Hash::is_transparent + and Pred::is_transparent are valid member typedefs and neither iterator + nor const_iterator are implicitly convertible from K. The library + assumes that Hash is callable with both K and Key and + that Pred is transparent. This enables heterogeneous lookup which avoids the cost of + instantiating an instance of the Key type. + + + const_iterator @@ -1099,6 +1157,24 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) const_iterator + + + + K const& + + iterator + + + + + K const& + + const_iterator +