std::experi...ncurrencyTS)(3)
πΈ NAME πΈ
okay so bestie, we're in the C++ Standard Libary manual and this page is std::experimental::packaged_task(concurrencyTS) β std::experimental::packaged_task(concurrencyTS) π
β¨ Synopsis β¨
Defined in header <experimental/future> π¦
template< class > class packaged_task; //not defined (1) (concurrency TS)
template< class R, class ...Args > (2) (concurrency TS)
class packaged_task<R(Args...)>;
so like, look at (1): it literally says //not defined, okay? not defined, periodt π. and (2) is the concurrency TS template with R and Args..., and then there's the actual class line: class packaged_task<R(Args...)>;. the template declarations are marked (concurrency TS), iykyk β¨
std::experimental::concurrency_v1::packaged_task is literally a modified version of std::packaged_task provided by the concurrency TS that works with std::experimental::future. no cap π«Ά
The only change from std::packaged_task is that the get_future() member function returns a std::experimental::future<R>. that's the whole plot twist, bestie π
π₯
source/version/date sign-off: huge shoutout to http://cppreference.com for the source, version/date 2024.06.10, and this iconic page std::experi...ncurrencyTS)(3) ππ
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms