MCPcopy Create free account
hub / github.com/wjakob/nanobind / ~Example

Method ~Example

tests/test_holders.cpp:23–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 Example(int value) : value(value) { created++; }
22 Example(ExampleSrc src) : value(src.value) { created++; }
23 ~Example() { deleted++; }
24
25 static Example *make(int value) { return new Example(value); }
26 static std::shared_ptr<Example> make_shared(int value) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected