[PATCH] D48240: Try again to implement a FIFO task queue
Zachary Turner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 18 20:42:24 PDT 2018
zturner added a comment.
In https://reviews.llvm.org/D48240#1136107, @zturner wrote:
> I can't get your suggestion to work, it's very bizarre. It's claiming that I can't even *move* construct a `std::function` because `Task` has a deleted copy constructor.
>
> See for yourself here:
>
> https://godbolt.org/g/x1eCnX
>
> Any ideas?
Hmm... http://en.cppreference.com/w/cpp/utility/functional/function/function
> Type requirements
> -F must meet the requirements of Callable and **CopyConstructible**.
Yuck. Am I out of luck with this method?
https://reviews.llvm.org/D48240
More information about the llvm-commits
mailing list