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

Method as_stack

include/sol/object_base.hpp:38–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36
37 template <typename T>
38 decltype(auto) as_stack(std::true_type) const {
39 return stack::get<T>(base_t::lua_state(), base_t::stack_index());
40 }
41
42 template <typename T>
43 decltype(auto) as_stack(std::false_type) const {

Callers

nothing calls this directly

Calls 1

pushFunction · 0.85

Tested by

no test coverage detected