-
Notifications
You must be signed in to change notification settings - Fork 5
flatten
: compile error with copy assignment
#3
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
Comments
Well, I've just discovered lambdas and functions are not copy assignable. Wrapping the function in a |
Actually, the best solution is probably to avoid
|
No problem filing bug reports! :) Just no promises that I'll be able to fix them... This is a known (to me) issue that I've run into myself from time to time. If I recall correctly, the reason I used assignment rather than At the time I decided that being able to use |
I think we should use If you tell me what you prefer, I can implement it for you |
I'll need to think about this one -- I don't think allocation should be necessary if we're willing to forego constexpr flatten in C++17 mode, but it would mean adding Leave it with me and I'll see what I can come up with. |
First of all, I know this library is not supposed to be ready for public usage. But I really love the concept, so I had to try it
Of course, I will understand if you do not want to provide support
I am encountering a compile error that I haven't been able to solve. It is easily reproducible. Godbolt link
The text was updated successfully, but these errors were encountered: