diff options
Diffstat (limited to 'boost/fusion/container/vector/vector_fwd.hpp')
-rw-r--r-- | boost/fusion/container/vector/vector_fwd.hpp | 63 |
1 files changed, 8 insertions, 55 deletions
diff --git a/boost/fusion/container/vector/vector_fwd.hpp b/boost/fusion/container/vector/vector_fwd.hpp index d157ea81f8..b63099ce9d 100644 --- a/boost/fusion/container/vector/vector_fwd.hpp +++ b/boost/fusion/container/vector/vector_fwd.hpp @@ -1,66 +1,19 @@ /*============================================================================= - Copyright (c) 1999-2003 Jaakko Jarvi - Copyright (c) 2001-2011 Joel de Guzman + Copyright (c) 2014 Kohei Takahashi Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ==============================================================================*/ -#if !defined(FUSION_VECTOR_FORWARD_07072005_0125) -#define FUSION_VECTOR_FORWARD_07072005_0125 +#ifndef FUSION_VECTOR_FORWARD_11052014_1626 +#define FUSION_VECTOR_FORWARD_11052014_1626 +#include <boost/config.hpp> #include <boost/fusion/support/config.hpp> -#include <boost/fusion/container/vector/limits.hpp> -#include <boost/preprocessor/repetition/enum_params_with_a_default.hpp> -#include <boost/fusion/container/vector/vector10.hpp> -#if (FUSION_MAX_VECTOR_SIZE > 10) -#include <boost/fusion/container/vector/vector20.hpp> -#endif -#if (FUSION_MAX_VECTOR_SIZE > 20) -#include <boost/fusion/container/vector/vector30.hpp> -#endif -#if (FUSION_MAX_VECTOR_SIZE > 30) -#include <boost/fusion/container/vector/vector40.hpp> -#endif -#if (FUSION_MAX_VECTOR_SIZE > 40) -#include <boost/fusion/container/vector/vector50.hpp> -#endif +/////////////////////////////////////////////////////////////////////////////// +// With no variadics, we will use the C++03 version +/////////////////////////////////////////////////////////////////////////////// +# include <boost/fusion/container/vector/detail/cpp03/vector_fwd.hpp> -#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES) -#include <boost/fusion/container/vector/detail/preprocessed/vector_fwd.hpp> -#else -#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES) -#pragma wave option(preserve: 2, line: 0, output: "detail/preprocessed/vvector" FUSION_MAX_VECTOR_SIZE_STR "_fwd.hpp") #endif -/*============================================================================= - Copyright (c) 2001-2011 Joel de Guzman - - Distributed under the Boost Software License, Version 1.0. (See accompanying - file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - - This is an auto-generated file. Do not edit! -==============================================================================*/ - -#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES) -#pragma wave option(preserve: 1) -#endif - -namespace boost { namespace fusion -{ - struct void_; - - template < - BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT( - FUSION_MAX_VECTOR_SIZE, typename T, void_) - > - struct vector; -}} - -#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES) -#pragma wave option(output: null) -#endif - -#endif // BOOST_FUSION_DONT_USE_PREPROCESSED_FILES - -#endif |