Skip to content
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

P2325R3 removes requirement std::default_initializable from std::ranges::view #403

Closed
7 tasks done
marehr opened this issue Oct 6, 2021 · 0 comments
Closed
7 tasks done

Comments

@marehr
Copy link
Member

marehr commented Oct 6, 2021

Description

Some of our views still assume std::default_initializable on the given view, but in fact most of them don't need that requirement.

This needs to be tackled as P2325R3 removes the default constructor from std::views::ref_view (e.g. returned by std::views::all(some_range)) and gcc-12 implements that behaviour, rendering some of our views unusable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants