25 Mar 2025
I just remembered to re-emphasize the following:
Inheritance for code reuse inherits new bugs after parent renewal Continue reading
I just remembered to re-emphasize the following:
Inheritance for code reuse inherits new bugs after parent renewal Continue reading
Do not use static_assert
to constrain the types you are developing. Huh? What does that even mean? Why not? Is that even an issue?
Clarifications added, ommissions and typos fixed. Importantly Godbolt implementation was added. Continue reading
std::apply
is a typical example of those numerous standard C++ std lib types begging to be made comfortable. Not just usable.
In its raw form, it requires a lot of typing. And a lot of typing means a lot of bugs. Made by the team of course, not you. So, I made one little proxy type aka “wrapper” that is really simple but makes std::apply
usage, much more palatable. And safe. Continue reading