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

Method increase_value

tests/test_methods_and_attributes.cpp:154–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152public:
153 void do_nothing() const {}
154 void increase_value() {
155 rw_value++;
156 ro_value += 0.25;
157 }
158 void set_int(int v) { rw_value = v; }
159 int get_int() const { return rw_value; }
160 double get_double() const { return ro_value; }

Calls

no outgoing calls

Tested by

no test coverage detected