From 30618f1dff9d4546030cb132daf731e45b304878 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Fri, 14 Jan 2011 03:13:39 +0000 Subject: [PATCH] Support typeindex in hash. Refs #4756. [SVN r68145] --- hash/doc/ref.xml | 34 ++++++++++++++++++ hash/test/Jamfile.v2 | 1 + hash/test/hash_type_index_test.cpp | 48 ++++++++++++++++++++++++++ include/boost/functional/hash/hash.hpp | 20 +++++++++++ 4 files changed, 103 insertions(+) create mode 100644 hash/test/hash_type_index_test.cpp diff --git a/hash/doc/ref.xml b/hash/doc/ref.xml index 47a09d5..318bf85 100644 --- a/hash/doc/ref.xml +++ b/hash/doc/ref.xml @@ -406,6 +406,29 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + + + + std::type_index + + + std::size_t + + std::type_index + + + val.hash_code() + + Doesn't throw + + + + Only available if it's in your standard library and Boost.Config + is aware of it. + + + +