Lines Matching refs:MovableObject
123 struct MovableObject {
126 MovableObject() = default;
127 MovableObject(const MovableObject &) = default;
128 MovableObject &operator=(const MovableObject &) = default;
129 MovableObject(MovableObject &&o) : valid(o.valid) { o.valid = false; }
130 MovableObject &operator=(MovableObject &&o) {
136 py::class_<MovableObject>(m, "MovableObject");
139 m.def("callback_with_movable", [](std::function<void(MovableObject &)> f) {
140 auto x = MovableObject();