c++ how to handle two param packs — lambda solution

The requirement is to be able to handle two-parameter packs in the same time.  Just to be sure we are on the same page, using one parameter pack call, on a single c++ function, looks like this:

Continue reading “c++ how to handle two param packs — lambda solution”

C++ modern lambda powering a modern matrix

So little C++ so much good!
So little C++ so much good!

The purpose of this post is to show and explain a bit more about practical usage of  “lambda power”.  This time in developing a light, fully functional, fast, and hopefully  not that often seen, matrix creation utility. Functional programming style.

GitHub gist is here.

Continue reading “C++ modern lambda powering a modern matrix”