]> git.lyx.org Git - lyx.git/blob - boost/boost/detail/container_fwd.hpp
boost: add eol property
[lyx.git] / boost / boost / detail / container_fwd.hpp
1
2 // Copyright 2005-2008 Daniel James.
3 // Distributed under the Boost Software License, Version 1.0. (See accompanying
4 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
6 #if !defined(BOOST_DETAIL_CONTAINER_FWD_HPP)
7 #define BOOST_DETAIL_CONTAINER_FWD_HPP
8
9 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
10 # pragma once
11 #endif
12
13 #include <boost/config.hpp>
14 #include <boost/detail/workaround.hpp>
15
16 #if ((defined(__GLIBCPP__) || defined(__GLIBCXX__)) && defined(_GLIBCXX_DEBUG)) \
17     || BOOST_WORKAROUND(__BORLANDC__, > 0x551) \
18     || BOOST_WORKAROUND(__DMC__, BOOST_TESTED_AT(0x842)) \
19     || (defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION))
20
21 #include <deque>
22 #include <list>
23 #include <vector>
24 #include <map>
25 #include <set>
26 #include <bitset>
27 #include <string>
28 #include <complex>
29
30 #else
31
32 #include <cstddef>
33
34 #if !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION) && \
35         defined(__STL_CONFIG_H)
36
37 #define BOOST_CONTAINER_FWD_BAD_BITSET
38
39 #if !defined(__STL_NON_TYPE_TMPL_PARAM_BUG)
40 #define BOOST_CONTAINER_FWD_BAD_DEQUE
41 #endif
42
43 #endif
44
45 #if defined(BOOST_CONTAINER_FWD_BAD_DEQUE)
46 #include <deque>
47 #endif
48
49 #if defined(BOOST_CONTAINER_FWD_BAD_BITSET)
50 #include <bitset>
51 #endif
52
53 #if defined(BOOST_MSVC)
54 #pragma warning(push)
55 #pragma warning(disable:4099) // struct/class mismatch in fwd declarations
56 #endif
57
58 namespace std
59 {
60     template <class T> class allocator;
61     template <class charT, class traits, class Allocator> class basic_string;
62
63 #if BOOST_WORKAROUND(__GNUC__, < 3) && !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION)
64     template <class charT> struct string_char_traits;
65 #else
66     template <class charT> struct char_traits;
67 #endif
68
69     template <class T> class complex;
70 }
71
72 // gcc 3.4 and greater
73 namespace std
74 {
75 #if !defined(BOOST_CONTAINER_FWD_BAD_DEQUE)
76     template <class T, class Allocator> class deque;
77 #endif
78
79     template <class T, class Allocator> class list;
80     template <class T, class Allocator> class vector;
81     template <class Key, class T, class Compare, class Allocator> class map;
82     template <class Key, class T, class Compare, class Allocator>
83     class multimap;
84     template <class Key, class Compare, class Allocator> class set;
85     template <class Key, class Compare, class Allocator> class multiset;
86
87 #if !defined(BOOST_CONTAINER_FWD_BAD_BITSET)
88     template <size_t N> class bitset;
89 #endif
90     template <class T1, class T2> struct pair;
91 }
92
93 #if defined(BOOST_MSVC)
94 #pragma warning(pop)
95 #endif
96
97 #endif
98
99 #endif