Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore C++20's coroutines in this beginner-friendly conference talk from CppCon 2022. Start with the basics of normal functions before delving into coroutines and their various customization points. Learn about the new keywords co_await, co_yield, and co_return, and understand how to write a generator for coroutines in the absence of STL support in C++20. Discover the distinction between cooperative and preemptive multitasking, and grasp why coroutines eliminate the need for locks. By the end of this one-hour presentation, gain a solid understanding of coroutines and their practical applications in C++ programming.