Standard async/await and C++

JavaScript, Python:

  • async: Make a promise (future)
  • await: Wait for the promise

Similar concept in C++:

  • future: Make a promise (future)
  • co_await: Wait for the promise

Another concept in C++:

  • std::async: Make a promise (future) in a thread
  • .wait(): Wait for the thread to finish(?)

You'll only receive email when they publish something new.

More from 19331933
All posts