On Mon, 18 Mar 2024 at 14:21, Breno Guimarães via Std-Proposals
<std-proposals@lists.isocpp.org> wrote:
>
> What do you mean by "However it would be further from 2-dimensional arrays." ? I mean, do we want it to be closer to 2-dimensional arrays?
I assume the suggestion is that it would be confusing for matrix[x,y]
to return an element of the matrix, but str[i,j] to return a slice of
the string. It would be using the same syntax for two different
things.
--
Std-Proposals mailing list
Std-Proposals@lists.isocpp.org
https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals