3 ms·
Of course it exists in C++, and has done since before Rust even existed. Syntax is usually `vector | map | collect`.
by mgaunard 4y ago
Of course it exists in C++, and has done since before Rust even existed.
Syntax is usually `vector | map | collect`.
- sph 4y agoWow, my C++ knowledge is even worse than I thought. I didn't know it had "pipelines". https://en.cppreference.com/w/cpp/ranges https://en.cppreference.com/w/cpp/ranges
- maleldil 4y agoIt's not "pipelines". It's just an overloaded bitwise-or operator.
- strager 4y ago> Of course it exists in C++, and has done since before Rust even existed. Not in C++'s standard library until C++20.
- mgaunard 4y agoThings don't need to be standardized in an ISO document to exist and be readily available. I remember using it as early as 2008.