From 7dc95d044d2cba7ce5cdd5f902281ba11c049bd5 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] --- doc/ref.xml | 34 ++++++++++++++++++ include/boost/functional/hash/hash.hpp | 20 +++++++++++ test/Jamfile.v2 | 1 + test/hash_type_index_test.cpp | 48 ++++++++++++++++++++++++++ 4 files changed, 103 insertions(+) create mode 100644 test/hash_type_index_test.cpp diff --git a/doc/ref.xml b/doc/ref.xml index 47a09d5..318bf85 100644 --- a/doc/ref.xml +++ b/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. + + + +