Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:31:08

0001 /*=============================================================================
0002     BOOST_PP_VARIADICS version of BOOST_PP_IS_SEQ inspired from 
0003     boost/mpl/aux_/preprocessor/is_seq.hpp, original copyrights goes to :
0004 
0005     Copyright Paul Mensonides 2003
0006     Copyright Aleksey Gurtovoy 2003-2004
0007 
0008     Distributed under the Boost Software License, Version 1.0. (See accompanying
0009     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0010 
0011 ==============================================================================*/
0012 
0013 #ifndef BOOST_FUSION_ADAPTED_STRUCT_DETAIL_PREPROCESSOR_IS_SEQ_HPP
0014 #define BOOST_FUSION_ADAPTED_STRUCT_DETAIL_PREPROCESSOR_IS_SEQ_HPP
0015 
0016 #include <boost/preprocessor/punctuation/paren.hpp>
0017 #include <boost/preprocessor/cat.hpp>
0018 #include <boost/preprocessor/config/config.hpp>
0019 
0020 #if BOOST_PP_VARIADICS
0021 
0022 #define BOOST_FUSION_PP_IS_SEQ(seq) BOOST_PP_CAT(BOOST_FUSION_PP_IS_SEQ_,       \
0023     BOOST_FUSION_PP_IS_SEQ_0 seq BOOST_PP_RPAREN())
0024 
0025 #define BOOST_FUSION_PP_IS_SEQ_0(...)                                           \
0026     BOOST_FUSION_PP_IS_SEQ_1(__VA_ARGS__
0027 
0028 #define BOOST_FUSION_PP_IS_SEQ_ALWAYS_0(...)                                    \
0029     0
0030 
0031 #define BOOST_FUSION_PP_IS_SEQ_BOOST_FUSION_PP_IS_SEQ_0                         \
0032     BOOST_FUSION_PP_IS_SEQ_ALWAYS_0(
0033 
0034 #define BOOST_FUSION_PP_IS_SEQ_BOOST_FUSION_PP_IS_SEQ_1(...)                    \
0035     1
0036 
0037 #endif // BOOST_PP_VARIADICS
0038 
0039 #endif