Overview
Explore the evolution of C++ programming techniques in this comprehensive conference talk from ACCU 2023. Compare 'Classic C++' and 'Modern C++' approaches to solving programming tasks, examining their strengths and weaknesses. Delve into topics such as readability, error handling, and performance implications of different coding styles. Learn about the trade-offs involved in adopting newer language features and how they replace existing idioms. Gain insights into best practices for expressing intent, managing code complexity, and optimizing for maintainability. Discover how to leverage modern C++ features like auto, concepts, and spans while understanding their impact on code design and execution.
Syllabus
Introduction
History of C
Lessons from C23
For Loop
Gotos
Auto
Reverse
Multiply
STL Iterator
Generic Iterator
AutoItem
AutoRef
Sean Parent
Accumulation
Summary
constraining templates
Vector events
Standenableif
Concepts
Error Messages
Using a Concept
Advantages
Streaming
Logging
StressStream
InputStream
OStringStream
STDmove
Fixed Buffer
Span Stream
I Span Stream
I Span Stream Summary
Taught by
ACCU Conference