Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:34:40

0001 /*=============================================================================
0002     Copyright (c) 2014-2015 Kohei Takahashi
0003 
0004     Distributed under the Boost Software License, Version 1.0. (See accompanying
0005     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0006 ==============================================================================*/
0007 #ifndef FUSION_VECTOR_FORWARD_11052014_1626
0008 #define FUSION_VECTOR_FORWARD_11052014_1626
0009 
0010 #include <boost/config.hpp>
0011 #include <boost/fusion/support/config.hpp>
0012 #include <boost/fusion/container/vector/detail/config.hpp>
0013 
0014 ///////////////////////////////////////////////////////////////////////////////
0015 // With no variadics, we will use the C++03 version
0016 ///////////////////////////////////////////////////////////////////////////////
0017 #if !defined(BOOST_FUSION_HAS_VARIADIC_VECTOR)
0018 # include <boost/fusion/container/vector/detail/cpp03/vector_fwd.hpp>
0019 #else
0020 
0021 ///////////////////////////////////////////////////////////////////////////////
0022 // C++11 interface
0023 ///////////////////////////////////////////////////////////////////////////////
0024 #include <boost/preprocessor/cat.hpp>
0025 #include <boost/preprocessor/repetition/repeat.hpp>
0026 
0027 namespace boost { namespace fusion
0028 {
0029     template <typename ...T>
0030     struct vector;
0031 
0032 #define FUSION_VECTOR_N_ALIASES(z, N, d)                                    \
0033     template <typename ...T>                                                \
0034     using BOOST_PP_CAT(vector, N) = vector<T...>;
0035 
0036     BOOST_PP_REPEAT(51, FUSION_VECTOR_N_ALIASES, ~)
0037 
0038 #undef FUSION_VECTOR_N_ALIASES
0039 }}
0040 
0041 #endif
0042 #endif
0043