Skip to content

Commit 342daa7

Browse files
burblebeetkoeppe
authored andcommitted
LWG3857 basic_string_view should allow explicit conversion when only traits vary
1 parent a606f61 commit 342daa7

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

source/strings.tex

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -868,14 +868,10 @@
868868
\item
869869
\tcode{is_same_v<ranges::range_value_t<R>, charT>} is \tcode{true},
870870
\item
871-
\tcode{is_convertible_v<R, const charT*>} is \tcode{false},
871+
\tcode{is_convertible_v<R, const charT*>} is \tcode{false}, and
872872
\item
873873
\tcode{d.operator ::std::basic_string_view<charT, traits>()}
874-
is not a valid expression, and
875-
\item
876-
if the \grammarterm{qualified-id} \tcode{remove_reference_t<R>::traits_type}
877-
is valid and denotes a type,
878-
\tcode{is_same_v<remove_reference_t<R>::traits_type, traits>} is \tcode{true}.
874+
is not a valid expression.
879875
\end{itemize}
880876

881877
\pnum

0 commit comments

Comments
 (0)