Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #87407

Re: creating a new local variable after a goto

Path csiph.com!news.mixmin.net!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From Keith Thompson <Keith.S.Thompson+u@gmail.com>
Newsgroups comp.lang.c++
Subject Re: creating a new local variable after a goto
Date Tue, 15 Nov 2022 17:05:48 -0800
Organization None to speak of
Lines 30
Message-ID <87v8nfk8sz.fsf@nosuchdomain.example.com> (permalink)
References <ti7u75$1n58g$1@dont-email.me> <87zge0jumy.fsf@bsb.me.uk> <tiaj4l$20k7r$2@dont-email.me> <tiak1v$20os0$1@dont-email.me> <tiam0c$20k7r$3@dont-email.me> <tiamhu$20u9i$1@dont-email.me> <yMd2L.77214$C8y5.68572@fx07.iad> <38h2L.404269$wLZ8.129177@fx18.iad> <86zgcrd9sr.fsf@linuxsc.com>
MIME-Version 1.0
Content-Type text/plain
Injection-Info reader01.eternal-september.org; posting-host="6f88ab123a4a8d9a574caed605fe06a9"; logging-data="2293794"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19un5ssY97lbj71oGm0dij8"
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock sha1:9Wmbyvf4g1atMLZgVa6fyfnEcYg= sha1:4oiWVQ4hMzJHg7dVaHPR+pUnz5g=
Xref csiph.com comp.lang.c++:87407

Show key headers only | View raw


Tim Rentsch <tr.17687@z991.linuxsc.com> writes:
> Richard Damon <Richard@Damon-Family.org> writes:
>
>> deprecated mean it MIGHT not work under some future Standard.  It is
>> an advanced warning that it might be removed (but no promise that it
>> will).
>
> Deprecated does not mean the same thing as obsolescent.
>
> Declaring a construct deprecated is a statement of intent that
> the construct /will/ be removed at some indefinite time in the
> future.
>
> Declaring a construct obsolescent is meant to serve notice that
> the construct should be avoided if possible because it /may/ be
> removed at some future time.

The C++ standard defines "deprecated" as "Normative for the current
edition of this International Standard, but having been identified as a
candidate for removal from future revisions.  I see no statement of
intent.  (The C standard has a similar definition, but for
"obsolescent".)

The distinction you describe would make sense, but I'd be interested in
seeing a source for it.

-- 
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for XCOM Labs
void Void(void) { Void(); } /* The recursive call of the void */

Back to comp.lang.c++ | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

creating a new local variable after a goto Lynn McGuire <lynnmcguire5@gmail.com> - 2022-10-12 21:47 -0500
  Re: creating a new local variable after a goto Ben Bacarisse <ben.usenet@bsb.me.uk> - 2022-10-13 03:59 +0100
    Re: creating a new local variable after a goto Andrey Tarasevich <andreytarasevich@hotmail.com> - 2022-10-12 20:04 -0700
      Re: creating a new local variable after a goto Ben Bacarisse <ben.usenet@bsb.me.uk> - 2022-10-13 12:23 +0100
    Re: creating a new local variable after a goto Lynn McGuire <lynnmcguire5@gmail.com> - 2022-10-13 21:56 -0500
      Re: creating a new local variable after a goto "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2022-10-13 20:11 -0700
        Re: creating a new local variable after a goto Lynn McGuire <lynnmcguire5@gmail.com> - 2022-10-13 22:45 -0500
          Re: creating a new local variable after a goto "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2022-10-13 20:54 -0700
            Re: creating a new local variable after a goto "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2022-10-13 20:55 -0700
            Re: creating a new local variable after a goto Gawr Gura <gawrgura@mail.hololive.com> - 2022-10-14 04:41 +0000
            Re: creating a new local variable after a goto Ralf Fassel <ralfixx@gmx.de> - 2022-10-14 11:53 +0200
            Re: creating a new local variable after a goto scott@slp53.sl.home (Scott Lurndal) - 2022-10-14 13:48 +0000
              Re: creating a new local variable after a goto Richard Damon <Richard@Damon-Family.org> - 2022-10-14 13:38 -0400
                Re: creating a new local variable after a goto scott@slp53.sl.home (Scott Lurndal) - 2022-10-14 17:53 +0000
                Re: creating a new local variable after a goto Tim Rentsch <tr.17687@z991.linuxsc.com> - 2022-11-15 16:26 -0800
                Re: creating a new local variable after a goto Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2022-11-15 17:05 -0800
          Re: creating a new local variable after a goto Andrey Tarasevich <andreytarasevich@hotmail.com> - 2022-10-14 01:07 -0700
            Re: creating a new local variable after a goto "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2022-10-14 14:32 -0700
          Re: creating a new local variable after a goto Manfred <noname@add.invalid> - 2022-10-15 01:56 +0200
  Re: creating a new local variable after a goto Andrey Tarasevich <andreytarasevich@hotmail.com> - 2022-10-12 19:59 -0700
    Re: creating a new local variable after a goto Lynn McGuire <lynnmcguire5@gmail.com> - 2022-10-13 21:55 -0500

csiph-web