1 | /*============================================================================= |
2 | Copyright (c) 2001-2011 Joel de Guzman |
3 | |
4 | Distributed under the Boost Software License, Version 1.0. (See accompanying |
5 | file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
6 | ==============================================================================*/ |
7 | #if !defined(FUSION_MAP_FORWARD_MAIN_07212005_1105) |
8 | #define FUSION_MAP_FORWARD_MAIN_07212005_1105 |
9 | |
10 | #include <boost/fusion/support/config.hpp> |
11 | #include <boost/config.hpp> |
12 | |
13 | #if (defined(BOOST_NO_CXX11_DECLTYPE) \ |
14 | || defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) \ |
15 | || defined(BOOST_NO_CXX11_RVALUE_REFERENCES)) \ |
16 | || (defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)) |
17 | # if defined(BOOST_FUSION_HAS_VARIADIC_MAP) |
18 | # undef BOOST_FUSION_HAS_VARIADIC_MAP |
19 | # endif |
20 | #else |
21 | # if !defined(BOOST_FUSION_HAS_VARIADIC_MAP) |
22 | # define BOOST_FUSION_HAS_VARIADIC_MAP |
23 | # endif |
24 | #endif |
25 | |
26 | #if BOOST_WORKAROUND(BOOST_MSVC, < 1910) |
27 | # if defined(BOOST_FUSION_HAS_VARIADIC_MAP) |
28 | # undef BOOST_FUSION_HAS_VARIADIC_MAP |
29 | # endif |
30 | #endif |
31 | |
32 | /////////////////////////////////////////////////////////////////////////////// |
33 | // With no decltype and variadics, we will use the C++03 version |
34 | /////////////////////////////////////////////////////////////////////////////// |
35 | #if !defined(BOOST_FUSION_HAS_VARIADIC_MAP) |
36 | # include <boost/fusion/container/map/detail/cpp03/map_fwd.hpp> |
37 | #else |
38 | |
39 | /////////////////////////////////////////////////////////////////////////////// |
40 | // C++11 interface |
41 | /////////////////////////////////////////////////////////////////////////////// |
42 | namespace boost { namespace fusion |
43 | { |
44 | template <typename ...T> |
45 | struct map; |
46 | }} |
47 | |
48 | #endif |
49 | #endif |
50 | |