top of page
The Big C++ Blog



Wrapping Up the reinterpret_cast Series: Introducing "Safe Cast" for Safer C++ Code
Hello, C++ enthusiasts! 👋 Today, we're concluding our deep dive into the world of reinterpret_cast in C++. Throughout this series, we’ve...


Uncovering the Hidden Pitfalls of reinterpret_cast in C++
Hello, C++ enthusiasts! In today’s deep dive, we’re going to continue our exploration of the often misunderstood reinterpret_cast and its...


Misusing reinterpret_cast? Probably yes!
Hello, C++ enthusiasts! If you're a seasoned C++ developer, chances are you've come across reinterpret_cast. It's a fundamental tool in...


Smart pointers for overwrite in C++20
Have you ever wondered why we got make_shared_for_overwrite and make_unique_for_overwrite in C++20? Understanding the significance of...


The dreaded comma operator
Hi everyone! Have you ever wondered why the comma operator exists in C++ and how to use it correctly? In my first episode of this series,...


Constexpr function parameters
Hi C++ Fans! Last week I asked you how you would pass a contexper parameter to a function. The problem is that most parameters to a...


C++23's std::mdspan
Today I would like to introduce C++23's std::mdspan; this feature will let us use multi-dimensional spans, e.g., views and slices of our...


<bit> header
Hi C++ Fans. C++20 introduced many exciting and useful changes to C++. In this post, I will show how to calculate the size of a bit...
bottom of page