// 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_DEDUCED_ITEMS_HPP #define BOOST_PARAMETER_AUX_PACK_MAKE_DEDUCED_ITEMS_HPP #include #include #include #include #if defined(BOOST_PARAMETER_CAN_USE_MP11) #include #include #else #include #include #include #endif namespace boost { namespace parameter { namespace aux { template #if defined(BOOST_PARAMETER_CAN_USE_MP11) using make_deduced_items = ::boost::mp11::mp_if< ::std::is_same , ::boost::mp11::mp_identity< ::boost::parameter::void_> , ::boost::mp11::mp_if< ::boost::parameter::aux::is_deduced , ::boost::parameter::aux::make_deduced_item , Tail > >; #else struct make_deduced_items : ::boost::mpl::eval_if< ::boost::is_same , ::boost::mpl::identity< ::boost::parameter::void_> , ::boost::mpl::eval_if< ::boost::parameter::aux::is_deduced , ::boost::parameter::aux::make_deduced_item , Tail > > { }; #endif // BOOST_PARAMETER_CAN_USE_MP11 }}} // namespace boost::parameter::aux #endif // include guard