MCPcopy Create free account
hub / github.com/wjakob/nanobind / ExampleST

Method ExampleST

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

Source from the content-addressed store, hash-verified

35struct ExampleST : std::enable_shared_from_this<ExampleST> {
36 int value;
37 ExampleST(int value) : value(value) { created++; }
38 ~ExampleST() { deleted++; }
39
40 static ExampleST *make(int value) { return new ExampleST(value); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected