Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ ~VirtBase
Method
~VirtBase
tests/test_potentially_slicing_weak_ptr.cpp:15–15 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
13
struct VirtBase {
14
VirtBase() = default;
15
virtual ~VirtBase() = default;
16
VirtBase(const VirtBase &) = delete;
17
virtual int get_code() { return 100; }
18
};
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected