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

Method ~ElementBase

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

Source from the content-addressed store, hash-verified

308// #187: issue involving std::shared_ptr<> return value policy & garbage collection
309struct ElementBase {
310 virtual ~ElementBase() = default; /* Force creation of virtual table */
311 ElementBase() = default;
312 ElementBase(const ElementBase &) = delete;
313};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected