#1118 was fixed by #1148, so deque::erase(iter, iter) avoids performing self-move-assigns when called with empty ranges. We should have test coverage for this scenario. Our test for vector can be extended:
|
// Also test DevCom-776568 "vector::erase(a, a) self-move-assigns the whole vector" |
|
struct CheckSelfMoveAssign { |