C++ Logo

liaison

Advanced search

Re: [wg14/wg21 liaison] labels

From: Bjarne Stroustrup <bjarne_at_[hidden]>
Date: Tue, 11 Aug 2020 21:31:08 +0200
What benefits was this supposed to give programmers?

Was the benefits worth the change to almost 50 years practice and
documentation worth it?

Are the old corner cases worse than the new ones?

On 8/11/2020 6:43 PM, Richard Smith via Liaison wrote:
> On Tue, 11 Aug 2020, 09:16 Uecker, Martin,
> <Martin.Uecker_at_[hidden]
> <mailto:Martin.Uecker_at_[hidden]>> wrote:
>
> Am Dienstag, den 11.08.2020, 09:04 -0700 schrieb Richard Smith:
> > On Mon, 10 Aug 2020, 23:37 Uecker, Martin via Liaison, <
> > liaison_at_[hidden] <mailto:liaison_at_[hidden]>> wrote:
> >
> > >
> > > Hi all,
> > >
> > > I recently proposed changes to the C grammar which got
> > > voted into C2X by WG14 (N2508, also see N2496).
> > >
> > > This allows placing of labels everywhere in a compound
> > > statement, even before declarations and at the end
> > > of a block, which was not possible in C so far.
> > >
> > > Example:
> > >
> > > {
> > > start:
> > >   int i;
> > > mid:
> > >   int j;
> > > end:
> > > }
> > >
>

Received on 2020-08-11 14:34:35