Lines Matching defs:value

99         MyObject1(int value) : value(value) { print_created(this, toString()); }
100 std::string toString() const { return "MyObject1[" + std::to_string(value) + "]"; }
104 int value;
131 MyObject2(int value) : value(value) { print_created(this, toString()); }
132 std::string toString() const { return "MyObject2[" + std::to_string(value) + "]"; }
135 int value;
150 MyObject3(int value) : value(value) { print_created(this, toString()); }
151 std::string toString() const { return "MyObject3[" + std::to_string(value) + "]"; }
154 int value;
180 MyObject4(int value) : value{value} { print_created(this); }
181 int value;
187 .def_readwrite("value", &MyObject4::value);
195 value = i;
198 int value;
204 .def_readwrite("value", &MyObject4a::value);
218 MyObject5(int value) : value{value} { print_created(this); }
220 int value;
224 .def_readwrite("value", &MyObject5::value);
235 A value = {};
242 .def_readonly("ref", &SharedPtrRef::value)
243 .def_property_readonly("copy", [](const SharedPtrRef &s) { return s.value; },
260 B value = {};
267 .def_readonly("bad_wp", &SharedFromThisRef::value)
269 .def_property_readonly("copy", [](const SharedFromThisRef &s) { return s.value; },
303 return "TypeForHolderWithAddressOf[" + std::to_string(value) + "]";
305 int value = 42;
318 TypeForMoveOnlyHolderWithAddressOf(int value) : value{value} { print_created(this); }
321 return "MoveOnlyHolderWithAddressOf[" + std::to_string(value) + "]";
323 int value;
328 .def_readwrite("value", &TypeForMoveOnlyHolderWithAddressOf::value)
338 // #187: issue involving std::shared_ptr<> return value policy & garbage collection
346 int value() { return v; }
351 .def("value", &ElementA::value);