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

Function oss_default_to_string

include/sol/stack_core.hpp:1365–1369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1363
1364 template <typename T>
1365 int oss_default_to_string(std::true_type, lua_State* L) {
1366 std::ostringstream oss;
1367 oss << stack::unqualified_get<T>(L, 1);
1368 return stack::push(L, oss.str());
1369 }
1370
1371 template <typename T>
1372 int oss_default_to_string(std::false_type, lua_State* L) {

Callers

nothing calls this directly

Calls 1

pushFunction · 0.85

Tested by

no test coverage detected