top of page
The Big C++ Blog



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...


constexpr polymorphism
Constexpr polymorphism C++20 introduced many new and exciting features. One of those features is "constexpr polymorphism" Pre-C++20, we...
bottom of page