Add std::pair, and a GCC 2.95 workaround to container_fwd.hpp

[SVN r32581]
This commit is contained in:
Daniel James
2006-02-05 14:04:56 +00:00
parent 0742484087
commit 38172001e5

View File

@@ -30,10 +30,17 @@
#include <bitset> #include <bitset>
#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 std namespace std
{ {
template <class T> class allocator; template <class T> class allocator;
template <class charT, class traits, class Allocator> class basic_string; template <class charT, class traits, class Allocator> class basic_string;
template <class charT> struct BOOST_HASH_CHAR_TRAITS;
#if BOOST_WORKAROUND(__GNUC__, < 3) && !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION) #if BOOST_WORKAROUND(__GNUC__, < 3) && !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION)
template <class charT> class string_char_traits; template <class charT> class string_char_traits;
@@ -65,6 +72,7 @@ namespace std
#if !defined(BOOST_CONTAINER_FWD_BAD_BITSET) #if !defined(BOOST_CONTAINER_FWD_BAD_BITSET)
template <size_t N> class bitset; template <size_t N> class bitset;
#endif #endif
template <class T1, class T2> struct pair;
} }
#endif #endif