MCPcopy Create free account
hub / github.com/pybind/pybind11 / pass_shcp_base

Function pass_shcp_base

tests/test_class_sh_inheritance.cpp:38–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36inline std::shared_ptr<base> rtrn_shmp_drvd_up_cast() { return std::make_shared<drvd>(); }
37
38inline int pass_shcp_base(const std::shared_ptr<base const>& b) { return b->id() + 21; }
39inline int pass_shcp_drvd(const std::shared_ptr<drvd const>& d) { return d->id() + 22; }
40// clang-format on
41

Callers

nothing calls this directly

Calls 1

idMethod · 0.45

Tested by

no test coverage detected