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.
Section: 26.6.5 [range.istream] Status: New Submitter: Barry Revzin Opened: 2022-02-24 Last modified: 2022-03-04
View all issues with New status.
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 26.6.5 [range.istream] about the include.
[2022-03-04; Reflector poll]
Set priority to 3 after reflector poll.