From da13263e122dac37b9480667bc2efa221a636790 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Tue, 28 Mar 2006 16:46:49 +0000 Subject: [PATCH 001/120] Fix typo in the hash tutorial. [SVN r33507] --- hash/doc/tutorial.qbk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hash/doc/tutorial.qbk b/hash/doc/tutorial.qbk index 762c275..d68fe6e 100644 --- a/hash/doc/tutorial.qbk +++ b/hash/doc/tutorial.qbk @@ -12,7 +12,7 @@ If your standard library supplies its own implementation of the unordered associative containers and you wish to use [classref boost::hash], just use an extra template parameter: - std::unordered_multiset, ``[classref boost::hash]`` > + std::unordered_multiset > set_of_ints; std::unordered_set, ``[classref boost::hash]`` > From f819324a1519cf3aa6dd5fb9463eabb72958e051 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Tue, 28 Mar 2006 17:02:49 +0000 Subject: [PATCH 002/120] Put the reference documentation overloads of 'hash_value' into a single page. [SVN r33508] --- hash/doc/ref.xml | 368 ++++++++++++++++++----------------------------- 1 file changed, 143 insertions(+), 225 deletions(-) diff --git a/hash/doc/ref.xml b/hash/doc/ref.xml index 0318440..71d17a0 100644 --- a/hash/doc/ref.xml +++ b/hash/doc/ref.xml @@ -68,7 +68,7 @@ Unspecified in TR1, except that equal arguments yield the same result. - hash_value(val) in Boost. + hash_value(val) in Boost. Doesn't throw @@ -266,7 +266,7 @@ Unspecified in TR1, except that equal arguments yield the same result. - hash_value(val) in Boost. + hash_value(val) in Boost. Doesn't throw @@ -354,7 +354,7 @@ void size_t & - T const & + T const& Called repeatedly to incrementally create a hash value from several variables. @@ -444,21 +444,9 @@ for(; first != last; ++first) - Implementation of a hash function for integers. + Implementation of the hash function. - - Generally shouldn't be called directly by users, instead they should use - boost::hash, boost::hash_range - or boost::hash_combine which - call hash_value without namespace qualification so that overloads - for custom types are found via ADL. - - - Overloads for other types supplied in other headers. - This is an extension to TR1 - - std::size_t int @@ -479,32 +467,6 @@ for(; first != last; ++first) unsigned long - - val - - - - - - - - Implementation of a hash function for floating point values. - - - - Generally shouldn't be called directly by users, instead they should use - boost::hash, boost::hash_range - or boost::hash_combine which - call hash_value without namespace qualification so that overloads - for custom types are found via ADL. - - - Overloads for other types supplied in other headers. - This is an extension to TR1 - - std::size_t float @@ -520,70 +482,12 @@ for(; first != last; ++first) long double - - - An unspecified value, except that equal arguments shall yield the same - result - - - - - - - - - Implementation of a hash function for pointers. - - - - Generally shouldn't be called directly by users, instead they should use - boost::hash, boost::hash_range - or boost::hash_combine which - call hash_value without namespace qualification so that overloads - for custom types are found via ADL. - - - Overloads for other types supplied in other headers. - This is an extension to TR1 - - std::size_t T* const& - - - An unspecified value, except that equal arguments shall yield the same - result - - - - - - - - - Implementation of a hash function for built in arrays. - - - - Generally shouldn't be called directly by users, instead they should use - boost::hash, boost::hash_range - or boost::hash_combine which - call hash_value without namespace qualification so that overloads - for custom types are found via ADL. - - - Overloads for other types supplied in other headers. - This is an extension to TR1 - -