Skip to content

Commit b768bbc

Browse files
burblebeetkoeppe
authored andcommitted
LWG3405 common_view's converting constructor is bad, too
1 parent 8c5377e commit b768bbc

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

source/ranges.tex

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6001,10 +6001,6 @@
60016001

60026002
constexpr explicit common_view(V r);
60036003

6004-
template<@\libconcept{viewable_range}@ R>
6005-
requires (!common_range<R> && @\libconcept{constructible_from}@<V, views::all_t<R>>)
6006-
constexpr explicit common_view(R&& r);
6007-
60086004
constexpr V base() const& requires @\libconcept{copy_constructible}@<V> { return @\exposid{base_}@; }
60096005
constexpr V base() && { return std::move(@\exposid{base_}@); }
60106006

@@ -6060,19 +6056,6 @@
60606056
Initializes \exposid{base_} with \tcode{std::move(base)}.
60616057
\end{itemdescr}
60626058

6063-
\indexlibraryctor{common_view}%
6064-
\begin{itemdecl}
6065-
template<viewable_range R>
6066-
requires (!common_range<R> && @\libconcept{constructible_from}@<V, views::all_t<R>>)
6067-
constexpr explicit common_view(R&& r);
6068-
\end{itemdecl}
6069-
6070-
\begin{itemdescr}
6071-
\pnum
6072-
\effects
6073-
Initializes \exposid{base_} with \tcode{views::all(std::forward<R>(r))}.
6074-
\end{itemdescr}
6075-
60766059
\rSec2[range.reverse]{Reverse view}
60776060

60786061
\rSec3[range.reverse.overview]{Overview}

0 commit comments

Comments
 (0)