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

Function member_default_to_string

include/sol/stack_core.hpp:1339–1342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1337
1338 template <typename T>
1339 int member_default_to_string(std::true_type, lua_State* L) {
1340 decltype(auto) ts = stack::get<T>(L, 1).to_string();
1341 return stack::push(L, std::forward<decltype(ts)>(ts));
1342 }
1343
1344 template <typename T>
1345 int member_default_to_string(std::false_type, lua_State* L) {

Callers

nothing calls this directly

Calls 3

pushFunction · 0.85
to_stringMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected