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

Method get_rvalue

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

Source from the content-addressed store, hash-verified

114 const UserType &get1() const { return v1; }
115 const UserType &get2() const { return v2; }
116 UserType get_rvalue() const { return v2; }
117 void set1(int v) { v1.set(v); }
118 void set2(int v) { v2.set(v); }
119};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected