예제 #1
0
        static bool
        call (OutputIterator& sink, U b, Policies const& p = Policies())
        {
#if BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1600))
            p; // suppresses warning: C4100: 'p' : unreferenced formal parameter
#endif
            return p.template call<bool_inserter>(sink, T(b), p);
        }
예제 #2
0
object make_function(lua_State* L, F f, Signature, Policies)
{
    return detail::make_function_aux(
        L
      , new detail::function_object_impl<F, Signature, Policies>(
            f, Policies()
        )
    );
}
예제 #3
0
object make_function(lua_State* L, F f, Signature, Policies)
{
    return detail::make_function_aux(
        L
      , detail::compute_arity(Signature(), Policies())
      , detail::function_invoke<F, Signature, Policies>(f)
      , detail::function_score<Signature, Policies>()
      , detail::function_signature<Signature>()
    );
}
예제 #4
0
파일: real.hpp 프로젝트: ANCL/autopilot
 any_real_generator(Policies const& policies = Policies())
   : p_(policies) {}
예제 #5
0
 int operator()(lua_State* L) const
 {
     return compute_score(L, Signature(), Policies());
 }
예제 #6
0
 int operator()(lua_State* L) const
 {
     return invoke(L, f, Signature(), Policies());
 }