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
The purpose of this post is to show and explain a bit more about the practical usage of C++ “lambda power”. This time in developing a light, fully functional, fast, and hopefully not that often seen, matrix creation utility. Functional programming style.
Update 2021 MAR: The gist version 6 is a major update. Matrix related code does not use the
std:: lib any more.