implement std::ranges::basic_istream_view and std::views::istream. Although the view itself is constexpr,
the constructor argument is a base class std::istream where its ctor/dtor are not constexpr. So no tests are performed in
constexpr
After the discussion with Louis and a survey of other implementations, only <iosfwd> is included in the header. As a result, istream_view cannot be used by just including <ranges>. Even a declaration would result in error.
#include <ranges> void f(std::ranges::istream_view<int>); // error. It does not pass concept check because `>>` is defined in <istream>
User will need to include <istream> to be able to use it.
If the paper is in-progress we shouldn't have a release version here. (I know it's that way in a few other places, but the numbers are completely useless)