MCPcopy Create free account
hub / github.com/ThePhD/sol2 / get

Function get

include/sol/function_result.hpp:41–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39
40 template <std::size_t I, typename... Args, typename T>
41 stack_proxy get(types<Args...>, meta::index_value<0>, meta::index_value<I>, const T& fr) {
42 return stack_proxy(fr.lua_state(), fr.stack_index() + static_cast<int>(I));
43 }
44
45 template <std::size_t I, std::size_t N, typename Arg, typename... Args, typename T, meta::enable<meta::boolean<(N > 0)>> = meta::enabler>
46 stack_proxy get(types<Arg, Args...>, meta::index_value<N>, meta::index_value<I>, const T& fr) {

Callers

nothing calls this directly

Calls 3

stack_proxyClass · 0.70
lua_stateMethod · 0.45
stack_indexMethod · 0.45

Tested by

no test coverage detected