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

Method CppDrvd

tests/test_python_multiple_inheritance.cpp:18–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16
17struct CppDrvd : CppBase {
18 explicit CppDrvd(int value) : CppBase(value), drvd_value(value * 3) {}
19 int get_drvd_value() const { return drvd_value; }
20 void reset_drvd_value(int new_value) { drvd_value = new_value; }
21

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected