/usr/include/boost/local_function/aux_/preprocessor/traits
NameSizeModeActions
decl_/-0755rm
decl_sign_/-0755rm
bind.hpp18920644editdlrm
decl.hpp10460644editdlrm
decl_binds.hpp13320644editdlrm
decl_const_binds.hpp14740644editdlrm
decl_error.hpp10600644editdlrm
decl_params.hpp24300644editdlrm
decl_returns.hpp8310644editdlrm
param.hpp14990644editdlrm
Edit: /usr/include/boost/local_function/aux_/preprocessor/traits/decl_params.hpp (2430B)
// Copyright (C) 2009-2012 Lorenzo Caminiti // Distributed under the Boost Software License, Version 1.0 // (see accompanying file LICENSE_1_0.txt or a copy at // http://www.boost.org/LICENSE_1_0.txt) // Home at http://www.boost.org/libs/local_function #ifndef BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_PARAMS_HPP_ #define BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_PARAMS_HPP_ #include #include #include #include #include #include #include #include #include #include #include #include // PRIVATE // #define BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_PARAMS_DEFAULT_OP_(s, \ default_count, param_traits) \ BOOST_PP_IIF(BOOST_PP_IS_EMPTY( \ BOOST_LOCAL_FUNCTION_AUX_PP_PARAM_TRAITS_DEFAULT(param_traits)), \ BOOST_PP_TUPLE_REM(1) \ , \ BOOST_PP_INC \ )(default_count) // Precondition: params is a pp-list which is not nil. #define BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_PARAMS_DEFAULT_COUNT_(params) \ BOOST_PP_LIST_FOLD_LEFT( \ BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_PARAMS_DEFAULT_OP_, \ 0 /* start with defaults_count to 0 */, params) // PUBLIC // // Expand: pp-list of param-traits (no bound variables). #define BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_PARAMS(decl_traits) \ BOOST_PP_TUPLE_ELEM(BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_INDEX_MAX, \ BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_INDEX_PARAMS, decl_traits) // Expand: number of parameters with default values (0 if no default). #define BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_PARAMS_DEFAULT_COUNT( \ decl_traits) \ BOOST_PP_IIF(BOOST_PP_LIST_IS_CONS( \ BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_PARAMS(decl_traits)), \ BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_PARAMS_DEFAULT_COUNT_ \ , \ 0 BOOST_PP_TUPLE_EAT(1) \ )(BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_PARAMS(decl_traits)) #endif // #include guard