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

Class Foo

tests/run_time/source/basic.cpp:581–589  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

579
580TEST_CASE("pusher/constness", "Make sure more types can handle being const and junk") {
581 struct Foo {
582 Foo(const sol::function& f) : _f(f) {
583 }
584 const sol::function& _f;
585
586 const sol::function& f() const {
587 return _f;
588 }
589 };
590
591 sol::state lua;
592

Callers 1

basic.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected