@@ -10676,13 +10676,11 @@
10676
10676
\begin {itemdescr }
10677
10677
\pnum
10678
10678
\constraints
10679
+ Let \tcode {U} be \tcode {remove_reference_t<iter_reference_t<It>>}.
10679
10680
\begin {itemize }
10680
10681
\item \tcode {It} satisfies \libconcept {contiguous_iterator}.
10681
10682
\item
10682
- \begin {codeblock }
10683
- {is_convertible_v<remove_reference_t<iter_reference_t<It>>(*)[], element_type(*)[]>
10684
- \end {codeblock}
10685
- is \tcode {true}.
10683
+ \tcode {is_convertible_v<U(*)[], element_type(*)[]>} is \tcode {true}.
10686
10684
\begin {note }
10687
10685
The intent is to allow only qualification conversions
10688
10686
of the iterator reference type to \tcode {element_type}.
@@ -10718,12 +10716,10 @@
10718
10716
\begin {itemdescr }
10719
10717
\pnum
10720
10718
\constraints
10719
+ Let \tcode {U} be \tcode {remove_reference_t<iter_reference_t<It>>}.
10721
10720
\begin {itemize }
10722
10721
\item
10723
- \begin {codeblock }
10724
- is_convertible_v<remove_reference_t<iter_reference_t<It>>(*)[], element_type(*)[]>
10725
- \end {codeblock }
10726
- is \tcode {true}.
10722
+ \tcode {is_convertible_v<U(*)[], element_type(*)[]>} is \tcode {true}.
10727
10723
\begin {note }
10728
10724
The intent is to allow only qualification conversions
10729
10725
of the iterator reference type to \tcode {element_type}.
10785
10781
\begin {itemdescr }
10786
10782
\pnum
10787
10783
\constraints
10784
+ Let \tcode {U} be \tcode {remove_reference_t<ranges::range_reference_t<R>>}.
10788
10785
\begin {itemize }
10789
10786
\item \tcode {extent == dynamic_extent} is \tcode {true}.
10790
10787
\item \tcode {R} satisfies \tcode {ranges::\libconcept {contiguous_range}} and
10794
10791
\item \tcode {remove_cvref_t<R>} is not a specialization of \tcode {span}.
10795
10792
\item \tcode {remove_cvref_t<R>} is not a specialization of \tcode {array}.
10796
10793
\item \tcode {is_array_v<remove_cvref_t<R>>} is \tcode {false}.
10797
- \item \relax
10798
- \begin {codeblock }
10799
- is_convertible_v<remove_reference_t<ranges::range_reference_t<R>>(*)[], element_type(*)[]>
10800
- \end {codeblock }
10801
- is \tcode {true}.
10794
+ \item
10795
+ \tcode {is_convertible_v<U(*)[], element_type(*)[]>} is \tcode {true}.
10802
10796
\begin {note }
10803
10797
The intent is to allow only qualification conversions
10804
10798
of the iterator reference type to \tcode {element_type}.
10874
10868
10875
10869
\indexlibrary {\idxcode {span}!deduction guide}%
10876
10870
\begin {itemdecl }
10877
- template <class It, class End>
10871
+ template<class It, class End>
10878
10872
span(It, End) -> span<remove_reference_t<iter_reference_t<It>>>;
10879
10873
\end {itemdecl }
10880
10874
0 commit comments