The future of std::task?


#1

Looking at the std::task documentation, it links to tracking issue 50547. That tracking issue is for async/await, a separate RFC. As far as I can tell, the current implementation of std::task is according to RFC 2418, however that RFC has been postponed. What is the correct reference for the std::task implementation? Is it RFC 2418? And where is the actual tracking issue for std::task?


#2

std::task does not currently have an RFC of its own. The current implementation is seen as using the async/await RFC as a motivating eRFC. However, there are plans afoot to submit a new RFC to nail down the proposed API in the near future (@aturon and @cramertj may have more details if you want them), once that’s merged I’d expect a new tracking issue for that RFC and the links to be updated to it.