Title
§[iterator.concept.forward][forward.iterators] Two different definitions of multi-pass guarantee
Status
new
Section
[iterator.concept.forward][forward.iterators]
Submitter
Jiang An

Created on 2022-06-15.00:00:00 last changed 1 week ago

Messages

Date: 2022-06-15.00:00:00

here are two different definitions of multi-pass guarantee since P0896R4. The old one (perhaps introduced by N3066) seems less reasonable because it requires increment on rvalue iterators of class types, and the semantics of such increment is largely unspecified.

Perhaps only the new definition should be used.

History
Date User Action Args
2022-06-15 00:00:00admincreate