C++ Logo

STD-PROPOSALS

Advanced search

Subject: Re: [std-proposals] Fixing C-style arrays
From: Maciej Cencora (m.cencora_at_[hidden])
Date: 2020-03-12 18:14:24


And that's exaclty what I propose to deprecate in C++23.

pt., 13 mar 2020 o 00:09 Lyberta via Std-Proposals <
std-proposals_at_[hidden]> napisał(a):

> 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.
>
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
>



STD-PROPOSALS list run by herb.sutter at gmail.com

Standard Proposals Archives on Google Groups