Sha256: 63e104a5099f7a83ee28cc84e3fb67d9fe9a8546a10ae5ea21248dccddb9f912

Contents?: true

Size: 1.5 KB

Versions: 17

Compression:

Stored size: 1.5 KB

Contents

// 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_AUX_IS_PLACEHOLDER_HPP
#define BOOST_PARAMETER_AUX_IS_PLACEHOLDER_HPP

#include <boost/parameter/config.hpp>

#if defined(BOOST_PARAMETER_CAN_USE_MP11)
#include <boost/mp11/integral.hpp>
#else
#include <boost/mpl/bool.hpp>
#endif

namespace boost { namespace parameter { namespace aux {

    template <typename T>
    struct is_mpl_placeholder
#if defined(BOOST_PARAMETER_CAN_USE_MP11)
      : ::boost::mp11::mp_false
#else
      : ::boost::mpl::false_
#endif
    {
    };
}}} // namespace boost::parameter::aux

#include <boost/mpl/arg_fwd.hpp>

namespace boost { namespace parameter { namespace aux {

    template <int I>
    struct is_mpl_placeholder< ::boost::mpl::arg<I> >
#if defined(BOOST_PARAMETER_CAN_USE_MP11)
      : ::boost::mp11::mp_true
#else
      : ::boost::mpl::true_
#endif
    {
    };
}}} // namespace boost::parameter::aux

#if defined(BOOST_PARAMETER_CAN_USE_MP11)
#include <boost/mp11/bind.hpp>

namespace boost { namespace parameter { namespace aux {

    template <typename T>
    struct is_mp11_placeholder : ::boost::mp11::mp_false
    {
    };

    template < ::std::size_t I>
    struct is_mp11_placeholder< ::boost::mp11::mp_arg<I> >
      : ::boost::mp11::mp_true
    {
    };
}}} // namespace boost::parameter::aux

#endif  // BOOST_PARAMETER_CAN_USE_MP11
#endif  // include guard

Version data entries

17 entries across 17 versions & 1 rubygems

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