Sha256: 596546a7e36e1b57956c07b6933cbc962d5771da75465cdeb7a501bb698e0eb9

Contents?: true

Size: 1.37 KB

Versions: 16

Compression:

Stored size: 1.37 KB

Contents

// 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

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
passenger-6.0.25 src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_items.hpp
passenger-6.0.24 src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_items.hpp
passenger-6.0.23 src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_items.hpp
passenger-6.0.20 src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_items.hpp
passenger-6.0.19 src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_items.hpp
passenger-6.0.18 src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_items.hpp
passenger-6.0.17 src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_items.hpp
passenger-6.0.16 src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_items.hpp
passenger-6.0.15 src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_items.hpp
passenger-6.0.14 src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_items.hpp
passenger-6.0.13 src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_items.hpp
passenger-6.0.12 src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_items.hpp
passenger-6.0.11 src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_items.hpp
passenger-6.0.10 src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_items.hpp
passenger-6.0.9 src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_items.hpp
passenger-6.0.8 src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_items.hpp