4 ms·
Can you point to better alternate ways or idioms?
by stargrazer 5y ago
Can you point to better alternate ways or idioms?
- MontagFTB 5y agostlab has a task type that works around a couple of these issues: https://stlab.cc/libraries/concurrency/task/task/ https://stlab.cc/libraries/concurrency/task/task/
- MauranKilom 5y agoIt's possible to write something like `std::unique_function` (which uniquely owns the stored callable and can be moved but not copied). That's often preferable for storing functors. Example: https://github.com/facebook/folly/blob/main/folly/docs/Function.md https://github.com/facebook/folly/blob/main/folly/docs/Funct...
- jjtheblunt 5y ago(joke) : Common Lisp