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); }
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() ) ); }
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>() ); }
any_real_generator(Policies const& policies = Policies()) : p_(policies) {}
int operator()(lua_State* L) const { return compute_score(L, Signature(), Policies()); }
int operator()(lua_State* L) const { return invoke(L, f, Signature(), Policies()); }