forked from boostorg/functional
Merge hash, opt-in to breaking change rather than opt-out.
[SVN r64031]
This commit is contained in:
@@ -15,7 +15,10 @@
|
||||
#include <boost/functional/hash/detail/hash_float.hpp>
|
||||
#include <string>
|
||||
#include <boost/limits.hpp>
|
||||
|
||||
#if defined(BOOST_HASH_NO_IMPLICIT_CASTS)
|
||||
#include <boost/static_assert.hpp>
|
||||
#endif
|
||||
|
||||
#if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
|
||||
#include <boost/type_traits/is_pointer.hpp>
|
||||
@@ -30,7 +33,7 @@
|
||||
|
||||
namespace boost
|
||||
{
|
||||
#if !defined(BOOST_HASH_ALLOW_IMPLICIT_CASTS)
|
||||
#if defined(BOOST_HASH_NO_IMPLICIT_CASTS)
|
||||
|
||||
// If you get a static assertion here, it's because hash_value
|
||||
// isn't declared for your type.
|
||||
|
||||
Reference in New Issue
Block a user