3 Jan
2022
3 Jan
'22
3:54 a.m.
On Sun, Jan 2, 2022 at 10:08 PM Helmut Zeisel via Boost < boost@lists.boost.org> 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