Do you know how they work?
Fold Expressions
by Rainer Grimm
From the article:
With fold expressions you can implement the from Haskell known functions
foldl
,foldr
,foldl1
andfoldr1
directly in C++. These four functions successively reduce a list to a single value...
Add a Comment
Comments are closed.