container_fwd.hpp
Go to the documentation of this file.
00001 
00002 // Copyright 2005-2008 Daniel James.
00003 // Distributed under the Boost Software License, Version 1.0. (See accompanying
00004 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
00005 
00006 #if !defined(BOOST_DETAIL_CONTAINER_FWD_HPP)
00007 #define BOOST_DETAIL_CONTAINER_FWD_HPP
00008 
00009 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
00010 # pragma once
00011 #endif
00012 
00013 #include <boost/config.hpp>
00014 #include <boost/detail/workaround.hpp>
00015 
00016 #if BOOST_WORKAROUND(__GNUC__, < 3) && !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION)
00017 #define BOOST_HASH_CHAR_TRAITS string_char_traits
00018 #else
00019 #define BOOST_HASH_CHAR_TRAITS char_traits
00020 #endif
00021 
00022 #if ((defined(__GLIBCPP__) || defined(__GLIBCXX__)) && defined(_GLIBCXX_DEBUG)) \
00023     || BOOST_WORKAROUND(__BORLANDC__, > 0x551) \
00024     || BOOST_WORKAROUND(__DMC__, BOOST_TESTED_AT(0x842)) \
00025     || (defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION))
00026 
00027 #include <deque>
00028 #include <list>
00029 #include <vector>
00030 #include <map>
00031 #include <set>
00032 #include <bitset>
00033 #include <string>
00034 #include <complex>
00035 
00036 #else
00037 
00038 #include <cstddef>
00039 
00040 #if !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION) && \
00041         defined(__STL_CONFIG_H)
00042 
00043 #define BOOST_CONTAINER_FWD_BAD_BITSET
00044 
00045 #if !defined(__STL_NON_TYPE_TMPL_PARAM_BUG)
00046 #define BOOST_CONTAINER_FWD_BAD_DEQUE
00047 #endif
00048 
00049 #endif
00050 
00051 #if defined(BOOST_CONTAINER_FWD_BAD_DEQUE)
00052 #include <deque>
00053 #endif
00054 
00055 #if defined(BOOST_CONTAINER_FWD_BAD_BITSET)
00056 #include <bitset>
00057 #endif
00058 
00059 #if defined(BOOST_MSVC)
00060 #pragma warning(push)
00061 #pragma warning(disable:4099) // struct/class mismatch in fwd declarations
00062 #endif
00063 
00064 namespace std
00065 {
00066     template <class T> class allocator;
00067     template <class charT, class traits, class Allocator> class basic_string;
00068     template <class charT> struct BOOST_HASH_CHAR_TRAITS;
00069     template <class T> class complex;
00070 }
00071 
00072 // gcc 3.4 and greater
00073 namespace std
00074 {
00075 #if !defined(BOOST_CONTAINER_FWD_BAD_DEQUE)
00076     template <class T, class Allocator> class deque;
00077 #endif
00078 
00079     template <class T, class Allocator> class list;
00080     template <class T, class Allocator> class vector;
00081     template <class Key, class T, class Compare, class Allocator> class map;
00082     template <class Key, class T, class Compare, class Allocator>
00083     class multimap;
00084     template <class Key, class Compare, class Allocator> class set;
00085     template <class Key, class Compare, class Allocator> class multiset;
00086 
00087 #if !defined(BOOST_CONTAINER_FWD_BAD_BITSET)
00088     template <size_t N> class bitset;
00089 #endif
00090     template <class T1, class T2> struct pair;
00091 }
00092 
00093 #if defined(BOOST_MSVC)
00094 #pragma warning(pop)
00095 #endif
00096 
00097 #endif
00098 
00099 #endif


appl
Author(s): petercai
autogenerated on Tue Jan 7 2014 11:02:28