diff --git a/include/boost/functional/detail/container_fwd.hpp b/include/boost/functional/detail/container_fwd.hpp index fff0d0f..8b6b2be 100644 --- a/include/boost/functional/detail/container_fwd.hpp +++ b/include/boost/functional/detail/container_fwd.hpp @@ -30,10 +30,17 @@ #include #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 std { template class allocator; template class basic_string; + template struct BOOST_HASH_CHAR_TRAITS; #if BOOST_WORKAROUND(__GNUC__, < 3) && !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION) template class string_char_traits; @@ -65,6 +72,7 @@ namespace std #if !defined(BOOST_CONTAINER_FWD_BAD_BITSET) template class bitset; #endif + template struct pair; } #endif