|
1309 | 1309 | denote iterators that meet the \oldconcept{InputIterator} requirements
|
1310 | 1310 | and refer to elements implicitly convertible to \tcode{value_type},
|
1311 | 1311 | \item
|
1312 |
| -\tcode{[i, j)} denotes a valid range, |
| 1312 | +\range{i}{j} denotes a valid range, |
1313 | 1313 | \item
|
1314 | 1314 | \tcode{rg} denotes a value of a type \tcode{R}
|
1315 | 1315 | that models \tcode{\exposconcept{container-compatible-range}<T>},
|
|
1322 | 1322 | \item
|
1323 | 1323 | \tcode{q} denotes a valid dereferenceable constant iterator to \tcode{a},
|
1324 | 1324 | \item
|
1325 |
| -\tcode{[q1, q2)} denotes a valid range of constant iterators in \tcode{a}, |
| 1325 | +\range{q1}{q2} denotes a valid range of constant iterators in \tcode{a}, |
1326 | 1326 | \item
|
1327 | 1327 | \tcode{t} denotes an lvalue or a const rvalue of \tcode{X::value_type}, and
|
1328 | 1328 | \item
|
|
1384 | 1384 |
|
1385 | 1385 | \pnum
|
1386 | 1386 | \effects
|
1387 |
| -Constructs a sequence container equal to the range \tcode{[i, j)}. |
| 1387 | +Constructs a sequence container equal to the range \range{i}{j}. |
1388 | 1388 | Each iterator in the range \range{i}{j} is dereferenced exactly once.
|
1389 | 1389 |
|
1390 | 1390 | \pnum
|
|
1579 | 1579 |
|
1580 | 1580 | \pnum
|
1581 | 1581 | \effects
|
1582 |
| -Inserts copies of elements in \tcode{[i, j)} before \tcode{p}. |
| 1582 | +Inserts copies of elements in \range{i}{j} before \tcode{p}. |
1583 | 1583 | Each iterator in the range \range{i}{j} shall be dereferenced exactly once.
|
1584 | 1584 |
|
1585 | 1585 | \pnum
|
|
1676 | 1676 |
|
1677 | 1677 | \pnum
|
1678 | 1678 | \effects
|
1679 |
| -Erases the elements in the range \tcode{[q1, q2)}. |
| 1679 | +Erases the elements in the range \range{q1}{q2}. |
1680 | 1680 |
|
1681 | 1681 | \pnum
|
1682 | 1682 | \returns
|
|
1733 | 1733 |
|
1734 | 1734 | \pnum
|
1735 | 1735 | \effects
|
1736 |
| -Replaces elements in \tcode{a} with a copy of \tcode{[i, j)}. |
| 1736 | +Replaces elements in \tcode{a} with a copy of \range{i}{j}. |
1737 | 1737 | Invalidates all references, pointers and iterators
|
1738 | 1738 | referring to the elements of \tcode{a}.
|
1739 | 1739 | For \tcode{vector} and \tcode{deque},
|
|
2691 | 2691 | \item
|
2692 | 2692 | \tcode{r} denotes a valid dereferenceable iterator to \tcode{a},
|
2693 | 2693 | \item
|
2694 |
| -\tcode{[q1, q2)} denotes a valid range of constant iterators in \tcode{a}, |
| 2694 | +\range{q1}{q2} denotes a valid range of constant iterators in \tcode{a}, |
2695 | 2695 | \item
|
2696 | 2696 | \tcode{il} designates an object of type \tcode{initializer_list<value_type>},
|
2697 | 2697 | \item
|
|
4180 | 4180 | \tcode{i} and \tcode{j} denote input iterators
|
4181 | 4181 | that refer to \tcode{value_type},
|
4182 | 4182 | \item
|
4183 |
| -\tcode{[i, j)} denotes a valid range, |
| 4183 | +\range{i}{j} denotes a valid range, |
4184 | 4184 | \item
|
4185 | 4185 | \tcode{rg} denotes a value of a type \tcode{R}
|
4186 | 4186 | that models \tcode{\exposconcept{container-compatible-range}<value_type>},
|
|
4192 | 4192 | \item
|
4193 | 4193 | \tcode{r} denotes a valid dereferenceable iterator to \tcode{a},
|
4194 | 4194 | \item
|
4195 |
| -\tcode{[q1, q2)} denotes a valid range in \tcode{a}, |
| 4195 | +\range{q1}{q2} denotes a valid range in \tcode{a}, |
4196 | 4196 | \item
|
4197 | 4197 | \tcode{il} denotes a value of type \tcode{initializer_list<value_type>},
|
4198 | 4198 | \item
|
|
5004 | 5004 |
|
5005 | 5005 | \pnum
|
5006 | 5006 | \effects
|
5007 |
| -Equivalent to \tcode{a.insert(t)} for each element in \tcode{[i,j)}. |
| 5007 | +Equivalent to \tcode{a.insert(t)} for each element in \range{i}{j}. |
5008 | 5008 |
|
5009 | 5009 | \pnum
|
5010 | 5010 | \complexity
|
|
5367 | 5367 |
|
5368 | 5368 | \pnum
|
5369 | 5369 | \effects
|
5370 |
| -Erases all elements in the range \tcode{[q1, q2)}. |
| 5370 | +Erases all elements in the range \range{q1}{q2}. |
5371 | 5371 |
|
5372 | 5372 | \pnum
|
5373 | 5373 | \returns
|
|
5603 | 5603 | The index of the bucket
|
5604 | 5604 | in which elements with keys equivalent to \tcode{k} would be found,
|
5605 | 5605 | if any such element existed.
|
5606 |
| -The return value is in the range \tcode{[0, b.bucket_count())}. |
| 5606 | +The return value is in the range \range{0}{b.bucket_count()}. |
5607 | 5607 |
|
5608 | 5608 | \pnum
|
5609 | 5609 | \complexity
|
|
5626 | 5626 |
|
5627 | 5627 | \pnum
|
5628 | 5628 | \ensures
|
5629 |
| -The return value is in the range \tcode{[0, a_tran.bucket_count())}. |
| 5629 | +The return value is in the range \range{0}{a_tran.bucket_count()}. |
5630 | 5630 |
|
5631 | 5631 | \pnum
|
5632 | 5632 | \returns
|
|
5651 | 5651 |
|
5652 | 5652 | \pnum
|
5653 | 5653 | \expects
|
5654 |
| -\tcode{n} shall be in the range \tcode{[0, b.bucket_count())}. |
| 5654 | +\tcode{n} shall be in the range \range{0}{b.bucket_count()}. |
5655 | 5655 |
|
5656 | 5656 | \pnum
|
5657 | 5657 | \returns
|
|
5674 | 5674 |
|
5675 | 5675 | \pnum
|
5676 | 5676 | \expects
|
5677 |
| -\tcode{n} is in the range \tcode{[0, b.bucket_count())}. |
| 5677 | +\tcode{n} is in the range \range{0}{b.bucket_count()}. |
5678 | 5678 |
|
5679 | 5679 | \pnum
|
5680 | 5680 | \returns
|
|
5698 | 5698 |
|
5699 | 5699 | \pnum
|
5700 | 5700 | \expects
|
5701 |
| -\tcode{n} is in the range \tcode{[0, b.bucket_count())}. |
| 5701 | +\tcode{n} is in the range \range{0}{b.bucket_count()}. |
5702 | 5702 |
|
5703 | 5703 | \pnum
|
5704 | 5704 | \returns
|
|
5721 | 5721 |
|
5722 | 5722 | \pnum
|
5723 | 5723 | \expects
|
5724 |
| -\tcode{n} shall be in the range \tcode{[0, b.bucket_count())}. |
| 5724 | +\tcode{n} shall be in the range \range{0}{b.bucket_count()}. |
5725 | 5725 |
|
5726 | 5726 | \pnum
|
5727 | 5727 | \returns
|
|
5745 | 5745 |
|
5746 | 5746 | \pnum
|
5747 | 5747 | \expects
|
5748 |
| -\tcode{n} is in the range \tcode{[0, b.bucket_count())}. |
| 5748 | +\tcode{n} is in the range \range{0}{b.bucket_count()}. |
5749 | 5749 |
|
5750 | 5750 | \pnum
|
5751 | 5751 | \returns
|
|
8362 | 8362 | \begin{itemdescr}
|
8363 | 8363 | \pnum
|
8364 | 8364 | \expects
|
8365 |
| -\tcode{[first, last)} is a valid range in \tcode{x}. |
| 8365 | +\range{first}{last} is a valid range in \tcode{x}. |
8366 | 8366 | \tcode{position} is not an iterator in the range \range{first}{last}.
|
8367 | 8367 |
|
8368 | 8368 | \pnum
|
|
0 commit comments