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