15 other.wasMoved_ =
true;
20 other.wasMoved_ =
true;
30 bool wasMoved_{
false};
Utility class to detect if an object was moved.
Definition: move_detector.hpp:9
MoveDetector & operator=(MoveDetector &&other) noexcept
Definition: move_detector.hpp:18
MoveDetector(MoveDetector &&other) noexcept
Definition: move_detector.hpp:13
MoveDetector(MoveDetector const &)=default
bool wasMoved() const noexcept
Definition: move_detector.hpp:24
MoveDetector & operator=(MoveDetector const &)=default
Definition: file_dialog.hpp:6