Simple C++20 input and output iterators
Sometimes I find myself rewriting a snippet often enough that I realize
I should just blog it; this is one of those times.
Here’s a simple way to type-erase arbitrary sources and sinks
into C++20 input iterators and output iterators.
Read in full here:
This thread was posted by one of our members via one of our news source trackers.