-
Notifications
You must be signed in to change notification settings - Fork 453
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
generate seems broken with move-only return types #905
Comments
FWIW, I can work around this with something like this:
|
FYI, the reason that your workaround works is because |
Cool, thanks for the clarification and the quick fix! I was trying something similar but couldn't manage to get it quite right. |
I haven't been able to get anything that uses this view to compile:
godbolt
The issue seems to revolve around the cached value stored by
view::generate_n
(andview::generate
).To me this seems like an important use case, but hopefully I'm just misunderstanding something!
The text was updated successfully, but these errors were encountered: