|
3305 | 3305 | \begin{itemdescr}
|
3306 | 3306 | \pnum
|
3307 | 3307 | \constraints
|
3308 |
| -The expression \tcode{x.current == y.current} shall be valid and |
| 3308 | +The expression \tcode{x.base() == y.base()} shall be valid and |
3309 | 3309 | convertible to \tcode{bool}.
|
3310 | 3310 |
|
3311 | 3311 | \pnum
|
3312 | 3312 | \returns
|
3313 |
| -\tcode{x.current == y.current}. |
| 3313 | +\tcode{x.base() == y.base()}. |
3314 | 3314 | \end{itemdescr}
|
3315 | 3315 |
|
3316 | 3316 | \indexlibrarymember{operator"!=}{reverse_iterator}%
|
|
3324 | 3324 | \begin{itemdescr}
|
3325 | 3325 | \pnum
|
3326 | 3326 | \constraints
|
3327 |
| -The expression \tcode{x.current != y.current} shall be valid and |
| 3327 | +The expression \tcode{x.base() != y.base()} shall be valid and |
3328 | 3328 | convertible to \tcode{bool}.
|
3329 | 3329 |
|
3330 | 3330 | \pnum
|
3331 | 3331 | \returns
|
3332 |
| -\tcode{x.current != y.current}. |
| 3332 | +\tcode{x.base() != y.base()}. |
3333 | 3333 | \end{itemdescr}
|
3334 | 3334 |
|
3335 | 3335 | \indexlibrarymember{operator<}{reverse_iterator}%
|
|
3343 | 3343 | \begin{itemdescr}
|
3344 | 3344 | \pnum
|
3345 | 3345 | \constraints
|
3346 |
| -The expression \tcode{x.current > y.current} shall be valid and |
| 3346 | +The expression \tcode{x.base() > y.base()} shall be valid and |
3347 | 3347 | convertible to \tcode{bool}.
|
3348 | 3348 |
|
3349 | 3349 | \pnum
|
3350 | 3350 | \returns
|
3351 |
| -\tcode{x.current > y.current}. |
| 3351 | +\tcode{x.base() > y.base()}. |
3352 | 3352 | \end{itemdescr}
|
3353 | 3353 |
|
3354 | 3354 | \indexlibrarymember{operator>}{reverse_iterator}%
|
|
3362 | 3362 | \begin{itemdescr}
|
3363 | 3363 | \pnum
|
3364 | 3364 | \constraints
|
3365 |
| -The expression \tcode{x.current < y.current} shall be valid and |
| 3365 | +The expression \tcode{x.base() < y.base()} shall be valid and |
3366 | 3366 | convertible to \tcode{bool}.
|
3367 | 3367 |
|
3368 | 3368 | \pnum
|
3369 | 3369 | \returns
|
3370 |
| -\tcode{x.current < y.current}. |
| 3370 | +\tcode{x.base() < y.base()}. |
3371 | 3371 | \end{itemdescr}
|
3372 | 3372 |
|
3373 | 3373 | \indexlibrarymember{operator<=}{reverse_iterator}%
|
|
3381 | 3381 | \begin{itemdescr}
|
3382 | 3382 | \pnum
|
3383 | 3383 | \constraints
|
3384 |
| -The expression \tcode{x.current >= y.current} shall be valid and |
| 3384 | +The expression \tcode{x.base() >= y.base()} shall be valid and |
3385 | 3385 | convertible to \tcode{bool}.
|
3386 | 3386 |
|
3387 | 3387 | \pnum
|
3388 | 3388 | \returns
|
3389 |
| -\tcode{x.current >= y.current}. |
| 3389 | +\tcode{x.base() >= y.base()}. |
3390 | 3390 | \end{itemdescr}
|
3391 | 3391 |
|
3392 | 3392 | \indexlibrarymember{operator>=}{reverse_iterator}%
|
|
3400 | 3400 | \begin{itemdescr}
|
3401 | 3401 | \pnum
|
3402 | 3402 | \constraints
|
3403 |
| -The expression \tcode{x.current <= y.current} shall be valid and |
| 3403 | +The expression \tcode{x.base() <= y.base()} shall be valid and |
3404 | 3404 | convertible to \tcode{bool}.
|
3405 | 3405 |
|
3406 | 3406 | \pnum
|
3407 | 3407 | \returns
|
3408 |
| -\tcode{x.current <= y.current}. |
| 3408 | +\tcode{x.base() <= y.base()}. |
3409 | 3409 | \end{itemdescr}
|
3410 | 3410 |
|
3411 | 3411 | \rSec3[reverse.iter.nonmember]{Non-member functions}
|
|
3421 | 3421 | \begin{itemdescr}
|
3422 | 3422 | \pnum
|
3423 | 3423 | \returns
|
3424 |
| -\tcode{y.current - x.current}. |
| 3424 | +\tcode{y.base() - x.base()}. |
3425 | 3425 | \end{itemdescr}
|
3426 | 3426 |
|
3427 | 3427 | \indexlibrarymember{operator+}{reverse_iterator}%
|
|
3435 | 3435 | \begin{itemdescr}
|
3436 | 3436 | \pnum
|
3437 | 3437 | \returns
|
3438 |
| -\tcode{reverse_iterator<Iterator>(x.current - n)}. |
| 3438 | +\tcode{reverse_iterator<Iterator>(x.base() - n)}. |
3439 | 3439 | \end{itemdescr}
|
3440 | 3440 |
|
3441 | 3441 | \indexlibrarymember{iter_move}{reverse_iterator}%
|
|
3448 | 3448 | \pnum
|
3449 | 3449 | \effects Equivalent to:
|
3450 | 3450 | \begin{codeblock}
|
3451 |
| -auto tmp = i.current; |
| 3451 | +auto tmp = i.base(); |
3452 | 3452 | return ranges::iter_move(--tmp);
|
3453 | 3453 | \end{codeblock}
|
3454 | 3454 |
|
|
3472 | 3472 | \pnum
|
3473 | 3473 | \effects Equivalent to:
|
3474 | 3474 | \begin{codeblock}
|
3475 |
| -auto xtmp = x.current; |
3476 |
| -auto ytmp = y.current; |
| 3475 | +auto xtmp = x.base(); |
| 3476 | +auto ytmp = y.base(); |
3477 | 3477 | ranges::iter_swap(--xtmp, --ytmp);
|
3478 | 3478 | \end{codeblock}
|
3479 | 3479 |
|
|
0 commit comments