Logo

Blog


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++ Insights

C++ Insights Episode 54: You can't force a move!

I published a new C++ insights episode: You can't force a move!. [...]
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 [...]
Training

Write modern code with features of C++17 and C++20

When you transition from older C++ standards like C++11 or C++14 to the latest C++17 and C++20 it can be a tough journey. It's essential for writing clean and easy-to-maintain [...]
C++ Insights

C++ Insights Episode 53: Mastering C++23: Leveraging if consteval for more constexpr functions

I published a new C++ insights episode: Mastering C++23: Leveraging if consteval for more constexpr functions. [...]
Training

CppCon Academy Workshop

I'm thrilled to let you know that I'll give the workshop "Modern C++: When Efficiency Matters" as part of the CppCon Academy in Aurora, CO. [...]
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++ Insights

C++ Insights Episode 52: The Power of std::is_constant_evaluated(): Elevating Your Constexpr Code

I published a new C++ insights episode: The Power of std::is_constant_evaluated(): Elevating Your Constexpr Code. [...]
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++ Insights

C++ Insights Episode 51: The magic of C++20s std::source_location

I published a new C++ insights episode: The magic of C++20s std::source_location. [...]