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

Method ~SpBase

tests/test_class_sh_trampoline_shared_ptr_cpp_arg.cpp:26–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 SpBase() = default;
25 SpBase(const SpBase &) = delete;
26 virtual ~SpBase() = default;
27};
28
29std::shared_ptr<SpBase> pass_through_shd_ptr(const std::shared_ptr<SpBase> &obj) { return obj; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected