New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[range.istream.view] Remove constexpr-ness? #6757
Comments
I think some or all
|
Although they can work in some edge cases, these cases are useless and unreasonable in my opinion.
|
This is not an editorial concern, it seems. |
As we all know, it is unreasonable to create
basic_istream
during compile-time. However, the member functions ofbasic_istream_view
are all declared asconstexpr
. I don’t quite understand why?If the intention here is to support
constexpr basic_istream
(which is not unreasonable), then why are almost all the members ofbasic_istream_view::iterator
non-constexpr
except for the constructor? I'm confused by such inconsistency.Would it be more appropriate to remove all
constexpr
qualifiers from this section (althoughend()
can beconstexpr
by its implementation)?Did I miss something?
The text was updated successfully, but these errors were encountered: