C++ std::apply made usable

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

c++ Play it only once Sam

Just how many times you had admitted to yourself? It was rather foolish to think of globals in C++ as “a simple thing” :) After all: “What could possibly go wrong”tm ? If you know what I am talking about please proceed. Continue reading