Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ pass_shcp_drvd
Function
pass_shcp_drvd
tests/test_class_sh_inheritance.cpp:39–39 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
37
38
inline int pass_shcp_base(const std::shared_ptr<base const>& b) { return b->id() + 21; }
39
inline int pass_shcp_drvd(const std::shared_ptr<drvd const>& d) { return d->id() + 22; }
40
// clang-format on
41
42
using base1 = base_template<110>;
Callers
nothing calls this directly
Calls
1
id
Method · 0.45
Tested by
no test coverage detected