More rapid-fire "now write this using lambdas" problem-solution drill with Sumant Tambe:
by Sumant Tambe
From the article:
Now that we have C++14, it has opened up doors for truly mind-bending uses of lambdas--more specifically--generic lambdas. This blog post is the third installment in the series of "Fun with Lambdas: C++14 Style". Check out part 1 and part 2 if you have not already.
This post is about "monadic tuples"...