2 // Copyright 2005-2008 Daniel James.
\r
3 // Distributed under the Boost Software License, Version 1.0. (See accompanying
\r
4 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
\r
6 #if !defined(BOOST_DETAIL_CONTAINER_FWD_HPP)
\r
7 #define BOOST_DETAIL_CONTAINER_FWD_HPP
\r
9 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
\r
13 #include <boost/config.hpp>
\r
14 #include <boost/detail/workaround.hpp>
\r
16 #if ((defined(__GLIBCPP__) || defined(__GLIBCXX__)) && defined(_GLIBCXX_DEBUG)) \
\r
17 || BOOST_WORKAROUND(__BORLANDC__, > 0x551) \
\r
18 || BOOST_WORKAROUND(__DMC__, BOOST_TESTED_AT(0x842)) \
\r
19 || (defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION))
\r
34 #if !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION) && \
\r
35 defined(__STL_CONFIG_H)
\r
37 #define BOOST_CONTAINER_FWD_BAD_BITSET
\r
39 #if !defined(__STL_NON_TYPE_TMPL_PARAM_BUG)
\r
40 #define BOOST_CONTAINER_FWD_BAD_DEQUE
\r
45 #if defined(BOOST_CONTAINER_FWD_BAD_DEQUE)
\r
49 #if defined(BOOST_CONTAINER_FWD_BAD_BITSET)
\r
53 #if defined(BOOST_MSVC)
\r
54 #pragma warning(push)
\r
55 #pragma warning(disable:4099) // struct/class mismatch in fwd declarations
\r
60 template <class T> class allocator;
\r
61 template <class charT, class traits, class Allocator> class basic_string;
\r
63 #if BOOST_WORKAROUND(__GNUC__, < 3) && !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION)
\r
64 template <class charT> struct string_char_traits;
\r
66 template <class charT> struct char_traits;
\r
69 template <class T> class complex;
\r
72 // gcc 3.4 and greater
\r
75 #if !defined(BOOST_CONTAINER_FWD_BAD_DEQUE)
\r
76 template <class T, class Allocator> class deque;
\r
79 template <class T, class Allocator> class list;
\r
80 template <class T, class Allocator> class vector;
\r
81 template <class Key, class T, class Compare, class Allocator> class map;
\r
82 template <class Key, class T, class Compare, class Allocator>
\r
84 template <class Key, class Compare, class Allocator> class set;
\r
85 template <class Key, class Compare, class Allocator> class multiset;
\r
87 #if !defined(BOOST_CONTAINER_FWD_BAD_BITSET)
\r
88 template <size_t N> class bitset;
\r
90 template <class T1, class T2> struct pair;
\r
93 #if defined(BOOST_MSVC)
\r
94 #pragma warning(pop)
\r