November 25, 2018
RangeOf: A better span
I don’t like span.
Since that article was posted, the committee improved span quite a bit by removing operator== and making it’s size() consistent with that of vector after a lot of discussions. And I mean a lot.
What is span: 30 seconds refresher If you have N T laid out contiguously in memory, you can build a span<T> over them. Span being a value type you can move it around, copy it and so forth.
Read more