File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 3578
3578
3579
3579
\pnum
3580
3580
\returns
3581
- \tcode {first + (last - first) - n}
3581
+ \tcode {first + (last - first - n) }
3582
3582
if \tcode {n} is positive and \tcode {n < last - first},
3583
3583
otherwise \tcode {first} if \tcode {n} is positive, otherwise \tcode {last}.
3584
3584
3605
3605
The type of \tcode {*first} shall satisfy
3606
3606
the \tcode {MoveAssignable} requirements.
3607
3607
\tcode {ForwardIterator} shall meet
3608
- the \tcode {BidirectionalIterator} or \tcode {ValueSwappable} requirements.
3608
+ the requirements of a bidirectional iterator\iref {bidirectional.iterators } or
3609
+ the \tcode {ValueSwappable} requirements.
3609
3610
3610
3611
\pnum
3611
3612
\effects
3614
3615
from position \tcode {first + i} into \tcode {position first + n + i}
3615
3616
for each non-negative integer \tcode {i < (last - first) - n}.
3616
3617
In the first overload case, if \tcode {ForwardIterator} satisfies
3617
- the \tcode {BidirectionalIterator} requirements,
3618
+ the requirements of a bidirectional iterator ,
3618
3619
does so in order starting
3619
3620
from \tcode {i = (last - first) - n - 1} and proceeding to \tcode {i = 0}.
3620
3621
You can’t perform that action at this time.
0 commit comments