From dfac5aab41cc3364be2fe0b6e9b8f8916052dea3 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Mon, 7 Jan 2008 21:47:24 +0000 Subject: [PATCH] Merge in spell check. [SVN r42591] --- doc/buckets.qbk | 4 ++-- doc/ref.xml | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/doc/buckets.qbk b/doc/buckets.qbk index 3aff9a41..87b9ca68 100644 --- a/doc/buckets.qbk +++ b/doc/buckets.qbk @@ -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 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 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 @@ -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 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 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 diff --git a/doc/ref.xml b/doc/ref.xml index fa9c1b7b..34c46364 100644 --- a/doc/ref.xml +++ b/doc/ref.xml @@ -391,7 +391,7 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) If the allocators are equal, doesn't throw an exception unless it is thrown by the copy constructor or copy assignment operator of key_equal or hasher. - For a discussion of the behaviour when allocators aren't equal see + For a discussion of the behavior when allocators aren't equal see the implementation details. @@ -620,7 +620,7 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) If the allocators are equal, doesn't throw an exception unless it is thrown by the copy constructor or copy assignment operator of Hash or Pred. - For a discussion of the behaviour when allocators aren't equal see + For a discussion of the behavior when allocators aren't equal see the implementation details. @@ -1005,7 +1005,7 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) If the allocators are equal, doesn't throw an exception unless it is thrown by the copy constructor or copy assignment operator of key_equal or hasher. - For a discussion of the behaviour when allocators aren't equal see + For a discussion of the behavior when allocators aren't equal see the implementation details. @@ -1234,7 +1234,7 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) If the allocators are equal, doesn't throw an exception unless it is thrown by the copy constructor or copy assignment operator of Hash or Pred. - For a discussion of the behaviour when allocators aren't equal see + For a discussion of the behavior when allocators aren't equal see the implementation details. @@ -1636,7 +1636,7 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) If the allocators are equal, doesn't throw an exception unless it is thrown by the copy constructor or copy assignment operator of key_equal or hasher. - For a discussion of the behaviour when allocators aren't equal see + For a discussion of the behavior when allocators aren't equal see the implementation details. @@ -1902,7 +1902,7 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) If the allocators are equal, doesn't throw an exception unless it is thrown by the copy constructor or copy assignment operator of Hash or Pred. - For a discussion of the behaviour when allocators aren't equal see + For a discussion of the behavior when allocators aren't equal see the implementation details. @@ -2295,7 +2295,7 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) If the allocators are equal, doesn't throw an exception unless it is thrown by the copy constructor or copy assignment operator of key_equal or hasher. - For a discussion of the behaviour when allocators aren't equal see + For a discussion of the behavior when allocators aren't equal see the implementation details. @@ -2526,7 +2526,7 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) If the allocators are equal, doesn't throw an exception unless it is thrown by the copy constructor or copy assignment operator of Hash or Pred. - For a discussion of the behaviour when allocators aren't equal see + For a discussion of the behavior when allocators aren't equal see the implementation details.