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

Function adl_default_to_string

extlibs/sol3/include/sol/sol.hpp:10559–10563  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10557
10558 template <typename T>
10559 int adl_default_to_string(std::true_type, lua_State* L) {
10560 using namespace std;
10561 decltype(auto) ts = to_string(stack::get<T>(L, 1));
10562 return stack::push(L, std::forward<decltype(ts)>(ts));
10563 }
10564
10565 template <typename T>
10566 int adl_default_to_string(std::false_type, lua_State* L) {

Callers

nothing calls this directly

Calls 2

pushFunction · 0.85
to_stringFunction · 0.50

Tested by

no test coverage detected