Closed ghost closed 1 year ago
Hi, Is the result difference expected?
godbolt
Cheers
No. It's a bug.
A bug in your code. See https://en.cppreference.com/w/cpp/algorithm/ranges/move.
The behavior is undefined if result is within the range [first, last).
Right, missed that one thanks!
Hi, Is the result difference expected?
godbolt
Cheers