C++ Logo

std-proposals

Advanced search

Re: Fixing C-style arrays

From: Lyberta <lyberta_at_[hidden]>
Date: Fri, 13 Mar 2020 02:09:27 +0300
Maciej Cencora via Std-Proposals:
> FYI I am in the camp "fix the problem by fixing the root cause", not in the
> camp "fix the problem by introducing another way of doing it, and not
> really fixing the original problem".
>
> I am not interested in any feedback from the latter camp.

I think the most important part is arrays decaying to pointers and syntax like int[] being accepted.

Remove those 2 and you remove 90% of the bugs.


Received on 2020-03-12 18:12:25