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

Method ~Object

tests/object.h:44–44  ·  view source on GitHub ↗

\brief Virtual protected deconstructor. * (Will only be called by \ref ref) */

Source from the content-addressed store, hash-verified

42 * (Will only be called by \ref ref)
43 */
44 virtual ~Object() { print_destroyed(this); }
45
46private:
47 mutable std::atomic<int> m_refCount{0};

Callers

nothing calls this directly

Calls 1

print_destroyedFunction · 0.85

Tested by

no test coverage detected