The Daily C++
1.83K subscribers
10 photos
2 files
596 links
The best channel about C++ News!
Every day a lot of news!

Send your project/repo/guide/tutorial to @dailycppbot
Download Telegram
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."

https://www.modernescpp.com/index.php/fold-expressions
Forwarded from The Daily C++
Send your project/repo/guide/tutorial to @dailycppbot (the bot can't reply to you, and don't send spam)