A small kitten dies every time C++ is used like its 1995.
void (*fn)(void*, T) = nullptr;
And another one dies every time you need to step through a call to std::function. Whatever you do, the kittens are never going to escape.
Unless you mutter the magic incantation "C compatibility" while doing it
did nullptr exist in c++ back in 1995 - i can't remember
And another one dies every time you need to step through a call to std::function. Whatever you do, the kittens are never going to escape.