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.
Which functional feature can we expect with C++17, for which functional feature can we hope for with C++20? Exactly this question will I concisely answer in this post.
Currently are 178 guests and no members online