|
10568 | 10568 | using reference = element_type&;
|
10569 | 10569 | using const_reference = const element_type&;
|
10570 | 10570 | using iterator = @\impdefx{type of \tcode{span::iterator}}@; // see \ref{span.iterators}
|
10571 |
| - using const_iterator = @\impdefx{type of \tcode{span::const_iterator}}@; |
10572 | 10571 | using reverse_iterator = std::reverse_iterator<iterator>;
|
10573 |
| - using const_reverse_iterator = std::reverse_iterator<const_iterator>; |
10574 | 10572 | static constexpr size_type extent = Extent;
|
10575 | 10573 |
|
10576 | 10574 | // \ref{span.cons}, constructors, copy, and assignment
|
|
10622 | 10620 | // \ref{span.iterators}, iterator support
|
10623 | 10621 | constexpr iterator begin() const noexcept;
|
10624 | 10622 | constexpr iterator end() const noexcept;
|
10625 |
| - constexpr const_iterator cbegin() const noexcept; |
10626 |
| - constexpr const_iterator cend() const noexcept; |
10627 | 10623 | constexpr reverse_iterator rbegin() const noexcept;
|
10628 | 10624 | constexpr reverse_iterator rend() const noexcept;
|
10629 |
| - constexpr const_reverse_iterator crbegin() const noexcept; |
10630 |
| - constexpr const_reverse_iterator crend() const noexcept; |
10631 | 10625 |
|
10632 | 10626 | private:
|
10633 | 10627 | pointer data_; // \expos
|
@@ -11119,23 +11113,21 @@
|
11119 | 11113 | \rSec3[span.iterators]{Iterator support}
|
11120 | 11114 |
|
11121 | 11115 | \indexlibrarymember{iterator}{span}%
|
11122 |
| -\indexlibrarymember{const_iterator}{span}% |
11123 | 11116 | \begin{itemdecl}
|
11124 | 11117 | using iterator = @\impdefx{type of \tcode{span::iterator}}@;
|
11125 |
| -using const_iterator = @\impdefx{type of \tcode{span::const_iterator}}@; |
11126 | 11118 | \end{itemdecl}
|
11127 | 11119 |
|
11128 | 11120 | \begin{itemdescr}
|
11129 | 11121 | \pnum
|
11130 |
| -The types |
11131 |
| -model \libconcept{contiguous_iterator}\iref{iterator.concept.contiguous}, |
11132 |
| -meet the \oldconcept{RandomAccessIterator} |
| 11122 | +The type |
| 11123 | +models \libconcept{contiguous_iterator}\iref{iterator.concept.contiguous}, |
| 11124 | +meets the \oldconcept{RandomAccessIterator} |
11133 | 11125 | requirements\iref{random.access.iterators},
|
11134 | 11126 | and
|
11135 |
| -meet the requirements for |
| 11127 | +meets the requirements for |
11136 | 11128 | constexpr iterators\iref{iterator.requirements.general}.
|
11137 | 11129 | All requirements on container iterators\iref{container.requirements} apply to
|
11138 |
| -\tcode{span::iterator} and \tcode{span::const_iterator} as well. |
| 11130 | +\tcode{span::iterator} as well. |
11139 | 11131 | \end{itemdescr}
|
11140 | 11132 |
|
11141 | 11133 | \indexlibrarymember{span}{begin}%
|
|
11184 | 11176 | Equivalent to: \tcode{return reverse_iterator(begin());}
|
11185 | 11177 | \end{itemdescr}
|
11186 | 11178 |
|
11187 |
| -\indexlibrarymember{span}{cbegin}% |
11188 |
| -\begin{itemdecl} |
11189 |
| -constexpr const_iterator cbegin() const noexcept; |
11190 |
| -\end{itemdecl} |
11191 |
| - |
11192 |
| -\begin{itemdescr} |
11193 |
| -\pnum |
11194 |
| -\returns |
11195 |
| -A constant iterator referring to the first element in the span. |
11196 |
| -If \tcode{empty()} is \tcode{true}, then it returns the same value |
11197 |
| -as \tcode{cend()}. |
11198 |
| -\end{itemdescr} |
11199 |
| - |
11200 |
| -\indexlibrarymember{span}{cend}% |
11201 |
| -\begin{itemdecl} |
11202 |
| -constexpr const_iterator cend() const noexcept; |
11203 |
| -\end{itemdecl} |
11204 |
| - |
11205 |
| -\begin{itemdescr} |
11206 |
| -\pnum |
11207 |
| -\returns |
11208 |
| -A constant iterator which is the past-the-end value. |
11209 |
| -\end{itemdescr} |
11210 |
| - |
11211 |
| -\indexlibrarymember{span}{crbegin}% |
11212 |
| -\begin{itemdecl} |
11213 |
| -constexpr const_reverse_iterator crbegin() const noexcept; |
11214 |
| -\end{itemdecl} |
11215 |
| - |
11216 |
| -\begin{itemdescr} |
11217 |
| -\pnum |
11218 |
| -\effects |
11219 |
| -Equivalent to: \tcode{return const_reverse_iterator(cend());} |
11220 |
| -\end{itemdescr} |
11221 |
| - |
11222 |
| -\indexlibrarymember{span}{crend}% |
11223 |
| -\begin{itemdecl} |
11224 |
| -constexpr const_reverse_iterator crend() const noexcept; |
11225 |
| -\end{itemdecl} |
11226 |
| - |
11227 |
| -\begin{itemdescr} |
11228 |
| -\pnum |
11229 |
| -\effects |
11230 |
| -Equivalent to: \tcode{return const_reverse_iterator(cbegin());} |
11231 |
| -\end{itemdescr} |
11232 |
| - |
11233 | 11179 |
|
11234 | 11180 | \rSec3[span.objectrep]{Views of object representation}
|
11235 | 11181 |
|
|
0 commit comments