forked from boostorg/unordered
Merge in spell check.
[SVN r42591]
This commit is contained in:
@@ -20,7 +20,7 @@ value of type `std::size_t`. `std::size_t` has a much greater range of values
|
|||||||
then the number of buckets, so that container applies another transformation to
|
then the number of buckets, so that container applies another transformation to
|
||||||
that value to choose a bucket to place the element in.
|
that value to choose a bucket to place the element in.
|
||||||
|
|
||||||
Retreiving the elements for a given key is simple. The same process is applied
|
Retrieving the elements for a given key is simple. The same process is applied
|
||||||
to the key to find the correct bucket. Then the key is compared with the
|
to the key to find the correct bucket. Then the key is compared with the
|
||||||
elements in the bucket to find any elements that match (using the equality
|
elements in the bucket to find any elements that match (using the equality
|
||||||
predicate `Pred`). If the hash function has worked well the elements will be
|
predicate `Pred`). If the hash function has worked well the elements will be
|
||||||
@@ -75,7 +75,7 @@ To combat this the containers increase the bucket count as elements are inserted
|
|||||||
You can also tell the container to change the bucket count (if required) by
|
You can also tell the container to change the bucket count (if required) by
|
||||||
calling `rehash`.
|
calling `rehash`.
|
||||||
|
|
||||||
The standard leaves a lot of freedom to the implementor to decide how the
|
The standard leaves a lot of freedom to the implementer to decide how the
|
||||||
number of buckets are chosen, but it does make some requirements based on the
|
number of buckets are chosen, but it does make some requirements based on the
|
||||||
container's 'load factor', the average number of elements per bucket.
|
container's 'load factor', the average number of elements per bucket.
|
||||||
Containers also have a 'maximum load factor' which they should try to keep the
|
Containers also have a 'maximum load factor' which they should try to keep the
|
||||||
|
16
doc/ref.xml
16
doc/ref.xml
@@ -391,7 +391,7 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|||||||
<para>If the allocators are equal, doesn't throw an exception unless it is thrown by the copy constructor or copy assignment operator of <code>key_equal</code> or <code>hasher</code>.</para>
|
<para>If the allocators are equal, doesn't throw an exception unless it is thrown by the copy constructor or copy assignment operator of <code>key_equal</code> or <code>hasher</code>.</para>
|
||||||
</throws>
|
</throws>
|
||||||
<notes>
|
<notes>
|
||||||
<para>For a discussion of the behaviour when allocators aren't equal see
|
<para>For a discussion of the behavior when allocators aren't equal see
|
||||||
<link linkend="unordered.rationale.swapping_containers_with_unequal_allocators">the implementation details</link>.</para>
|
<link linkend="unordered.rationale.swapping_containers_with_unequal_allocators">the implementation details</link>.</para>
|
||||||
</notes>
|
</notes>
|
||||||
</method>
|
</method>
|
||||||
@@ -620,7 +620,7 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|||||||
<para>If the allocators are equal, doesn't throw an exception unless it is thrown by the copy constructor or copy assignment operator of <code>Hash</code> or <code>Pred</code>.</para>
|
<para>If the allocators are equal, doesn't throw an exception unless it is thrown by the copy constructor or copy assignment operator of <code>Hash</code> or <code>Pred</code>.</para>
|
||||||
</throws>
|
</throws>
|
||||||
<notes>
|
<notes>
|
||||||
<para>For a discussion of the behaviour when allocators aren't equal see
|
<para>For a discussion of the behavior when allocators aren't equal see
|
||||||
<link linkend="unordered.rationale.swapping_containers_with_unequal_allocators">the implementation details</link>.</para>
|
<link linkend="unordered.rationale.swapping_containers_with_unequal_allocators">the implementation details</link>.</para>
|
||||||
</notes>
|
</notes>
|
||||||
</function>
|
</function>
|
||||||
@@ -1005,7 +1005,7 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|||||||
<para>If the allocators are equal, doesn't throw an exception unless it is thrown by the copy constructor or copy assignment operator of <code>key_equal</code> or <code>hasher</code>.</para>
|
<para>If the allocators are equal, doesn't throw an exception unless it is thrown by the copy constructor or copy assignment operator of <code>key_equal</code> or <code>hasher</code>.</para>
|
||||||
</throws>
|
</throws>
|
||||||
<notes>
|
<notes>
|
||||||
<para>For a discussion of the behaviour when allocators aren't equal see
|
<para>For a discussion of the behavior when allocators aren't equal see
|
||||||
<link linkend="unordered.rationale.swapping_containers_with_unequal_allocators">the implementation details</link>.</para>
|
<link linkend="unordered.rationale.swapping_containers_with_unequal_allocators">the implementation details</link>.</para>
|
||||||
</notes>
|
</notes>
|
||||||
</method>
|
</method>
|
||||||
@@ -1234,7 +1234,7 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|||||||
<para>If the allocators are equal, doesn't throw an exception unless it is thrown by the copy constructor or copy assignment operator of <code>Hash</code> or <code>Pred</code>.</para>
|
<para>If the allocators are equal, doesn't throw an exception unless it is thrown by the copy constructor or copy assignment operator of <code>Hash</code> or <code>Pred</code>.</para>
|
||||||
</throws>
|
</throws>
|
||||||
<notes>
|
<notes>
|
||||||
<para>For a discussion of the behaviour when allocators aren't equal see
|
<para>For a discussion of the behavior when allocators aren't equal see
|
||||||
<link linkend="unordered.rationale.swapping_containers_with_unequal_allocators">the implementation details</link>.</para>
|
<link linkend="unordered.rationale.swapping_containers_with_unequal_allocators">the implementation details</link>.</para>
|
||||||
</notes>
|
</notes>
|
||||||
</function>
|
</function>
|
||||||
@@ -1636,7 +1636,7 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|||||||
<para>If the allocators are equal, doesn't throw an exception unless it is thrown by the copy constructor or copy assignment operator of <code>key_equal</code> or <code>hasher</code>.</para>
|
<para>If the allocators are equal, doesn't throw an exception unless it is thrown by the copy constructor or copy assignment operator of <code>key_equal</code> or <code>hasher</code>.</para>
|
||||||
</throws>
|
</throws>
|
||||||
<notes>
|
<notes>
|
||||||
<para>For a discussion of the behaviour when allocators aren't equal see
|
<para>For a discussion of the behavior when allocators aren't equal see
|
||||||
<link linkend="unordered.rationale.swapping_containers_with_unequal_allocators">the implementation details</link>.</para>
|
<link linkend="unordered.rationale.swapping_containers_with_unequal_allocators">the implementation details</link>.</para>
|
||||||
</notes>
|
</notes>
|
||||||
</method>
|
</method>
|
||||||
@@ -1902,7 +1902,7 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|||||||
<para>If the allocators are equal, doesn't throw an exception unless it is thrown by the copy constructor or copy assignment operator of <code>Hash</code> or <code>Pred</code>.</para>
|
<para>If the allocators are equal, doesn't throw an exception unless it is thrown by the copy constructor or copy assignment operator of <code>Hash</code> or <code>Pred</code>.</para>
|
||||||
</throws>
|
</throws>
|
||||||
<notes>
|
<notes>
|
||||||
<para>For a discussion of the behaviour when allocators aren't equal see
|
<para>For a discussion of the behavior when allocators aren't equal see
|
||||||
<link linkend="unordered.rationale.swapping_containers_with_unequal_allocators">the implementation details</link>.</para>
|
<link linkend="unordered.rationale.swapping_containers_with_unequal_allocators">the implementation details</link>.</para>
|
||||||
</notes>
|
</notes>
|
||||||
</function>
|
</function>
|
||||||
@@ -2295,7 +2295,7 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|||||||
<para>If the allocators are equal, doesn't throw an exception unless it is thrown by the copy constructor or copy assignment operator of <code>key_equal</code> or <code>hasher</code>.</para>
|
<para>If the allocators are equal, doesn't throw an exception unless it is thrown by the copy constructor or copy assignment operator of <code>key_equal</code> or <code>hasher</code>.</para>
|
||||||
</throws>
|
</throws>
|
||||||
<notes>
|
<notes>
|
||||||
<para>For a discussion of the behaviour when allocators aren't equal see
|
<para>For a discussion of the behavior when allocators aren't equal see
|
||||||
<link linkend="unordered.rationale.swapping_containers_with_unequal_allocators">the implementation details</link>.</para>
|
<link linkend="unordered.rationale.swapping_containers_with_unequal_allocators">the implementation details</link>.</para>
|
||||||
</notes>
|
</notes>
|
||||||
</method>
|
</method>
|
||||||
@@ -2526,7 +2526,7 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|||||||
<para>If the allocators are equal, doesn't throw an exception unless it is thrown by the copy constructor or copy assignment operator of <code>Hash</code> or <code>Pred</code>.</para>
|
<para>If the allocators are equal, doesn't throw an exception unless it is thrown by the copy constructor or copy assignment operator of <code>Hash</code> or <code>Pred</code>.</para>
|
||||||
</throws>
|
</throws>
|
||||||
<notes>
|
<notes>
|
||||||
<para>For a discussion of the behaviour when allocators aren't equal see
|
<para>For a discussion of the behavior when allocators aren't equal see
|
||||||
<link linkend="unordered.rationale.swapping_containers_with_unequal_allocators">the implementation details</link>.</para>
|
<link linkend="unordered.rationale.swapping_containers_with_unequal_allocators">the implementation details</link>.</para>
|
||||||
</notes>
|
</notes>
|
||||||
</function>
|
</function>
|
||||||
|
Reference in New Issue
Block a user