Boost logo

Boost-Commit :

From: daniel_james_at_[hidden]
Date: 2008-01-06 07:56:59

Author: danieljames
Date: 2008-01-06 07:56:59 EST (Sun, 06 Jan 2008)
New Revision: 42522

No need to list all the types that std::hash and boost::hash support (the list will get out of date quickly). And try to make a little clearer that you will need to extend boost::hash or use a custom hash function (which was suggested in the review).
Text files modified:
   branches/unordered/trunk/libs/unordered/doc/intro.qbk | 11 ++++++-----
   1 files changed, 6 insertions(+), 5 deletions(-)

Modified: branches/unordered/trunk/libs/unordered/doc/intro.qbk
--- branches/unordered/trunk/libs/unordered/doc/intro.qbk (original)
+++ branches/unordered/trunk/libs/unordered/doc/intro.qbk 2008-01-06 07:56:59 EST (Sun, 06 Jan 2008)
@@ -113,11 +113,12 @@
 To store an object in an unordered associative container requires both an
 key equality function and a hash function. The default function objects in
-the standard containers support integer types, floating point types, pointer
-types, the standard strings and std::error_code. Since Boost.Unordered uses
-[classref boost::hash] it also supports the standard containers and any types
-customized for [link hash Boost.Hash]. You can also use your custom equality
-predicates and hash functions. See the
+the standard containers support a few basic types including integer types,
+floating point types, pointer types, and the standard strings. Since
+Boost.Unordered uses [classref boost::hash] it also supports some other types,
+including standard containers. To use any types not supported by these methods
+you have to [link hash.custom extend Boost.Hash to support the type] or use
+your own custom equality predicates and hash functions. See the
 [link unordered.hash_equality Equality Predicates and Hash Functions] section
 for more details.

Boost-Commit list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at