This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of New status.

### 3679. Is `<ranges>` sufficient for `istream_view`?

Section: 24.6.5 [range.istream] Status: New Submitter: Barry Revzin Opened: 2022-02-24 Last modified: 2022-03-04

Priority: 3

View all issues with New status.

Discussion:

The following is rejected by libstdc++:

>     #include <ranges>

>     void call(std::ranges::istream_view<int>& v);

The error is quite cryptic, but ultimately the issue is not including `<istream>`. I think this currently isn't required to work, so the fact that it does not work is conforming. But should it be required to work?

I think either this should work or we should add a note to 24.6.5 [range.istream] about the include.

[2022-03-04; Reflector poll]

Set priority to 3 after reflector poll.

Proposed resolution: