1
  5   ˆl–Ü4ý( ©¤ýÔâ€zã ¸ )‹Fÿ�þB gÆ&Új?çÂƒh¹ÁÀ¿  5   ˆl–Ü4ý( ©¤ýÔâ€zàY¸ÔÅ£�þB g)[+c_ÏÃƒh¹ÂÁÀ      00000002
      0
  5   ˆl–Ü4ý( ©¤ýÔâ€zàY¸!)‹Fÿ�þB g,¢$ŽHOçÄƒh¹ÃÂÁ      1
  5   	ˆl–Ü4ý( ©¤ýÔâ€zãMÜjbÑ¿�þB gp$m�:÷óÅƒh¹ÄÃÂ      	1
  5   ˆl–Ü4ý( ©¤ýÔâ€zàY¸TÅ£�þB g)J:Ø¿ŸÆƒh¹ÅÄÃ      1
  5   ˆl–Ü4ý( ©¤ýÔâ€zà\¸Ð”Å£�þB g–0JãoùÇƒh¹ÆÅÄ      1
  5   ˆl–Ü4ý( ©¤ýÔâ€zà�p/©‹Fÿ�þB g²Æä`gùÈƒh¹ÇÆÅ      1
  7   ˆl–Ü4ý( ©¤ýÔâ€zãMÜeµ1hß‘äÇò 8àÛ‚qÆÙ¿ÏÉƒh¹ÈÇÆ      1
  Y   ˆl–Ãa¾”êh¥2 ¸&®6â˜´o�þBë$Y¹H$qŒ@óÊƒmöžÉ_‹I|¥�+ýÿ¹ä³a–Ü4ý( ©¤ýÔâ€zãMÜeÅ1hßÉ <    // Copyright Cromwell D. Enage 2018.
// 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_AUGMENT_PREDICATE_HPP
#define BOOST_PARAMETER_AUGMENT_PREDICATE_HPP

#include <boost/parameter/keyword_fwd.hpp>
#include <boost/mpl/bool.hpp>
#include <boost/mpl/if.hpp>
#include <boost/mpl/eval_if.hpp>
#include <boost/type_traits/is_lvalue_reference.hpp>
#include <boost/type_traits/is_scalar.hpp>
#include <boost/type_traits/is_same.hpp>

namespace boost { namespace parameter { namespace aux {

    template <typename V, typename R, typename Tag>
    struct augment_predicate_check_consume_ref
      : ::boost::mpl::eval_if<
            ::boost::is_scalar<V>
          , ::boost::mpl::true_
          , ::boost::mpl::eval_if<
                ::boost::is_same<
                    typename Tag::qualifier
                  , ::boost::parameter::consume_reference
                >
              , ::boost::mpl::if_<
                    ::boost::is_lvalue_reference<R>
                  , ::boost::mpl::false_
                  , ::boost::mpl::true_
                >
              , boost::mpl::true_
            >
        >::type
    {
    };
}}} // namespace boost::parameter::aux

#include <boost/type_traits/is_const.hpp>

namespace boost { namespace parameter { namespace aux {

    template <typename V, typename R, typename Tag>
    struct augment_predicate_check_out_ref
      : ::boost::mpl::eval_if<
            ::boost::is_same<
                typename Tag::qualifier
              , ::boost::parameter::out_reference
            >
          , ::boost::mpl::eval_if<
                ::boost::is_lvalue_reference<R>
              , ::boost::mpl::if_<
                    ::boost::is_const<V>
                  , ::boost::mpl::false_
                  , ::boost::mpl::true_
                >
              , ::boost::mpl::false_
            >
          , ::boost::mpl::true_
        >::type
    {
    };
}}} // namespace boost::parameter::aux

#include <boost/parameter/aux_/lambda_tag.hpp>
#include <boost/mpl/apply_wrap.hpp>
#include <boost/mpl/lambda.hpp>

namespace boost { namespace parameter { namespace aux {

    template <
        typename Predicate
      , typename R
      , typename Tag
      , typename T
      , typename Args
    >
    class augment_predicate
    {
        typedef typename ::boost::mpl::lambda<
            Predicate
          , ::boost::parameter::aux::lambda_tag
        >::type _actual_predicate;

     public:
        typedef typename ::boost::mpl::eval_if<
            typename ::boost::mpl::if_<
                ::boost::parameter::aux
                ::augment_predicate_check_consume_ref<T,R,Tag>
              , ::boost::parameter::aux
                ::augment_predicate_check_out_ref<T,R,Tag>
              , ::boost::mpl::false_
            >::type
          , ::boost::mpl::apply_wrap2<_actual_predicate,T,Args>
          , ::boost::mpl::false_
        >::type type;
    };
}}} // namespace boost::parameter::aux

#include <boost/parameter/config.hpp>

#if defined(BOOST_PARAMETER_CAN_USE_MP11)
#include <boost/mp11/integral.hpp>
#include <boost/mp11/utility.hpp>
#include <type_traits>

namespace boost { namespace parameter { namespace aux {

    template <typename V, typename R, typename Tag>
    using augment_pred