Boost logo

Boost-Commit :

From: daniel_james_at_[hidden]
Date: 2008-01-06 07:38:22


Author: danieljames
Date: 2008-01-06 07:38:22 EST (Sun, 06 Jan 2008)
New Revision: 42519
URL: http://svn.boost.org/trac/boost/changeset/42519

Log:
Some small tweaks to the hash function documentation.
Text files modified:
   branches/unordered/trunk/libs/unordered/doc/hash_equality.qbk | 17 +++++++++--------
   branches/unordered/trunk/libs/unordered/doc/src_code/point2.cpp | 2 +-
   2 files changed, 10 insertions(+), 9 deletions(-)

Modified: branches/unordered/trunk/libs/unordered/doc/hash_equality.qbk
==============================================================================
--- branches/unordered/trunk/libs/unordered/doc/hash_equality.qbk (original)
+++ branches/unordered/trunk/libs/unordered/doc/hash_equality.qbk 2008-01-06 07:38:22 EST (Sun, 06 Jan 2008)
@@ -30,11 +30,11 @@
 sure you use a hash function that matches it. So to implement a
 case-insensitive dictionary:
 
-[import src_code/insensitive.cpp]
-[case_insensitive_functions]
-[case_insensitive_dictionary]
+[import src_code/insensitive.cpp]
+[case_insensitive_functions]
+[case_insensitive_dictionary]
 
-This is a simplified version of the example at:
+This is a simplified version of the example at
 [@../../libs/unordered/examples/case_insensitive.hpp /libs/unordered/examples/case_insensitive.hpp]
 which supports other locales and string types.
 
@@ -45,14 +45,15 @@
 [import src_code/point1.cpp]
 [point_example1]
 
-Although, customizing [link hash Boost.Hash] is probably a better solution:
+Although, [link hash.custom extending boost::hash to support the type] is
+probably a better solution:
 
 [import src_code/point2.cpp]
 [point_example2]
 
-See the [link hash Boost.Hash] documentation for more detail on how to do this.
-Remember that it relies on extensions to the draft standard - so it won't work
-on other implementations of the unordered associative containers.
+See the [link hash.custom Boost.Hash documentation] for more detail on how to
+do this. Remember that it relies on extensions to the draft standard - so it
+won't work on other implementations of the unordered associative containers.
 
 [table Methods for accessing the hash and equality functions.
     [[Method] [Description]]

Modified: branches/unordered/trunk/libs/unordered/doc/src_code/point2.cpp
==============================================================================
--- branches/unordered/trunk/libs/unordered/doc/src_code/point2.cpp (original)
+++ branches/unordered/trunk/libs/unordered/doc/src_code/point2.cpp 2008-01-06 07:38:22 EST (Sun, 06 Jan 2008)
@@ -25,7 +25,7 @@
         return seed;
     }
 
- // Now the default functions work.
+ // Now the default function objects work.
     boost::unordered_multiset<point> points;
 //]
 


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