1 | /*============================================================================= |
2 | Copyright (c) 2014 Kohei Takahashi |
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 | #ifndef FUSION_LIST_FORWARD_10262014_0528 |
8 | #define FUSION_LIST_FORWARD_10262014_0528 |
9 | |
10 | #include <boost/fusion/support/config.hpp> |
11 | #include <boost/config.hpp> |
12 | |
13 | #if defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) \ |
14 | || (defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)) |
15 | # if defined(BOOST_FUSION_HAS_VARIADIC_LIST) |
16 | # undef BOOST_FUSION_HAS_VARIADIC_LIST |
17 | # endif |
18 | #else |
19 | # if !defined(BOOST_FUSION_HAS_VARIADIC_LIST) |
20 | # define BOOST_FUSION_HAS_VARIADIC_LIST |
21 | # endif |
22 | #endif |
23 | |
24 | /////////////////////////////////////////////////////////////////////////////// |
25 | // With no variadics, we will use the C++03 version |
26 | /////////////////////////////////////////////////////////////////////////////// |
27 | #if !defined(BOOST_FUSION_HAS_VARIADIC_LIST) |
28 | # include <boost/fusion/container/list/detail/cpp03/list_fwd.hpp> |
29 | #else |
30 | |
31 | /////////////////////////////////////////////////////////////////////////////// |
32 | // C++11 interface |
33 | /////////////////////////////////////////////////////////////////////////////// |
34 | namespace boost { namespace fusion |
35 | { |
36 | struct void_; |
37 | |
38 | template <typename ...T> |
39 | struct list; |
40 | }} |
41 | |
42 | #endif |
43 | #endif |
44 | |