11
Function Composition and the Pipe Operator in C++23 – With std::expected
(www.cppstories.com)
I found this interesting as someone who really enjoys using the |> operator that's present in a bunch of other languages. I also like how it uses "result or error"-like types to be able to report errors from the pipeline too.
Highly unlikely that I'd ever use this in code I work with personally, but an interesting and fresh take. I definitely learned a few new interesting concepts from reading this!
The center for all discussion and news regarding C++.