Overview
Discover the hidden gems of C++20 in this conference talk from C++ on Sea 2023. Explore beyond the big four concepts to uncover valuable features like the spaceship operator for automatic comparison operators, enhanced compile-time programming with consteval and constinit, and safe memory access with std::span. Learn about improvements in time libraries, data formatting with std::format, and thread synchronization using semaphores and barriers. Delve into the enhanced self-maintaining thread with interruption support and synchronized output streams for clean concurrent write operations. Gain insights from software architect and instructor Rainer Grimm as he unveils these small but powerful additions to the C++20 standard.
Syllabus
Intro
The Small Pearls
Comparison Operator
Examples
Threeway comparison operator
Aggregate initialization
Constable
Constant
Static initialization
Templates
Span
Container Improvements
Special Functions
Calendar Time Zone
Local Time
Winter Time
Home of You
semaphores
Cooperative interruption
Stop requests
Taught by
cpponsea