Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-15 09:54:24

0001 
0002 // Copyright (C) 2009-2012 Lorenzo Caminiti
0003 // Distributed under the Boost Software License, Version 1.0
0004 // (see accompanying file LICENSE_1_0.txt or a copy at
0005 // http://www.boost.org/LICENSE_1_0.txt)
0006 // Home at http://www.boost.org/libs/local_function
0007 
0008 #ifndef BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_HPP_
0009 #define BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_HPP_
0010 
0011 #include <boost/local_function/aux_/preprocessor/traits/decl_sign_/sign.hpp>
0012 #include <boost/local_function/aux_/preprocessor/traits/decl_/nil.hpp>
0013 #include <boost/preprocessor/control/iif.hpp>
0014 #include <boost/preprocessor/tuple/eat.hpp>
0015 #include <boost/preprocessor/list/adt.hpp>
0016 
0017 // PUBLIC //
0018 
0019 // Expand: decl_traits (see DECL_TRAITS macros to inspect these traits).
0020 #define BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS(declarations) \
0021     BOOST_PP_IIF(BOOST_PP_LIST_IS_NIL(declarations), \
0022         BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_NIL \
0023         BOOST_PP_TUPLE_EAT(1) \
0024     , \
0025         BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_SIGN \
0026     )(declarations)
0027 
0028 #endif // #include guard
0029