From Jason Turner
Watch on YouTube

Summary

This episode provides a concise overview of the most significant C++20 features, including designated initializers that allow specifying struct/class member values by name, the <=> spaceship operator for generating comparison operators, modules for better code organization, concepts for constraining template parameters, and expanded constexpr support. Jason also highlights the new formatting library, source_location for compile-time code information, chrono enhancements with calendar support, ranges for more elegant container operations, span for working with contiguous memory, and threading improvements like jthread and semaphores.

Resources

Tags