Hash: Fix int128 with BOOST_HASH_NO_EXTENSIONS.

I don't think int128 should count as an extension.

BOOST_HASH_NO_EXTENSIONS is actually a bit of a pain, and I don't think it's
that useful. Maybe I should deprecate it.

[SVN r81870]
This commit is contained in:
Daniel James
2012-12-12 09:44:32 +00:00
parent 13a86a7a26
commit 8a8ab9ec70
2 changed files with 8 additions and 0 deletions
+5
View File
@@ -439,6 +439,11 @@ namespace boost
BOOST_HASH_SPECIALIZE(boost::ulong_long_type)
#endif
#if defined(BOOST_HAS_INT128)
BOOST_HASH_SPECIALIZE(boost::int128_type)
BOOST_HASH_SPECIALIZE(boost::uint128_type)
#endif
#if !defined(BOOST_NO_CXX11_HDR_TYPEINDEX)
BOOST_HASH_SPECIALIZE(std::type_index)
#endif