1 /*=============================================================================
2 Copyright (c) 2014-2015 Kohei Takahashi
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_VECTOR_FORWARD_11052014_1626
8 #define FUSION_VECTOR_FORWARD_11052014_1626
10 #include <boost/config.hpp>
11 #include <boost/fusion/support/config.hpp>
12 #include <boost/fusion/container/vector/detail/config.hpp>
14 ///////////////////////////////////////////////////////////////////////////////
15 // With no variadics, we will use the C++03 version
16 ///////////////////////////////////////////////////////////////////////////////
17 #if !defined(BOOST_FUSION_HAS_VARIADIC_VECTOR)
18 # include <boost/fusion/container/vector/detail/cpp03/vector_fwd.hpp>
21 ///////////////////////////////////////////////////////////////////////////////
23 ///////////////////////////////////////////////////////////////////////////////
24 #include <boost/preprocessor/cat.hpp>
25 #include <boost/preprocessor/repetition/repeat.hpp>
27 namespace boost { namespace fusion
29 template <typename ...T>
32 #define FUSION_VECTOR_N_ALIASES(z, N, d) \
33 template <typename ...T> \
34 using BOOST_PP_CAT(vector, N) = vector<T...>;
36 BOOST_PP_REPEAT(51, FUSION_VECTOR_N_ALIASES, ~)
38 #undef FUSION_VECTOR_N_ALIASES