mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-29 10:57:16 +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>
|
||||
<throws>
|
||||
<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>
|
||||
<notes>
|
||||
<para>
|
||||
When the number of elements is a lot smaller than the number of buckets
|
||||
this function can be very inefficient as it has to search through empty
|
||||
buckets for the next element, in order to return the iterator.
|
||||
The method <methodname>quick_erase</methodname> is faster, but has yet
|
||||
to be standardized.
|
||||
In older versions this could be inefficient because it had to search
|
||||
through several buckets to find the position of the returned iterator.
|
||||
The data structure has been changed so that this is no longer the case,
|
||||
and the alternative erase methods have been deprecated.
|
||||
</para>
|
||||
</notes>
|
||||
</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>
|
||||
<throws>
|
||||
<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>
|
||||
<notes>
|
||||
<para>
|
||||
When the number of elements is a lot smaller than the number of buckets
|
||||
this function can be very inefficient as it has to search through empty
|
||||
buckets for the next element, in order to return the iterator.
|
||||
The method <methodname>quick_erase</methodname> is faster, but has yet
|
||||
to be standardized.
|
||||
In older versions this could be inefficient because it had to search
|
||||
through several buckets to find the position of the returned iterator.
|
||||
The data structure has been changed so that this is no longer the case,
|
||||
and the alternative erase methods have been deprecated.
|
||||
</para>
|
||||
</notes>
|
||||
</method>
|
||||
@ -1371,15 +1369,13 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
</returns>
|
||||
<throws>
|
||||
<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>
|
||||
<notes>
|
||||
<para>
|
||||
When the number of elements is a lot smaller than the number of buckets
|
||||
this function can be very inefficient as it has to search through empty
|
||||
buckets for the next element, in order to return the iterator.
|
||||
The method <methodname>quick_erase</methodname> is faster, but has yet
|
||||
to be standardized.
|
||||
In older versions this could be inefficient because it had to search
|
||||
through several buckets to find the position of the returned iterator.
|
||||
The data structure has been changed so that this is no longer the case,
|
||||
and the alternative erase methods have been deprecated.
|
||||
</para>
|
||||
</notes>
|
||||
</method>
|
||||
@ -2285,15 +2281,13 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
</returns>
|
||||
<throws>
|
||||
<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>
|
||||
<notes>
|
||||
<para>
|
||||
When the number of elements is a lot smaller than the number of buckets
|
||||
this function can be very inefficient as it has to search through empty
|
||||
buckets for the next element, in order to return the iterator.
|
||||
The method <methodname>quick_erase</methodname> is faster, but has yet
|
||||
to be standardized.
|
||||
In older versions this could be inefficient because it had to search
|
||||
through several buckets to find the position of the returned iterator.
|
||||
The data structure has been changed so that this is no longer the case,
|
||||
and the alternative erase methods have been deprecated.
|
||||
</para>
|
||||
</notes>
|
||||
</method>
|
||||
@ -3234,15 +3228,13 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
</returns>
|
||||
<throws>
|
||||
<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>
|
||||
<notes>
|
||||
<para>
|
||||
When the number of elements is a lot smaller than the number of buckets
|
||||
this function can be very inefficient as it has to search through empty
|
||||
buckets for the next element, in order to return the iterator.
|
||||
The method <methodname>quick_erase</methodname> is faster, but has yet
|
||||
to be standardized.
|
||||
In older versions this could be inefficient because it had to search
|
||||
through several buckets to find the position of the returned iterator.
|
||||
The data structure has been changed so that this is no longer the case,
|
||||
and the alternative erase methods have been deprecated.
|
||||
</para>
|
||||
</notes>
|
||||
</method>
|
||||
|
Reference in New Issue
Block a user