BlogC++ InsightsC++ Insights Episode 40: The traps of returning referencesI published a new C++ insights episode: The traps of returning references. [...]C++Visiting a std::variant safelyI assume you all know C++17's type-safe replacement for unions: std::variant. Here you look at a great replacement for unions as it knows the active type and destructs that object [...]C++ InsightsC++ Insights Episode 39: Recursion-free templates with C++17s fold expressionsI published a new C++ insights episode: Recursion-free templates with C++17s fold expressions. [...]C++constexpr functions: optimization vs guaranteeThe feature of constant evaluation is nothing new in 2023. You have constexpr available since C++11. Yet, in many of my classes, I see that people still struggle with constexpr [...]C++ InsightsC++ Insights Episode 38: User-provided vs. user-declaredI published a new C++ insights episode: User-provided vs. user-declared. [...]C++ InsightsHappy 5th anniversary C++ InsightsThis year we celebrate the 5th anniversary of C++ Insights! [...]C++Evaluation order in C++ and uniform initializationIn today's post, you learn or get reminded about an interesting benefit of uniform initialization. [...]C++ InsightsC++ Insights Episode 37: C++20's range-based for-loop with initializerI published a new C++ insights episode: C++20's range-based for-loop with initializer. [...]C++push_back vs emplace_back: When to use whatIn today's post, I like to address a topic already discussed by others. However, in classes or code reviews, I still see the confusion. That's why I want to highlight this once [...]C++ InsightsC++ Insights Episode 36: Coroutine customization pointsI published a new C++ insights episode: Coroutine customization points. [...]Posts navigation〈 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 〉