You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was under the mistaken impression that istream_iterator didn't support non-std::istream types based on its name, and so I named basic_istream_iterator as a "fix". Now that I know better, I think it should be renamed to istream_view, and we move the factory into namespace views as istream.
P1035R7 (and C++20 CD)
auto example1 = std::ranges::basic_istream_view<int>{std::cin};
auto example2 = std::ranges::istream_view<int>(std::cin);
Proposed
auto example1 = std::ranges::istream_view<int>{std::cin};
auto example2 = std::views::istream<int>(std::cin);
The text was updated successfully, but these errors were encountered:
I was under the mistaken impression that
istream_iterator
didn't support non-std::istream
types based on its name, and so I namedbasic_istream_iterator
as a "fix". Now that I know better, I think it should be renamed toistream_view
, and we move the factory into namespaceviews
asistream
.P1035R7 (and C++20 CD)
Proposed
The text was updated successfully, but these errors were encountered: