C++23: auto(x) and decay copy

Once I first noticed auto I assumed that woah, not so quick, how am I going to know the kind of my variables? Then I began to know that auto helps in so many alternative methods. It helps take away the muddle, take into consideration iterator declarations! It removes code duplication, simply take into consideration […]

C++23: Narrowing contextual conversions to bool

Within the earlier article discussing new language options of C++23, we discussed if consteval. At present, we’ll barely talk about if constexpr and likewise static_assert. Andrzej KrzemieĊ„ski proposed a paper to make life a bit simpler by permitting a bit extra implicit conversions. Permitting a bit extra narrowing in some particular contexts. A fast recap […]