|
628 | 628 | with value \tcode{a.end()} before the swap will have value \tcode{b.end()} after the
|
629 | 629 | swap.
|
630 | 630 |
|
| 631 | +\pnum |
| 632 | +A \defnadj{contiguous}{container} |
| 633 | +is a container |
| 634 | +whose member types \tcode{iterator} and \tcode{const_iterator} |
| 635 | +meet the |
| 636 | +\oldconcept{RandomAccessIterator} requirements\iref{random.access.iterators} and |
| 637 | +model \libconcept{contiguous_iterator}\iref{iterator.concept.contiguous}. |
| 638 | + |
631 | 639 | \rSec3[container.rev.reqmts]{Reversible container requirements}
|
632 | 640 |
|
633 | 641 | % Local command to index names as members of all containers.
|
|
809 | 817 | shall not invalidate iterators to, or change the values of, objects
|
810 | 818 | within that container.
|
811 | 819 |
|
812 |
| -\pnum |
813 |
| -A \defnadj{contiguous}{container} |
814 |
| -is a container |
815 |
| -whose member types \tcode{iterator} and \tcode{const_iterator} |
816 |
| -meet the |
817 |
| -\oldconcept{RandomAccessIterator} requirements\iref{random.access.iterators} and |
818 |
| -model \libconcept{contiguous_iterator}\iref{iterator.concept.contiguous}. |
819 |
| - |
820 | 820 | \rSec3[container.opt.reqmts]{Optional container requirements}
|
821 | 821 |
|
822 | 822 | \pnum
|
|
6149 | 6149 | \indextext{\idxcode{array}!contiguous storage}%
|
6150 | 6150 | The header \libheader{array} defines a class template for storing fixed-size
|
6151 | 6151 | sequences of objects.
|
6152 |
| -An \tcode{array} is a contiguous container\iref{container.requirements.general}. |
| 6152 | +An \tcode{array} is a contiguous container\iref{container.reqmts}. |
6153 | 6153 | An instance of \tcode{array<T, N>} stores \tcode{N} elements of type \tcode{T},
|
6154 | 6154 | so that \tcode{size() == N} is an invariant.
|
6155 | 6155 |
|
|
8590 | 8590 | of a sequence container, including most of the optional sequence container
|
8591 | 8591 | requirements\iref{sequence.reqmts},
|
8592 | 8592 | and, for an element type other than \tcode{bool},
|
8593 |
| -of a contiguous container\iref{container.requirements.general}. |
| 8593 | +of a contiguous container\iref{container.reqmts}. |
8594 | 8594 | The exceptions are the
|
8595 | 8595 | \tcode{push_front}, \tcode{prepend_range}, \tcode{pop_front}, and \tcode{emplace_front} member functions, which are not
|
8596 | 8596 | provided. Descriptions are provided here only for operations on \tcode{vector}
|
|
0 commit comments