Boost logo

Boost-Commit :

From: daniel_james_at_[hidden]
Date: 2007-12-09 14:52:50


Author: danieljames
Date: 2007-12-09 14:52:50 EST (Sun, 09 Dec 2007)
New Revision: 41933
URL: http://svn.boost.org/trac/boost/changeset/41933

Log:
Hopefully clearer comparison of accessors for comparison/hash function objects.
Text files modified:
   sandbox/unordered/libs/unordered/doc/comparison.qbk | 13 +++++--------
   1 files changed, 5 insertions(+), 8 deletions(-)

Modified: sandbox/unordered/libs/unordered/doc/comparison.qbk
==============================================================================
--- sandbox/unordered/libs/unordered/doc/comparison.qbk (original)
+++ sandbox/unordered/libs/unordered/doc/comparison.qbk 2007-12-09 14:52:50 EST (Sun, 09 Dec 2007)
@@ -13,14 +13,11 @@
             `Pred`]
     ]
     [
- [`Compare` exposed by member typedef `key_compare`, accessed by member function `key_comp()`]
- [`Hash` exposed by member typedef `hasher`, accessed by member function `hash_function()`.
-
- `Pred` by member typedef `key_equal` and member function `key_eq()`.]
- ]
- [
- [Member typedef `value_compare` supplies an ordering comparison for member elements, accessed by member function `value_comp()`.]
- [No equivalent. No idea why.]
+ [Keys can be compared using `key_compare` which is accessed by member function `key_comp()`,
+ values can be compared using `value_compare` whice is accessed by member function `value_comp()`.]
+ [Keys can be hashed using `hasher` which is accessed by member function `hash_function()`,
+ and checked for equality using `key_equal` which is accessed by member function `key_eq()`.
+ There is no function object for compared or hashing values.]
     ]
     [
         [Constructors have optional extra parameters for the comparison object.]


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk