The purpose of this post is to show and explain a bit more about 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.
The other day, a C++ student approached me on-line, while he researched some tiny framework of mine. In his own words he”bumped into this problem”. For some reason, he still uses Visual Studio 2017 IDE. Annoyingly he had an image, not a source code, to prove the problem. Sigh.