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

task_system and notification_queue doesn't work with move only lambda #59

Closed
EugenCazacu opened this issue Jun 22, 2017 · 3 comments
Closed
Milestone

Comments

@EugenCazacu
Copy link

When the operator() of the task_system is instantiated with a move only lambda, the notification queue tries to move the lambda into an std::function object in the dequeue of the notification_queue. std::function is by definition movable, this is turn generates a compilation error for such instantiations of the std::function.

@FelixPetriconi
Copy link
Member

We are aware of the problem and a solutions will be probably available in the next release

@fosterbrereton fosterbrereton added this to the 1.1 milestone Jul 11, 2017
@FelixPetriconi
Copy link
Member

As far as I see, that is fixed in the meanwhile by Sean.

@fosterbrereton
Copy link
Member

This issue has been fixed in master as of the 1.1 release.

nickpdemarco pushed a commit that referenced this issue Aug 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants