Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ A2
Method
A2
tests/test_virtual_functions.cpp:293–293 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
291
// ... unless we explicitly request it, as in this example:
292
struct A2 {
293
A2() = default;
294
A2(const A2 &) = delete;
295
virtual ~A2() = default;
296
virtual void f() { py::print(
"A2.f()"
); }
Callers
1
test_alias_delay_initialization2
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected