C++
Why is C++23 called 23?
First, if you haven't heard the good news, C++23 was finally published by ISO. Looking at how I (and others) name this C++ standard raises the question: Why call it 23 when ISO [...]
C++
unique_ptr and the pointer to implementation idiom
Last time, I wrote about unique_ptr and PImpl, demonstrating why you can't use a unique_ptr for PImpl. This time, I'd like to show you how you can make unique_ptr work with PImpl. [...]
C++
Smart pointers and the pointer to implementation idiom
A post I wrote back in 2023 When an empty destructor is required resulted in feedback that I'd like to address in today's post. [...]
C++
Understanding the inner workings of C++ smart pointers - The shared_ptr
After last months Understanding the inner workings of C++ smart pointers - The unique_ptr with custom deleter you're curious about how the shared_ptr is implemented? Great! Here [...]
C++
Understanding the inner workings of C++ smart pointers - The unique_ptr with custom deleter
Let's continue where I left off last time. You've seen a simple implementation of a unique_ptr in Understanding the inner workings of C++ smart pointers - The unique_ptr. Now, [...]
C++
Understanding the inner workings of C++ smart pointers - The unique_ptr
Have you always wondered how the two smart pointers unique_ptr and shared_ptr work internally? Then, this series might give you a better understanding. [...]
C++
Calling a C++ member function with a null object
In today's post, I'll show you what happens if you call a member function on a null object. [...]
C++
Exploring the impact of top-level cv-qualifiers on type-deduction
In today's post, I will continue where I left off with last month's post Understanding the role of cv-qualifiers in function parameters. This time, I will focus on type deduction. [...]
C++
Understanding the role of cv-qualifiers in function parameters
In today's post, I will continue where I left off with last month's post C++ top-level qualifiers explained. This time, I will focus on function parameters. [...]
C++
Level Up Your C++ Skills: Essential Tools and Resources for Effective Practice
Today, I want to share my C++ resources page with you: andreasfertig.com/cpp-resources/. [...]