MCPcopy Create free account
hub / github.com/pybind/pybind11 / ~ExampleMandA

Method ~ExampleMandA

tests/test_methods_and_attributes.cpp:32–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 explicit ExampleMandA(std::string &&) {}
31 ExampleMandA(ExampleMandA &&e) noexcept : value(e.value) { print_move_created(this); }
32 ~ExampleMandA() { print_destroyed(this); }
33
34 std::string toString() const { return "ExampleMandA[value=" + std::to_string(value) + "]"; }
35

Callers

nothing calls this directly

Calls 1

print_destroyedFunction · 0.85

Tested by

no test coverage detected