Tags: #fold #function
"With fold expressions you can implement the from Haskell known functions foldl, foldr, foldl1 and foldr1 directly in C++. These four functions successively reduce a list to a single value."
http://www.modernescpp.com/index.php/fold-expressions
"With fold expressions you can implement the from Haskell known functions foldl, foldr, foldl1 and foldr1 directly in C++. These four functions successively reduce a list to a single value."
http://www.modernescpp.com/index.php/fold-expressions
Modernescpp
Fold Expressions - ModernesCpp.com