More rapid-fire “now write this using lambdas” problem-solution drill with Sumant Tambe:
Fun with Lambdas: C++14 Style (Part 4)
by Sumant Tambe
From the article:
C++14 has a number of features that support functional-style design. By "functional-style" I mean heavy use of higher-order functions (functions that take other functions as arguments). Quite often arguments to the higher-order functions are lambdas (closures, to be precise). With automatic return type deduction for normal functions, writing higher-order function becomes very easy and seamless in C++14...
Add a Comment
Comments are closed.