Tag: modern C++
All the articles with the tag "modern C++".
-
C++ auto Keyword Explained: Type Deduction for Beginners
Learn how the C++ auto keyword works, when to use type deduction, and how auto makes code cleaner without sacrificing type safety. Beginner-friendly guide.
-
C++ const vs constexpr: What's the Difference?
C++ const vs constexpr: learn the difference between runtime and compile-time constants, when to use each, and how constexpr functions work, with examples.
-
C++ Design Patterns: Singleton, Factory & Observer
Learn the most important C++ design patterns with practical examples. Covers Singleton, Factory, and Observer patterns with modern C++ implementations.
-
C++ Smart Pointers: unique_ptr & shared_ptr Guide
Learn how C++ smart pointers work — unique_ptr, shared_ptr, and weak_ptr — with clear examples showing how they manage memory and prevent leaks for you.