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

Method set_int

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

Source from the content-addressed store, hash-verified

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; }
161 int rw_value = 42;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected