|
1301 | 1301 | denote iterators that meet the \oldconcept{InputIterator} requirements
|
1302 | 1302 | and refer to elements implicitly convertible to \tcode{value_type},
|
1303 | 1303 | \item
|
1304 |
| -\tcode{[i, j)} denotes a valid range, |
| 1304 | +\range{i}{j} denotes a valid range, |
1305 | 1305 | \item
|
1306 | 1306 | \tcode{rg} denotes a value of a type \tcode{R}
|
1307 | 1307 | that models \tcode{\exposconcept{container-compatible-range}<T>},
|
|
1314 | 1314 | \item
|
1315 | 1315 | \tcode{q} denotes a valid dereferenceable constant iterator to \tcode{a},
|
1316 | 1316 | \item
|
1317 |
| -\tcode{[q1, q2)} denotes a valid range of constant iterators in \tcode{a}, |
| 1317 | +\range{q1}{q2} denotes a valid range of constant iterators in \tcode{a}, |
1318 | 1318 | \item
|
1319 | 1319 | \tcode{t} denotes an lvalue or a const rvalue of \tcode{X::value_type}, and
|
1320 | 1320 | \item
|
|
1376 | 1376 |
|
1377 | 1377 | \pnum
|
1378 | 1378 | \effects
|
1379 |
| -Constructs a sequence container equal to the range \tcode{[i, j)}. |
| 1379 | +Constructs a sequence container equal to the range \range{i}{j}. |
1380 | 1380 | Each iterator in the range \range{i}{j} is dereferenced exactly once.
|
1381 | 1381 |
|
1382 | 1382 | \pnum
|
|
1571 | 1571 |
|
1572 | 1572 | \pnum
|
1573 | 1573 | \effects
|
1574 |
| -Inserts copies of elements in \tcode{[i, j)} before \tcode{p}. |
| 1574 | +Inserts copies of elements in \range{i}{j} before \tcode{p}. |
1575 | 1575 | Each iterator in the range \range{i}{j} shall be dereferenced exactly once.
|
1576 | 1576 |
|
1577 | 1577 | \pnum
|
|
1668 | 1668 |
|
1669 | 1669 | \pnum
|
1670 | 1670 | \effects
|
1671 |
| -Erases the elements in the range \tcode{[q1, q2)}. |
| 1671 | +Erases the elements in the range \range{q1}{q2}. |
1672 | 1672 |
|
1673 | 1673 | \pnum
|
1674 | 1674 | \returns
|
|
1725 | 1725 |
|
1726 | 1726 | \pnum
|
1727 | 1727 | \effects
|
1728 |
| -Replaces elements in \tcode{a} with a copy of \tcode{[i, j)}. |
| 1728 | +Replaces elements in \tcode{a} with a copy of \range{i}{j}. |
1729 | 1729 | Invalidates all references, pointers and iterators
|
1730 | 1730 | referring to the elements of \tcode{a}.
|
1731 | 1731 | For \tcode{vector} and \tcode{deque},
|
|
2683 | 2683 | \item
|
2684 | 2684 | \tcode{r} denotes a valid dereferenceable iterator to \tcode{a},
|
2685 | 2685 | \item
|
2686 |
| -\tcode{[q1, q2)} denotes a valid range of constant iterators in \tcode{a}, |
| 2686 | +\range{q1}{q2} denotes a valid range of constant iterators in \tcode{a}, |
2687 | 2687 | \item
|
2688 | 2688 | \tcode{il} designates an object of type \tcode{initializer_list<value_type>},
|
2689 | 2689 | \item
|
|
4168 | 4168 | \tcode{i} and \tcode{j} denote input iterators
|
4169 | 4169 | that refer to \tcode{value_type},
|
4170 | 4170 | \item
|
4171 |
| -\tcode{[i, j)} denotes a valid range, |
| 4171 | +\range{i}{j} denotes a valid range, |
4172 | 4172 | \item
|
4173 | 4173 | \tcode{rg} denotes a value of a type \tcode{R}
|
4174 | 4174 | that models \tcode{\exposconcept{container-compatible-range}<value_type>},
|
|
4180 | 4180 | \item
|
4181 | 4181 | \tcode{r} denotes a valid dereferenceable iterator to \tcode{a},
|
4182 | 4182 | \item
|
4183 |
| -\tcode{[q1, q2)} denotes a valid range in \tcode{a}, |
| 4183 | +\range{q1}{q2} denotes a valid range in \tcode{a}, |
4184 | 4184 | \item
|
4185 | 4185 | \tcode{il} denotes a value of type \tcode{initializer_list<value_type>},
|
4186 | 4186 | \item
|
|
4992 | 4992 |
|
4993 | 4993 | \pnum
|
4994 | 4994 | \effects
|
4995 |
| -Equivalent to \tcode{a.insert(t)} for each element in \tcode{[i,j)}. |
| 4995 | +Equivalent to \tcode{a.insert(t)} for each element in \range{i}{j}. |
4996 | 4996 |
|
4997 | 4997 | \pnum
|
4998 | 4998 | \complexity
|
|
5355 | 5355 |
|
5356 | 5356 | \pnum
|
5357 | 5357 | \effects
|
5358 |
| -Erases all elements in the range \tcode{[q1, q2)}. |
| 5358 | +Erases all elements in the range \range{q1}{q2}. |
5359 | 5359 |
|
5360 | 5360 | \pnum
|
5361 | 5361 | \returns
|
|
5591 | 5591 | The index of the bucket
|
5592 | 5592 | in which elements with keys equivalent to \tcode{k} would be found,
|
5593 | 5593 | if any such element existed.
|
5594 |
| -The return value is in the range \tcode{[0, b.bucket_count())}. |
| 5594 | +The return value is in the range \range{0}{b.bucket_count()}. |
5595 | 5595 |
|
5596 | 5596 | \pnum
|
5597 | 5597 | \complexity
|
|
5614 | 5614 |
|
5615 | 5615 | \pnum
|
5616 | 5616 | \ensures
|
5617 |
| -The return value is in the range \tcode{[0, a_tran.bucket_count())}. |
| 5617 | +The return value is in the range \range{0}{a_tran.bucket_count()}. |
5618 | 5618 |
|
5619 | 5619 | \pnum
|
5620 | 5620 | \returns
|
|
5639 | 5639 |
|
5640 | 5640 | \pnum
|
5641 | 5641 | \expects
|
5642 |
| -\tcode{n} shall be in the range \tcode{[0, b.bucket_count())}. |
| 5642 | +\tcode{n} shall be in the range \range{0}{b.bucket_count()}. |
5643 | 5643 |
|
5644 | 5644 | \pnum
|
5645 | 5645 | \returns
|
|
5662 | 5662 |
|
5663 | 5663 | \pnum
|
5664 | 5664 | \expects
|
5665 |
| -\tcode{n} is in the range \tcode{[0, b.bucket_count())}. |
| 5665 | +\tcode{n} is in the range \range{0}{b.bucket_count()}. |
5666 | 5666 |
|
5667 | 5667 | \pnum
|
5668 | 5668 | \returns
|
|
5686 | 5686 |
|
5687 | 5687 | \pnum
|
5688 | 5688 | \expects
|
5689 |
| -\tcode{n} is in the range \tcode{[0, b.bucket_count())}. |
| 5689 | +\tcode{n} is in the range \range{0}{b.bucket_count()}. |
5690 | 5690 |
|
5691 | 5691 | \pnum
|
5692 | 5692 | \returns
|
|
5709 | 5709 |
|
5710 | 5710 | \pnum
|
5711 | 5711 | \expects
|
5712 |
| -\tcode{n} shall be in the range \tcode{[0, b.bucket_count())}. |
| 5712 | +\tcode{n} shall be in the range \range{0}{b.bucket_count()}. |
5713 | 5713 |
|
5714 | 5714 | \pnum
|
5715 | 5715 | \returns
|
|
5733 | 5733 |
|
5734 | 5734 | \pnum
|
5735 | 5735 | \expects
|
5736 |
| -\tcode{n} is in the range \tcode{[0, b.bucket_count())}. |
| 5736 | +\tcode{n} is in the range \range{0}{b.bucket_count()}. |
5737 | 5737 |
|
5738 | 5738 | \pnum
|
5739 | 5739 | \returns
|
|
8425 | 8425 | \begin{itemdescr}
|
8426 | 8426 | \pnum
|
8427 | 8427 | \expects
|
8428 |
| -\tcode{[first, last)} is a valid range in \tcode{x}. |
| 8428 | +\range{first}{last} is a valid range in \tcode{x}. |
8429 | 8429 | \tcode{position} is not an iterator in the range \range{first}{last}.
|
8430 | 8430 |
|
8431 | 8431 | \pnum
|
|
0 commit comments