-
Notifications
You must be signed in to change notification settings - Fork 444
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
views::generate doesn't work with views::chunk_by #1802
Comments
|
Thank you! |
Generating a forward range would mean having a regular invocable that returns the same value based on an index. |
Unfortunately I only have an input range. It seems the question should really be why chunk_by needs a forward range? |
I'm looking at the C++ standard library implementation. |
The following code fails to compile but works as expected if I use iota() instead of generate()
Is this to be expected?
How can I use views::chunk_by with views::generate ?
The text was updated successfully, but these errors were encountered: