You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
The class packaged_task<> doesn't has a copy-constructor, but it can be
moved. But I need a copyable packaged_task which needs only to work with
the object returned by bind(). The bind()-objects are copyable so this
should be possible. How do I write such kind of packaged_task<> on my
own ?
Bonita Montero
unread,
Dec 17, 2020, 9:54:44 AM12/17/20
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
I've just were noticed that there's std::function<>, which does what
I need. But it would be nice to know how such a class is built.