220 31828 <CANh8DEkdFOYRNoKEDUPxdO-wMaG_CHeFbkou_27NiR9ZxvMwwA@mail.gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: "'Matt Calabrese' via ISO C++ Standard - Future Proposals" <std-proposals@isocpp.org>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: This variable should not be named: an identifier
 (not) to remember
Date: Tue, 28 Mar 2017 13:21:44 -0400
Lines: 94
Approved: news@gmane.org
Message-ID: <CANh8DEkdFOYRNoKEDUPxdO-wMaG_CHeFbkou_27NiR9ZxvMwwA@mail.gmail.com>
References: <985b9b2a-c734-45eb-95f4-db4dc0d309a1@isocpp.org>
 <2752007.h0gmCLmLCc@tjmaciei-mobl1> <CANh-dXm5Bb-w+89ZVMESVqzGEz7yjiQYQp9gVrn8Om1jXuKyfg@mail.gmail.com>
 <6096248.pKJ4QPQkKS@tjmaciei-mobl1>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=94eb2c09351ab3efb7054bcdb14e
X-Trace: blaine.gmane.org 1490721716 25042 195.159.176.226 (28 Mar 2017 17:21:56 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Tue, 28 Mar 2017 17:21:56 +0000 (UTC)
To: "ISO C++ Standard - Future Proposals" <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCGNLO5F34OBBKNX5LDAKGQE42N7BMQ@isocpp.org Tue Mar 28 19:21:51 2017
Return-path: <std-proposals+bncBCGNLO5F34OBBKNX5LDAKGQE42N7BMQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-pg0-f72.google.com ([74.125.83.72])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCGNLO5F34OBBKNX5LDAKGQE42N7BMQ@isocpp.org>)
	id 1csuoO-00055J-L0
	for gclcip-std-proposals@m.gmane.org; Tue, 28 Mar 2017 19:21:40 +0200
Original-Received: by mail-pg0-f72.google.com with SMTP id p20sf110082202pgd.21
        for <gclcip-std-proposals@m.gmane.org>; Tue, 28 Mar 2017 10:21:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :x-original-sender:x-original-authentication-results:reply-to
         :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post
         :list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=+IzXfV0b2R44ohSlanvRm8J7lELXKrkQA/eERpJyNbU=;
        b=dXDorRHO9HRxEFkFwRWay+UEdwPLRT3Fzt/ZaHw+4EGGfn/VOef2uCudg2ajFB7dxD
         L7j88XmjPaCHHzvAqNcN9AYRHlSunbHQx0glD6+UXHpjTN7lX9RUQSXPxPAYvGK2uhyb
         +7K8l84ZpqJtcUAXkvRHfwyFKKXflASotM1Mm6jPqGXWbAFDbJoavstHEcyZM3C0aoXy
         bMXfj3zy7kzTjmbiTNLBpwOHutebi6CvOUnayt/fuRGSI6cFrJdYfWSj/xtpXQ6P4iWK
         usQdlUrv4Pz5+LEWTQWbQESgIbPDQtTLVS2n1BlDS5zLqOqz6Okt2cJym3y0iArJ+A8N
         brrg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:in-reply-to:references:from:date
         :message-id:subject:to:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=+IzXfV0b2R44ohSlanvRm8J7lELXKrkQA/eERpJyNbU=;
        b=Rct+JU2t+CIdpuhuxAO745ssz77ySJasv19Li7QAW5gZPkzv4e7z7rDo3sfd6JMqRI
         D7r6UgCWbzWgJcOy6tT4xG9KanKa6j39lQILQgUXxDfhB7NB2KVKO5xwFlINwnQXXrSI
         luPWiSbQM6vVpW4cXAgakn6AN+OJkZ1ZNda4ZYqI0afj4Fc90BG7TVDwE2FrewUEZ5ih
         RHqmuvB2jOkk/lidwh8m8AabKVhQgayegFXUhb1CJse3kV0H6L5Q068GWKU+njQirLak
         nffMJuF3aLr1NEeCdhl90lrf9tFW/jhGnz6CLM8EHHE/eSbUaQr0K9XqsnVLFCwXWWiv
         MWFQ==
X-Gm-Message-State: AFeK/H086Tkb71rD/674GpUooH6ZorU486O8cxsEOtr4xaXqBFnYLnpXFb0gdcxt/lleOg==
X-Received: by 10.98.0.7 with SMTP id 7mr886552pfa.29.1490721706484;
        Tue, 28 Mar 2017 10:21:46 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.157.7.18 with SMTP id 18ls567688ote.1.gmail; Tue, 28 Mar 2017
 10:21:45 -0700 (PDT)
X-Received: by 10.157.44.74 with SMTP id f68mr2395925otb.193.1490721705653;
        Tue, 28 Mar 2017 10:21:45 -0700 (PDT)
Original-Received: from mail-oi0-x229.google.com (mail-oi0-x229.google.com. [2607:f8b0:4003:c06::229])
        by mx.google.com with ESMTPS id i11si2431622ota.216.2017.03.28.10.21.45
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Tue, 28 Mar 2017 10:21:45 -0700 (PDT)
Received-SPF: pass (google.com: domain of calabrese@google.com designates 2607:f8b0:4003:c06::229 as permitted sender) client-ip=2607:f8b0:4003:c06::229;
Original-Received: by mail-oi0-x229.google.com with SMTP id o67so32804607oib.1
        for <std-proposals@isocpp.org>; Tue, 28 Mar 2017 10:21:45 -0700 (PDT)
X-Received: by 10.202.242.5 with SMTP id q5mr16982281oih.138.1490721705261;
 Tue, 28 Mar 2017 10:21:45 -0700 (PDT)
Original-Received: by 10.74.157.69 with HTTP; Tue, 28 Mar 2017 10:21:44 -0700 (PDT)
In-Reply-To: <6096248.pKJ4QPQkKS@tjmaciei-mobl1>
X-Original-Sender: calabrese@google.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@google.com;       spf=pass (google.com: domain of
 calabrese@google.com designates 2607:f8b0:4003:c06::229 as permitted sender)
 smtp.mailfrom=calabrese@google.com;       dmarc=pass (p=REJECT sp=REJECT
 dis=NONE) header.from=google.com
X-Original-From: Matt Calabrese <calabrese@google.com>
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Google-Group-Id: 399137483710
List-Post: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:31828
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/31828>

--94eb2c09351ab3efb7054bcdb14e
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Tue, Mar 28, 2017 at 1:39 AM, Thiago Macieira <thiago@macieira.org>
wrote:

> On segunda-feira, 27 de mar=C3=A7o de 2017 15:16:58 PDT 'Jeffrey Yasskin'=
 via
> ISO C
> ++ Standard - Future Proposals wrote:
> > > Just remember that there are already existing codebases using __ as
> > > identifier
> > > or macro names.
> >
> > They're not allowed. "_" is ok outside of the global namespace, but "__=
"
> is
> > reserved by [lex.name].
>
> I know it is.
>
> And yet it's in use.
> https://github.com/v8/v8/blob/master/src/x64/codegen-x64.cc#L33


If we are afraid to break people who use explicitly reserved identifiers,
then I think we'd be making a huge mistake. I agree that we should always
minimize breaking people when it makes sense and I know that people draw
the line at different places, but we should at least be able to make use of
an identifier that has been reserved since the initial standard.

--=20
You received this message because you are subscribed to the Google Groups "=
ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp=
..org/d/msgid/std-proposals/CANh8DEkdFOYRNoKEDUPxdO-wMaG_CHeFbkou_27NiR9ZxvM=
wwA%40mail.gmail.com.

--94eb2c09351ab3efb7054bcdb14e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On T=
ue, Mar 28, 2017 at 1:39 AM, Thiago Macieira <span dir=3D"ltr">&lt;<a href=
=3D"mailto:thiago@macieira.org" target=3D"_blank">thiago@macieira.org</a>&g=
t;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0=
 .8ex;border-left:1px #ccc solid;padding-left:1ex">On segunda-feira, 27 de =
mar=C3=A7o de 2017 15:16:58 PDT &#39;Jeffrey Yasskin&#39; via ISO C<br>
<span class=3D"">++ Standard - Future Proposals wrote:<br>
&gt; &gt; Just remember that there are already existing codebases using __ =
as<br>
&gt; &gt; identifier<br>
&gt; &gt; or macro names.<br>
&gt;<br>
&gt; They&#39;re not allowed. &quot;_&quot; is ok outside of the global nam=
espace, but &quot;__&quot; is<br>
&gt; reserved by [<a href=3D"http://lex.name" rel=3D"noreferrer" target=3D"=
_blank">lex.name</a>].<br>
<br>
</span>I know it is.<br>
<br>
And yet it&#39;s in use.<br>
<a href=3D"https://github.com/v8/v8/blob/master/src/x64/codegen-x64.cc#L33"=
 rel=3D"noreferrer" target=3D"_blank">https://github.com/v8/v8/blob/<wbr>ma=
ster/src/x64/codegen-x64.cc#<wbr>L33</a></blockquote><div><br></div><div>If=
 we are afraid to break people who use explicitly reserved identifiers, the=
n I think we&#39;d be making a huge mistake. I agree that we should always =
minimize breaking people when it makes sense and I know that people draw th=
e line at different places, but we should at least be able to make use of a=
n identifier that has been reserved since the initial standard.</div></div>=
</div></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/CANh8DEkdFOYRNoKEDUPxdO-wMaG_CHeFbkou=
_27NiR9ZxvMwwA%40mail.gmail.com?utm_medium=3Demail&utm_source=3Dfooter">htt=
ps://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CANh8DEkdFOYRNoKE=
DUPxdO-wMaG_CHeFbkou_27NiR9ZxvMwwA%40mail.gmail.com</a>.<br />

--94eb2c09351ab3efb7054bcdb14e--

.
