|
Boost : |
From: Ivan Matek (libbooze_at_[hidden])
Date: 2022-01-03 03:54:35
On Sun, Jan 2, 2022 at 10:08 PM Helmut Zeisel via Boost <
boost_at_[hidden]> wrote:
> Do you really need a nested array?
>
> Not sure, probably not.
First idea was to just reuse/mimic as much as possible from
boost/std::array, including the syntax (just add more commas and numbers
inside <> to get more dimensions), and also to keep the curly
initialization working.
I never considered using the view you propose, I presume C++23? std::mdspan
is a similar thing, but it obviously does not own the data.
https://github.com/kokkos/mdspan/wiki/A-Gentle-Introduction-to-mdspan
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk