In a previous article, “Visiting Variants Using Lambdas – Part 1,” we explored a technique leveraging boost::hana to perform variant visitation using lambdas without defining …
Visiting Variants Using Lambdas – Part 2

Program in C++ from basic to expert!
In a previous article, “Visiting Variants Using Lambdas – Part 1,” we explored a technique leveraging boost::hana to perform variant visitation using lambdas without defining …
C++ remains one of the leading programming languages in game development despite the emergence of new technologies and languages. Its flexibility, performance, and extensive ecosystem …
Camomilla is a script designed to simplify error messages produced by GCC and Clang, making them more readable and manageable. It achieves this by applying …
Not participating in the hype around Wordle seemed wrong, and what better way to do it than to create it cleanly at compile time in …
Even though std::visit requires an overloaded callable object as its first argument, it is possible to create such an object directly at the call site. …
By now it should be (hopefully) widely known that the term “zero-cost abstractions” is a misnomer. Although, to be clear, it’s more of an unfortunate …
Passing functions to other functions is a powerful tool that allows you to create flexible and modular code. In C++, you can do this in …
The modern C++ language standard is constantly evolving, offering new features for programmers. One of the important proposals related to memory management is the P0792R1 …
C++ has been evolving for several decades, and with each new standard the language gets improvements that make the code more reliable, productive and convenient. …
In one of my previous articles, “compile-time repeat & noexcept-correctness”, I looked at the design and implementation of a function repeat(f) that, when called, expands …