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

Method reset_drvd_value

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

Source from the content-addressed store, hash-verified

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
22 int get_base_value_from_drvd() const { return get_base_value(); }
23 void reset_base_value_from_drvd(int new_value) { reset_base_value(new_value); }

Callers 1

test_PPCCFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected