[09/23] Add a cut-down version of std::span (array_slice)
Mon Nov 30 19:56:16 GMT 2020
On 11/13/20 1:15 AM, Richard Sandiford via Gcc-patches wrote:
> A later patch wants to be able to pass around subarray views of an
> existing array. The standard class to do that is std::span, but it's
> a C++20 thing. This patch just adds a cut-down version of it.
> The intention is just to provide what's currently needed.
> * vec.h (array_slice): New class.
OK. Obviously we can add more capabilities as we need them.
More information about the Gcc-patches