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
-
-
@@ -602,30 +506,6 @@ for(; first != last; ++first)
const T (&val)[N]
- hash_range(val, val+N)
-
-
-
-
-
-
- Implementation of a hash function for std::basic_string
.
-
-
-
- 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
-
-
@@ -636,118 +516,156 @@ for(; first != last; ++first)
std::basic_string<Ch, std::char_traits<Ch>, A> const&
-
- hash_range(val.begin(), val.end())
-
-
-
-
-
-
+
+
std::size_t
- std::pair<A, B> const &
+ std::pair<A, B> const&
-
-size_t seed = 0;
-hash_combine(seed, val.first);
-hash_combine(seed, val.second);
-return seed;
-
+
+
+
+
+
+
+ std::size_t
+ std::vector<T, A> const&
+
+
+
+
+
+
+
+ std::size_t
+ std::list<T, A> const&
+
+
+
+
+
+
+
+ std::size_t
+ std::deque<T, A> const&
+
+
+
+
+
+
+
+
+ std::size_t
+ std::set<K, C, A> const&
+
+
+
+
+
+
+
+
+ std::size_t
+ std::multiset<K, C, A> const&
+
+
+
+
+
+
+
+
+
+ std::size_t
+ std::map<K, T, C, A> const&
+
+
+
+
+
+
+
+
+
+ std::size_t
+ std::multimap<K, T, C, A> const&
+
+
+
+ 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.
+
+
+
+ This is an extension to TR1
+
+
- Only throws if hash_value(A)
- or hash_value(B)
throws.
+ Only throws if a user supplied version of
+ hash_value
+ throws for an element of a container, or
+ one of the types stored in a pair.
- This is an extension to TR1
-
-
-
-
-
-
-
-
-
-
- std::size_t
- std::vector<T, A> const &
-
-
-
-
-
-
-
- std::size_t
- std::list<T, A> const &
-
-
-
-
-
-
-
- std::size_t
- std::deque<T, A> const &
-
-
-
-
-
-
-
-
- std::size_t
- std::set<K, C, A> const &
-
-
-
-
-
-
-
-
- std::size_t
- std::multiset<K, C, A> const &
-
-
-
-
-
-
-
-
-
- std::size_t
- std::map<K, T, C, A> const &
-
-
-
-
-
-
-
-
-
- std::size_t
- std::multimap<K, T, C, A> const &
-
- hash_range(val.begin(), val.end());
+
+
+
+
+ Types
+ Returns
+
+
+
+
+ int
+ val
+
+ unsigned int
+ long
+ unsigned long
+
+ float
+ An unspecified value, except that equal arguments shall yield the same result.
+
+ double
+ long double
+ T*
+
+ T (&val)[N]
+ hash_range(val, val+N)
+
+ const T (&val)[N]
+
+ std:basic<Ch, std::char_traits<Ch>, A> const&
+ hash_range(val, val+N)
+
+ std::vector<T, A> const&
+ std::list<T, A> const&
+ std::deque<T, A> const&
+ std::set<K, C, A> const&
+ std::multiset<K, C, A> const&
+ std::map<K, T, C, A> const&
+ std::multimap<K, T, C, A> const&
+
+ std::pair<A, B> const&
+ size_t seed = 0;
+hash_combine(seed, val.first);
+hash_combine(seed, val.second);
+return seed;
+
+
+
+
-
- Only throws if hash_value(T)
throws.
-
- This is an extension to TR1
-
+