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

Method id

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

Source from the content-addressed store, hash-verified

23
24struct drvd : base {
25 int id() const override { return 2 * base_id; }
26};
27
28// clang-format off

Callers 7

pass_cptr_baseFunction · 0.45
pass_cptr_drvdFunction · 0.45
pass_shcp_baseFunction · 0.45
pass_shcp_drvdFunction · 0.45
pass_cptr_base1Function · 0.45
pass_cptr_base2Function · 0.45
pass_cptr_drvd2Function · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected