Move BOOST_HASH_CHAR_TRAITS from container_fwd into the hash headers, and undefine it.

[SVN r54143]
This commit is contained in:
Daniel James
2009-06-21 09:42:20 +00:00
parent 153971fcc3
commit 0d9f68d607

View File

@@ -21,6 +21,12 @@
#include <boost/type_traits/is_pointer.hpp> #include <boost/type_traits/is_pointer.hpp>
#endif #endif
#if BOOST_WORKAROUND(__GNUC__, < 3) && !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION)
#define BOOST_HASH_CHAR_TRAITS string_char_traits
#else
#define BOOST_HASH_CHAR_TRAITS char_traits
#endif
namespace boost namespace boost
{ {
std::size_t hash_value(bool); std::size_t hash_value(bool);
@@ -534,6 +540,8 @@ namespace boost
#endif #endif
} }
#undef BOOST_HASH_CHAR_TRAITS
#endif // BOOST_FUNCTIONAL_HASH_HASH_HPP #endif // BOOST_FUNCTIONAL_HASH_HASH_HPP
// Include this outside of the include guards in case the file is included // Include this outside of the include guards in case the file is included