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

Method ~B

tests/test_smart_ptr.cpp:235–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233 // NOLINTNEXTLINE(readability-redundant-member-init)
234 B(B &&) noexcept : std::enable_shared_from_this<B>() { print_move_created(this); }
235 ~B() { print_destroyed(this); }
236 };
237
238 B value;

Callers

nothing calls this directly

Calls 1

print_destroyedFunction · 0.85

Tested by

no test coverage detected