MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / optionalMethod

Method optionalMethod

test/embind/embind_test.cpp:1448–1450  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1446 virtual ~AbstractClass() {}
1447 virtual std::string abstractMethod() const = 0;
1448 virtual std::string optionalMethod(std::string s) const {
1449 return "optional" + s;
1450 }
1451
1452 virtual std::shared_ptr<Derived> returnsSharedPtr() = 0;
1453 virtual void differentArguments(

Callers 2

callOptionalMethodFunction · 0.45
embind.test.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected