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

Method set2

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

Source from the content-addressed store, hash-verified

116 UserType get_rvalue() const { return v2; }
117 void set1(int v) { v1.set(v); }
118 void set2(int v) { v2.set(v); }
119};
120UserType TestPropRVP::sv1(1);
121UserType TestPropRVP::sv2(1);

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected