Join 2.9 million developers at
Join 2.9 million developers at
LEARNING OBJECTIVES
- An understanding of C++20 features and lambda expressions
- A working knowledge of STL containers and algorithms
- An understanding of advanced string streams and formatting
- A working knowledge of concurrency and parallelism techniques
Learning Roadmap
2.
New C++20 Features
New C++20 Features
Walk through significant new C++20 STL features like concepts, ranges, and the format library.
Chapter OverviewFormat Text with the New Format LibraryUse Compile-Time Vectors and Strings with ConstexprSafely Compare Integers of Different TypesUse the Spaceship Operator <=> for Three-Way ComparisonsEasily Find Feature Test Macros with the <version> HeaderCreate Safer Templates with Concepts and ConstraintsAvoid Re-Compiling Template Libraries with ModulesCreate Views into Containers with RangesQuiz: C++20 Features
3.
General STL Features
General STL Features
8 Lessons
8 Lessons
Examine new C++20 STL features improving code simplicity, readability, and safety.
4.
STL Containers
STL Containers
15 Lessons
15 Lessons
Grasp the fundamentals of STL containers, including optimization, access, sorting, and specialized use cases.
5.
Compatible Iterators
Compatible Iterators
12 Lessons
12 Lessons
Solve problems in creating and utilizing C++ iterators with STL compatibility and custom functionality.
6.
Lambda Expressions
Lambda Expressions
11 Lessons
11 Lessons
Tackle lambda expressions in C++20 to enhance functional programming, efficiency, and code versatility.
7.
STL Algorithms
STL Algorithms
12 Lessons
12 Lessons
Build on STL algorithms to enhance code readability, efficiency, and data manipulation.
8.
Strings, Streams, and Formatting
Strings, Streams, and Formatting
13 Lessons
13 Lessons
Break down C++20 string management, formatting, and text handling, enhancing efficiency and flexibility.
9.
Utility Classes
Utility Classes
14 Lessons
14 Lessons
Explore key utility classes in C++ for optional values, type safety, time, and memory management.
10.
Concurrency and Parallelism
Concurrency and Parallelism
11 Lessons
11 Lessons
Work your way through concurrency and parallelism with C++20, threads, async, mutex, and condition variables.
11.
Using the File System
Using the File System
9 Lessons
9 Lessons
Grasp the fundamentals of using the C++20 STL filesystem library for cross-platform file operations.
12.
A Few More Ideas
A Few More Ideas
10 Lessons
10 Lessons
Dig deeper into advanced C++20 STL applications, including tries, producer-consumer management, custom algorithms, and data manipulation techniques.
Certificate of Completion
Showcase your accomplishment by sharing your certificate of completion.
Complete more lessons to unlock your certificate
Developed by MAANG Engineers
ABOUT THIS COURSE
In this course, you’ll master the art of leveraging the latest features of C++20 and harness the full potential of the Standard Template Library (STL).
You’ll begin by learning about general STL features and containers for exploring lambda expressions, algorithms, and string streams. You will comprehensively learn and understand the STL’s power. Then, you’ll get hands-on coding experience with utility classes, concurrency and parallelism, and manipulating file systems.
By the end of the course, you’ll be equipped with the skills to write modern and efficient code. You will be a confident C++ programmer, proficient in utilizing the STL to solve complex problems and elevate your programming endeavors.
ABOUT THE AUTHOR
Packt
A tech learning platform that provides online courses, eBooks, videos, and other resources to help individuals and organizations stay ahead of emerging and popular technologies.
Trusted by 2.9 million developers working at companies
A
Anthony Walker
@_webarchitect_
E
Evan Dunbar
ML Engineer
S
Software Developer
Carlos Matias La Borde
S
Souvik Kundu
Front-end Developer
V
Vinay Krishnaiah
Software Developer
Built for 10x Developers
No Passive Learning
Learn by building with project-based lessons and in-browser code editor


Personalized Roadmaps
The platform adapts to your strengths & skills gaps as you go


Future-proof Your Career
Get hands-on with in-demand skills


AI Code Mentor
Write better code with AI feedback, smart debugging, and "Ask AI"




MAANG+ Interview Prep
AI Mock Interviews simulate every technical loop at top companies


Free Resources