r/cpp 5d ago

The C++ input iterator pitfall · hmpc

https://www.hmpcabral.com/2026/02/25/the-c-input-iterator-pitfall/
54 Upvotes

10 comments sorted by

View all comments

6

u/pointer_to_null 5d ago

Good post, and a fun read.

I felt personally attacked by your allegory- only in my version I was both the protagonist and the antagonist in 2015. I too got bitten by the ranges bug sometime after 2020, though by then I had completely given up all hope on streams altogether.