Re: [09/23] Add a cut-down version of std::span (array_slice)

2022-08-16 Thread Richard Sandiford via Gcc-patches
Richard Biener writes: > On Wed, Aug 10, 2022 at 6:04 PM Martin Jambor wrote: >> >> Hello, >> >> I have one more question/comment about array_slice. Ever since I >> started to use it... >> >> On Fri, Nov 13 2020, Richard Sandiford via Gcc-patches wrote: >> > A later patch wants to be able to pas

Re: [09/23] Add a cut-down version of std::span (array_slice)

2022-08-10 Thread Richard Biener via Gcc-patches
On Wed, Aug 10, 2022 at 6:04 PM Martin Jambor wrote: > > Hello, > > I have one more question/comment about array_slice. Ever since I > started to use it... > > On Fri, Nov 13 2020, Richard Sandiford via Gcc-patches wrote: > > A later patch wants to be able to pass around subarray views of an > >

Re: [09/23] Add a cut-down version of std::span (array_slice)

2022-08-10 Thread Martin Jambor
Hello, I have one more question/comment about array_slice. Ever since I started to use it... On Fri, Nov 13 2020, 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

Re: [09/23] Add a cut-down version of std::span (array_slice)

2022-08-03 Thread Richard Sandiford via Gcc-patches
Martin Jambor writes: > Hi Richard, > > On Fri, Nov 13 2020, 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 ve

Re: [09/23] Add a cut-down version of std::span (array_slice)

2022-08-03 Thread Martin Jambor
Hi Richard, On Fri, Nov 13 2020, 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. thanks a lot for

Re: [09/23] Add a cut-down version of std::span (array_slice)

2020-11-30 Thread Jeff Law via Gcc-patches
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

[09/23] Add a cut-down version of std::span (array_slice)

2020-11-13 Thread Richard Sandiford via Gcc-patches
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. gcc/ * vec.h (array_slice): New