mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-30 03:17:15 +02:00
Unordered: Update erase reference.
[SVN r74142]
This commit is contained in:
10
doc/ref.php
10
doc/ref.php
@ -555,15 +555,13 @@ EOL;
|
|||||||
</returns>
|
</returns>
|
||||||
<throws>
|
<throws>
|
||||||
<para>Only throws an exception if it is thrown by <code>hasher</code> or <code>key_equal</code>.</para>
|
<para>Only throws an exception if it is thrown by <code>hasher</code> or <code>key_equal</code>.</para>
|
||||||
<para>In this implementation, this overload doesn't call either function object's methods so it is no throw, but this might not be true in other implementations.</para>
|
|
||||||
</throws>
|
</throws>
|
||||||
<notes>
|
<notes>
|
||||||
<para>
|
<para>
|
||||||
When the number of elements is a lot smaller than the number of buckets
|
In older versions this could be inefficient because it had to search
|
||||||
this function can be very inefficient as it has to search through empty
|
through several buckets to find the position of the returned iterator.
|
||||||
buckets for the next element, in order to return the iterator.
|
The data structure has been changed so that this is no longer the case,
|
||||||
The method <methodname>quick_erase</methodname> is faster, but has yet
|
and the alternative erase methods have been deprecated.
|
||||||
to be standardized.
|
|
||||||
</para>
|
</para>
|
||||||
</notes>
|
</notes>
|
||||||
</method>
|
</method>
|
||||||
|
40
doc/ref.xml
40
doc/ref.xml
@ -471,15 +471,13 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|||||||
</returns>
|
</returns>
|
||||||
<throws>
|
<throws>
|
||||||
<para>Only throws an exception if it is thrown by <code>hasher</code> or <code>key_equal</code>.</para>
|
<para>Only throws an exception if it is thrown by <code>hasher</code> or <code>key_equal</code>.</para>
|
||||||
<para>In this implementation, this overload doesn't call either function object's methods so it is no throw, but this might not be true in other implementations.</para>
|
|
||||||
</throws>
|
</throws>
|
||||||
<notes>
|
<notes>
|
||||||
<para>
|
<para>
|
||||||
When the number of elements is a lot smaller than the number of buckets
|
In older versions this could be inefficient because it had to search
|
||||||
this function can be very inefficient as it has to search through empty
|
through several buckets to find the position of the returned iterator.
|
||||||
buckets for the next element, in order to return the iterator.
|
The data structure has been changed so that this is no longer the case,
|
||||||
The method <methodname>quick_erase</methodname> is faster, but has yet
|
and the alternative erase methods have been deprecated.
|
||||||
to be standardized.
|
|
||||||
</para>
|
</para>
|
||||||
</notes>
|
</notes>
|
||||||
</method>
|
</method>
|
||||||
@ -1371,15 +1369,13 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|||||||
</returns>
|
</returns>
|
||||||
<throws>
|
<throws>
|
||||||
<para>Only throws an exception if it is thrown by <code>hasher</code> or <code>key_equal</code>.</para>
|
<para>Only throws an exception if it is thrown by <code>hasher</code> or <code>key_equal</code>.</para>
|
||||||
<para>In this implementation, this overload doesn't call either function object's methods so it is no throw, but this might not be true in other implementations.</para>
|
|
||||||
</throws>
|
</throws>
|
||||||
<notes>
|
<notes>
|
||||||
<para>
|
<para>
|
||||||
When the number of elements is a lot smaller than the number of buckets
|
In older versions this could be inefficient because it had to search
|
||||||
this function can be very inefficient as it has to search through empty
|
through several buckets to find the position of the returned iterator.
|
||||||
buckets for the next element, in order to return the iterator.
|
The data structure has been changed so that this is no longer the case,
|
||||||
The method <methodname>quick_erase</methodname> is faster, but has yet
|
and the alternative erase methods have been deprecated.
|
||||||
to be standardized.
|
|
||||||
</para>
|
</para>
|
||||||
</notes>
|
</notes>
|
||||||
</method>
|
</method>
|
||||||
@ -2285,15 +2281,13 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|||||||
</returns>
|
</returns>
|
||||||
<throws>
|
<throws>
|
||||||
<para>Only throws an exception if it is thrown by <code>hasher</code> or <code>key_equal</code>.</para>
|
<para>Only throws an exception if it is thrown by <code>hasher</code> or <code>key_equal</code>.</para>
|
||||||
<para>In this implementation, this overload doesn't call either function object's methods so it is no throw, but this might not be true in other implementations.</para>
|
|
||||||
</throws>
|
</throws>
|
||||||
<notes>
|
<notes>
|
||||||
<para>
|
<para>
|
||||||
When the number of elements is a lot smaller than the number of buckets
|
In older versions this could be inefficient because it had to search
|
||||||
this function can be very inefficient as it has to search through empty
|
through several buckets to find the position of the returned iterator.
|
||||||
buckets for the next element, in order to return the iterator.
|
The data structure has been changed so that this is no longer the case,
|
||||||
The method <methodname>quick_erase</methodname> is faster, but has yet
|
and the alternative erase methods have been deprecated.
|
||||||
to be standardized.
|
|
||||||
</para>
|
</para>
|
||||||
</notes>
|
</notes>
|
||||||
</method>
|
</method>
|
||||||
@ -3234,15 +3228,13 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|||||||
</returns>
|
</returns>
|
||||||
<throws>
|
<throws>
|
||||||
<para>Only throws an exception if it is thrown by <code>hasher</code> or <code>key_equal</code>.</para>
|
<para>Only throws an exception if it is thrown by <code>hasher</code> or <code>key_equal</code>.</para>
|
||||||
<para>In this implementation, this overload doesn't call either function object's methods so it is no throw, but this might not be true in other implementations.</para>
|
|
||||||
</throws>
|
</throws>
|
||||||
<notes>
|
<notes>
|
||||||
<para>
|
<para>
|
||||||
When the number of elements is a lot smaller than the number of buckets
|
In older versions this could be inefficient because it had to search
|
||||||
this function can be very inefficient as it has to search through empty
|
through several buckets to find the position of the returned iterator.
|
||||||
buckets for the next element, in order to return the iterator.
|
The data structure has been changed so that this is no longer the case,
|
||||||
The method <methodname>quick_erase</methodname> is faster, but has yet
|
and the alternative erase methods have been deprecated.
|
||||||
to be standardized.
|
|
||||||
</para>
|
</para>
|
||||||
</notes>
|
</notes>
|
||||||
</method>
|
</method>
|
||||||
|
Reference in New Issue
Block a user