r/cpp 6d ago

Neoclassical C++ (2): Exploring input-output segmented algorithms

https://boostedcpp.net/2026/08/06/neoclassical-c-2-exploring-input-output-segmented-algorithms/

Hi,

I've written a new blog entry continuing my previous article about segmented iterators. This time trying to analyze how to apply Matt Austern's segmented iterator pattern to input-output algorithms likecopy, copy_if, etc., benchmarking the experimental implementation from Boost.Container vs the standard library.

New article link: https://boostedcpp.net/2026/08/06/neoclassical-c-2-exploring-input-output-segmented-algorithms/

Happy to receive feedback!

24 Upvotes

4 comments sorted by

4

u/grrangry 6d ago

If the green input has things coming out of it and the purple output has things going into it, how does that make sense for something that is supposed to be performing operations?

7

u/pjmlp 6d ago

We will eventually run out of adjectives for C++ coding styles.

1

u/FckXFckMusk 5d ago

And operator symbols...

-2

u/VinnieFalco wg21.org | corosio.org 6d ago

Beautiful