C++ Logo


Advanced search

Re: [wg14/wg21 liaison] Multidimensional subscript operator

From: Jₑₙₛ Gustedt <jens.gustedt_at_[hidden]>
Date: Fri, 30 Apr 2021 10:08:22 +0200

on Fri, 30 Apr 2021 10:47:05 +0300 you (Ville Voutilainen via Liaison
<liaison_at_[hidden]>) wrote:

> > Then, of course, in C there are also arrays of run-time bound
> > which are extremely useful for bounds checking and multi-dimensional
> > array (some C++ compilers have them as extensions). Everything
> > proposal have seen for C++ so far which tries to address this
> > problem in a different way seems to be inferior to me.
> Right, attempts to introduce VLAs into C++ have failed.

I don't know what is right about this. They "have not failed" in a
passive way, but people have actively decided to make them fail.

I think, Martin was trying to tell you that VM types have merits and
are particularly easy to use in function interfaces, are very
efficient and allow for bounds checking. The way that VLAs are
referred to in C++ documents (for example the document that originated
this thread) shows that they are not completely understood in the C++

My personal motivation in this mailing list and the SG is to overcome
long time hostilities between the two communities and to listen to
the other side.


:: INRIA Nancy Grand Est ::: Camus ::::::: ICube/ICPS :::
:: ::::::::::::::: office Strasbourg : +33 368854536   ::
:: :::::::::::::::::::::: gsm France : +33 651400183   ::
:: ::::::::::::::: gsm international : +49 15737185122 ::
:: http://icube-icps.unistra.fr/index.php/Jens_Gustedt ::

Received on 2021-04-30 03:08:33