Join 2.9 million developers at
Join 2.9 million developers at
LEARNING OBJECTIVES
- Understand initialization order of data members
- Learn all the essential features of Modern C++, including non-static data member initialization and inline variables
- See the latest features of C++17 and C++20 like inline variables and designated initializers
Learning Roadmap
About the CourseThe Basics of Class Data MembersInitialization With ConstructorsCopy and Move ConstructorsDelegating ConstructorsInheriting Constructors and QuizNon-Static Data Members Initialization in C++11NSDMI: Copy and Move ConstructorsC++14 and C++20 Updates to NSDMINSDMI: Advantages and DisadvantagesNSDMI: ExercisesStatic Inline Variables in C++17Designated Initializers in C++20Limitations of New FeaturesSummary of Class Data Members✏️ The Final QuizAppendix: Resources and Links
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
Throughout this course, you will learn all the options to initialize data members in C++ using a simpler syntax and safer code. More specifically, in this mini course you will learn non-static data member initialization, inline variables, designated initializers, and more. Additionally, you’ll see the changes and new techniques from C++11 to C++20 to really round out your understanding.
ABOUT THE AUTHOR
Bartłomiej Filipek
I'm a passionate software developer with more than 14 years of professional experience. I share coding stories at my blog (cppstories.com), I write mostly about C++. In my spare time, I love assembling Lego with my son :) I live in Cracow/Poland.
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

