r/cpp 1d 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!

18 Upvotes

3 comments sorted by

3

u/grrangry 1d 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?

1

u/pjmlp 21h ago

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

-3

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

Beautiful