MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / overload_match_arity

Function overload_match_arity

extlibs/sol3/include/sol/sol.hpp:16076–16078  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16074 namespace overload_detail {
16075 template <std::size_t... M, typename Match, typename... Args>
16076 inline int overload_match_arity(types<>, std::index_sequence<>, std::index_sequence<M...>, Match&&, lua_State* L, int, int, Args&&...) {
16077 return luaL_error(L, "sol: no matching function call takes this number of arguments and the specified types");
16078 }
16079
16080 template <typename Fx, typename... Fxs, std::size_t I, std::size_t... In, std::size_t... M, typename Match, typename... Args>
16081 inline int overload_match_arity(types<Fx, Fxs...>, std::index_sequence<I, In...>, std::index_sequence<M...>, Match&& matchfx, lua_State* L,

Callers 1

Calls 3

luaL_errorFunction · 0.85
check_typesFunction · 0.85

Tested by

no test coverage detected