| 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_SET_FORWARD_11062014_1720 |
| 8 | #define FUSION_SET_FORWARD_11062014_1720 |
| 9 | |
| 10 | #include <boost/config.hpp> |
| 11 | #include <boost/fusion/support/config.hpp> |
| 12 | #include <boost/fusion/container/vector/detail/config.hpp> |
| 13 | |
| 14 | #if !defined(BOOST_FUSION_HAS_VARIADIC_VECTOR) \ |
| 15 | || (defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)) |
| 16 | # if defined(BOOST_FUSION_HAS_VARIADIC_SET) |
| 17 | # undef BOOST_FUSION_HAS_VARIADIC_SET |
| 18 | # endif |
| 19 | #else |
| 20 | # if !defined(BOOST_FUSION_HAS_VARIADIC_SET) |
| 21 | # define BOOST_FUSION_HAS_VARIADIC_SET |
| 22 | # endif |
| 23 | #endif |
| 24 | |
| 25 | /////////////////////////////////////////////////////////////////////////////// |
| 26 | // With no variadics, we will use the C++03 version |
| 27 | /////////////////////////////////////////////////////////////////////////////// |
| 28 | #if !defined(BOOST_FUSION_HAS_VARIADIC_SET) |
| 29 | # include <boost/fusion/container/set/detail/cpp03/set_fwd.hpp> |
| 30 | #else |
| 31 | |
| 32 | /////////////////////////////////////////////////////////////////////////////// |
| 33 | // C++11 interface |
| 34 | /////////////////////////////////////////////////////////////////////////////// |
| 35 | namespace boost { namespace fusion |
| 36 | { |
| 37 | struct set_tag; |
| 38 | struct set_iterator_tag; |
| 39 | |
| 40 | template <typename ...T> |
| 41 | struct set; |
| 42 | }} |
| 43 | |
| 44 | #endif |
| 45 | #endif |
| 46 | |
| 47 | |