![]() 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/aux_/pack/ |
Upload File : |
// Copyright David Abrahams, Daniel Wallin 2003. // 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_AUX_PACK_MAKE_ITEMS_HPP #define BOOST_PARAMETER_AUX_PACK_MAKE_ITEMS_HPP #include <boost/parameter/aux_/void.hpp> #include <boost/parameter/aux_/pack/item.hpp> #include <boost/parameter/config.hpp> #if defined(BOOST_PARAMETER_CAN_USE_MP11) #include <boost/mp11/utility.hpp> #include <type_traits> #else #include <boost/mpl/eval_if.hpp> #include <boost/mpl/identity.hpp> #include <boost/type_traits/is_same.hpp> #endif namespace boost { namespace parameter { namespace aux { // Creates a item typelist. template <typename Spec, typename Arg, typename Tail> #if defined(BOOST_PARAMETER_CAN_USE_MP11) using make_items = ::boost::mp11::mp_if< ::std::is_same<Arg,::boost::parameter::void_> , ::boost::mp11::mp_identity< ::boost::parameter::void_> , ::boost::parameter::aux::make_item<Spec,Arg,Tail> >; #else struct make_items : ::boost::mpl::eval_if< ::boost::is_same<Arg,::boost::parameter::void_> , ::boost::mpl::identity< ::boost::parameter::void_> , ::boost::parameter::aux::make_item<Spec,Arg,Tail> > { }; #endif }}} // namespace boost::parameter::aux #endif // include guard