BlogC++Singleton done right in C++In today's post, I like to touch on a controversial topic: singletons. While I think it is best to have a codebase without singletons, the real-world shows me that singletons are [...]C++ InsightsC++ Insights Episode 69: = default and uniform initialization - Best Practice ExplainedI published a new C++ insights episode: = default and uniform initialization - Best Practice Explained. [...]C++C++20s std::source_location in actionIn today's post, I want to address a question I'm getting occasionally when teaching a C++20 class. From the plenty of new features that we got with C++20, one sticks out as [...]C++ InsightsC++ Insights Episode 68: C++20: Making constructors smarter with conditional explicitI published a new C++ insights episode: C++20: Making constructors smarter with conditional explicit. [...]C++C++20s concepts with a forward declared typeIn today's post, I would like to continue talking about forward declared or better incomplete types in C++. [...]trainingSecond Edition: Master Modern C++ - With Me as Your Personal GuideThe first edition sold out fast — and after all the great feedback and success stories, I’m thrilled to open Edition 2 of my special bundle: Programming with C++17 and C++20 [...]C++ InsightsC++ Insights Episode 67: C++23: Why if consteval can make your code betterI published a new C++ insights episode: C++23: Why if consteval can make your code better. [...]C++Forward declaring a type in C++: The good, and the badIn today's post, I would like to shed some light on the implications of forward declaring a type in C++. [...]C++ InsightsC++ Insights Episode 66: How C++23 handles temporary objects in range-based for-loopsI published a new C++ insights episode: How C++23 handles temporary objects in range-based for-loops. [...]C++Efficient C++: The hidden compile-time cost of auto return typesIn today's post, I would like to dive into writing efficient C++ code. As you probably know, one post will not cover this entire topic. For today's post, I like to focus on [...]Posts navigation1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 〉