![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /usr/include/boost/parameter/ |
Upload File : |
// Copyright Cromwell D. Enage 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef BOOST_PARAMETER_PREPROCESSOR_NO_SPEC_HPP #define BOOST_PARAMETER_PREPROCESSOR_NO_SPEC_HPP #include <boost/parameter/aux_/preprocessor/impl/function_name.hpp> #include <boost/parameter/aux_/preprocessor/impl/no_spec_overloads.hpp> // Exapnds to a variadic function header that is enabled if and only if all // its arguments are tagged arguments. All arguments are accessible via args // and keywords only. #define BOOST_PARAMETER_NO_SPEC_FUNCTION(result, name) \ BOOST_PARAMETER_NO_SPEC_FUNCTION_HEAD(result, name, 0) \ BOOST_PARAMETER_NO_SPEC_FUNCTION_IMPL_HEAD(name, 0); \ BOOST_PARAMETER_NO_SPEC_FUNCTION_OVERLOAD(name, name, 0, 0) \ BOOST_PARAMETER_NO_SPEC_FUNCTION_IMPL_HEAD(name, 0) /**/ #include <boost/preprocessor/control/expr_if.hpp> #include <boost/preprocessor/control/if.hpp> // Helper macro for BOOST_PARAMETER_NO_SPEC_MEMBER_FUNCTION, // BOOST_PARAMETER_NO_SPEC_CONST_MEMBER_FUNCTION, // BOOST_PARAMETER_NO_SPEC_FUNCTION_CALL_OPERATOR, and // and BOOST_PARAMETER_NO_SPEC_CONST_FUNCTION_CALL_OPERATOR. #define BOOST_PARAMETER_NO_SPEC_MEMBER_FUNCTION_AUX(result, name, impl, c) \ BOOST_PARAMETER_NO_SPEC_FUNCTION_HEAD(result, impl, c) \ BOOST_PARAMETER_NO_SPEC_FUNCTION_OVERLOAD( \ name \ , impl \ , BOOST_PP_IF(BOOST_PARAMETER_MEMBER_FUNCTION_IS_STATIC(impl), 0, 1) \ , c \ ) \ BOOST_PARAMETER_NO_SPEC_FUNCTION_IMPL_HEAD(impl, c) \ BOOST_PP_EXPR_IF(c, const) /**/ // Exapnds to a variadic member function header that is enabled if and only if // all its arguments are tagged arguments. All arguments are accessible via // args and keywords only. #define BOOST_PARAMETER_NO_SPEC_MEMBER_FUNCTION(result, name) \ BOOST_PARAMETER_NO_SPEC_MEMBER_FUNCTION_AUX(result, name, name, 0) /**/ // Exapnds to a const-qualified variadic member function header that is // enabled if and only if all its arguments are tagged arguments. All // arguments are accessible via args and keywords only. #define BOOST_PARAMETER_NO_SPEC_CONST_MEMBER_FUNCTION(result, name) \ BOOST_PARAMETER_NO_SPEC_MEMBER_FUNCTION_AUX(result, name, name, 1) /**/ // Exapnds to a variadic function call operator header that is enabled if and // only if all its arguments are tagged arguments. All arguments are // accessible via args and keywords only. #define BOOST_PARAMETER_NO_SPEC_FUNCTION_CALL_OPERATOR(result) \ BOOST_PARAMETER_NO_SPEC_MEMBER_FUNCTION_AUX( \ result, operator(), operator, 0 \ ) /**/ // Exapnds to a const-qualified variadic function call operator header that is // enabled if and only if all its arguments are tagged arguments. All // arguments are accessible via args and keywords only. #define BOOST_PARAMETER_NO_SPEC_CONST_FUNCTION_CALL_OPERATOR(result) \ BOOST_PARAMETER_NO_SPEC_MEMBER_FUNCTION_AUX( \ result, operator(), operator, 1 \ ) /**/ #endif // include guard