Title
reverse algorithm should use iter_swap rather than swap
Status
tc1
Section
[alg.reverse]
Submitter
Dave Abrahams

Created on 2000-03-21.00:00:00 last changed 172 months ago

Messages

Date: 2010-10-21.18:28:33

Proposed resolution:

In [alg.reverse], replace:

Effects: For each non-negative integer i <= (last - first)/2, applies swap to all pairs of iterators first + i, (last - i) - 1.

with:

Effects: For each non-negative integer i <= (last - first)/2, applies iter_swap to all pairs of iterators first + i, (last - i) - 1.

Date: 2000-03-21.00:00:00

Shouldn't the effects say "applies iter_swap to all pairs..."?

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg1902
2000-03-21 00:00:00admincreate