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

Method get_double

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

Source from the content-addressed store, hash-verified

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;
162 double ro_value = 1.25;
163};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected