From 38172001e5b70952c32749f3ec58fe2db834c08c Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sun, 5 Feb 2006 14:04:56 +0000 Subject: [PATCH] Add std::pair, and a GCC 2.95 workaround to container_fwd.hpp [SVN r32581] --- include/boost/functional/detail/container_fwd.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) 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