Making C++ Pipes Compatible with STL Algorithms
▻https://www.fluentcpp.com/2019/08/16/making-c-pipes-compatible-with-stl-algorithms
As we saw in the previous post, the Smart output iterators are now called Pipes. Pipes allow to write this kind of code: [crayon-5d5608bf19f52897501255/] Which has the plumbing equivalent of this: However, like we required of smart output iterators, we still want pipes to have the same integration with STL algorithms, as output iterators: [crayon-5d5608bf19f5e457324119/] […]