Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ pass_cptr_base2
Function
pass_cptr_base2
tests/test_class_sh_inheritance.cpp:56–56 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
54
55
inline int pass_cptr_base1(base1 const *b) { return b->id() + 21; }
56
inline int pass_cptr_base2(base2 const *b) { return b->id() + 22; }
57
inline int pass_cptr_drvd2(drvd2 const *d) { return d->id() + 23; }
58
// clang-format on
59
Callers
nothing calls this directly
Calls
1
id
Method · 0.45
Tested by
no test coverage detected