220 31863 <B03D71FC-16DD-4717-95B8-375144E17909@gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Alberto Barbati <albertobarbati@gmail.com>
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 23:15:06 +0200
Lines: 63
Approved: news@gmane.org
Message-ID: <B03D71FC-16DD-4717-95B8-375144E17909@gmail.com>
References: <985b9b2a-c734-45eb-95f4-db4dc0d309a1@isocpp.org> <8028901.3vRB6vfJZY@tjmaciei-mobl1> <CAA7YVg3jV_E0mUG77KZ9BLvoS6+GktWTQ3RofMaEgE9uaUbG-A@mail.gmail.com> <22600974.uQoRWN8BZc@tjmaciei-mobl1> <CAA7YVg2peWL4yAEw_Y5+TCwD2SW0nXMcSEqbuLxgw8ikeRUmHg@mail.gmail.com> <B4A84172-03BB-4273-A2B7-9977A9630520@gmail.com> <CAA7YVg2HDNtBfRsCgXCw0zd3DpedRRSQcTwHh7jU-w2w8B8FcQ@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0 (1.0)
Content-Type: multipart/alternative;
	boundary=Apple-Mail-F645762C-F12B-45B6-8906-54B787115742
Content-Transfer-Encoding: 7bit
X-Trace: blaine.gmane.org 1490735724 14133 195.159.176.226 (28 Mar 2017 21:15:24 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Tue, 28 Mar 2017 21:15:24 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCPY5DV6RIMBBXFE5PDAKGQEG7RPMYQ@isocpp.org Tue Mar 28 23:15:19 2017
Return-path: <std-proposals+bncBCPY5DV6RIMBBXFE5PDAKGQEG7RPMYQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-lf0-f69.google.com ([209.85.215.69])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCPY5DV6RIMBBXFE5PDAKGQEG7RPMYQ@isocpp.org>)
	id 1csySE-0001du-Rn
	for gclcip-std-proposals@m.gmane.org; Tue, 28 Mar 2017 23:15:02 +0200
Original-Received: by mail-lf0-f69.google.com with SMTP id s134sf38616163lfe.8
        for <gclcip-std-proposals@m.gmane.org>; Tue, 28 Mar 2017 14:15:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=from:content-transfer-encoding:mime-version:date:subject:message-id
         :references:in-reply-to: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=M/005ftNOnBmN4+PUwui3LZjCyPJM9Mtgm31OmA4Xdc=;
        b=SxRyodA3Zvf1fElTVKUCQTw06szFFcbe+M+t3xmZ4EwEG5nVf4UZENIwC+49rInDgh
         SSaWzcxtwHAopRxE4Y+Wf9pacs3umRVrAlemgmrKzyEvZ+vitRXrMmNL61LRnkWx8MYK
         C7fj97/aT9AoNdseKkdxGYFqrnL4ddo2gMvh/Nn1lDQchZePaIgeW/S23+7/apmodltL
         C3seSHm8MbVR9nfyMYS2GSLsSnyllnB3s/p567pOQKQQVQk9krqEk/+B8+GSfMXXJs3u
         /KrkEbZRopSjOycBpkhhy9eRlRDZ4zMzqh+uu1VJ7wudKCc/9Ib031l49fYq9C+S/aQ0
         VmQw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:from:content-transfer-encoding:mime-version:date
         :subject:message-id:references:in-reply-to: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=M/005ftNOnBmN4+PUwui3LZjCyPJM9Mtgm31OmA4Xdc=;
        b=Qf/cmwkIMpgpqfc97V6VKACHhyWRz+J6s/kmcLAuW0sQlKUsVNIi+lRvftLHU9iV9S
         CRmH9IEKD7tWhRF9CGruCunJnRoFxt0sd58deuOzOEhZwqlbTJoKFAk534s15VoGowYg
         w7hnhVzvVP3kuA21LYbo2LrtDXR58KfgwiSYtdx5g8b0RQv1o7MzL4ugv4rAad1KgDB+
         2ylWgufEuQ45ggCzU/wOyxyGcfGE5i55q4gXpLDxzTKPomK6+zuq8us3n/d4bJ8+Nto6
         HshIUuinLP0wBgvvzq71l55ISymX6fP0Lztac/qvqlELXvH+oKqHPVUeyM/cTJVEfZ64
         Mp6 
X-Gm-Message-State: AFeK/H3GKxvkWeQa7yryO0toPCKSphxNe4vf2RnKZOcHeP4chdiBwkpMxk8av0eT6FhKQg==
X-Received: by 10.25.195.206 with SMTP id t197mr4045954lff.11.1490735709128;
        Tue, 28 Mar 2017 14:15:09 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.28.148.208 with SMTP id w199ls1120509wmd.24.gmail; Tue, 28 Mar
 2017 14:15:08 -0700 (PDT)
X-Received: by 10.28.151.7 with SMTP id z7mr15733533wmd.53.1490735708158;
        Tue, 28 Mar 2017 14:15:08 -0700 (PDT)
Original-Received: from mail-wr0-x243.google.com (mail-wr0-x243.google.com. [2a00:1450:400c:c0c::243])
        by mx.google.com with ESMTPS id d47si3274511wrd.332.2017.03.28.14.15.08
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Tue, 28 Mar 2017 14:15:08 -0700 (PDT)
Received-SPF: pass (google.com: domain of albertobarbati@gmail.com designates 2a00:1450:400c:c0c::243 as permitted sender) client-ip=2a00:1450:400c:c0c::243;
Original-Received: by mail-wr0-x243.google.com with SMTP id p52so21712047wrc.2
        for <std-proposals@isocpp.org>; Tue, 28 Mar 2017 14:15:08 -0700 (PDT)
X-Received: by 10.223.182.148 with SMTP id j20mr51550wre.152.1490735707708;
        Tue, 28 Mar 2017 14:15:07 -0700 (PDT)
Original-Received: from [192.168.178.44] ([151.20.212.10])
        by smtp.gmail.com with ESMTPSA id 94sm6347877wrp.34.2017.03.28.14.15.06
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Tue, 28 Mar 2017 14:15:06 -0700 (PDT)
In-Reply-To: <CAA7YVg2HDNtBfRsCgXCw0zd3DpedRRSQcTwHh7jU-w2w8B8FcQ@mail.gmail.com>
X-Mailer: iPad Mail (14D27)
X-Original-Sender: AlbertoBarbati@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com;       spf=pass (google.com: domain of
 albertobarbati@gmail.com designates 2a00:1450:400c:c0c::243 as permitted
 sender) smtp.mailfrom=albertobarbati@gmail.com;       dmarc=pass (p=NONE
 sp=NONE dis=NONE) header.from=gmail.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:31863
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/31863>


--Apple-Mail-F645762C-F12B-45B6-8906-54B787115742
Content-Type: text/plain; charset=UTF-8


> Il giorno 28 mar 2017, alle ore 23:09, Viacheslav Usov <via.usov@gmail.com> ha scritto:
> 
> On Tue, Mar 28, 2017 at 10:53 PM, Alberto Barbati <albertobarbati@gmail.com> wrote:
> 
> > Care to explain? I can't see UB there.
> 
> [lex.name]/3 "In addition, some identifiers are reserved for use by C++ implementations and shall not be used otherwise; no diagnostic is required."
> 
> No behavior is imposed by the International Standard, hence [defns.undefined] applies.

Well... the starting point of the whole discussion is that my proposal would allow the use of __ in user code...

Alberto

-- 
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 email 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/B03D71FC-16DD-4717-95B8-375144E17909%40gmail.com.

--Apple-Mail-F645762C-F12B-45B6-8906-54B787115742
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=
=3Dutf-8"></head><body dir=3D"auto"><div></div><div><br></div><div>Il giorn=
o 28 mar 2017, alle ore 23:09, Viacheslav Usov &lt;<a href=3D"mailto:via.us=
ov@gmail.com">via.usov@gmail.com</a>&gt; ha scritto:<br><br></div><blockquo=
te type=3D"cite"><div>On Tue, Mar 28, 2017 at 10:53 PM, Alberto Barbati <sp=
an dir=3D"ltr">&lt;<a href=3D"mailto:albertobarbati@gmail.com" target=3D"_b=
lank">albertobarbati@gmail.com</a>&gt;</span> wrote:<br><div><br></div><div=
>&gt; Care to explain? I can't see UB there.</div><div><br></div><div>[<a h=
ref=3D"http://lex.name">lex.name</a>]/3 "In addition, some identifiers are =
reserved for use by C++ implementations and shall not be used otherwise;
no diagnostic is required."</div><div><br></div><div>No&nbsp;behavior is im=
posed by the International Standard, hence [defns.undefined] applies.</div>=
</div></blockquote><br><div>Well... the starting point of the whole discuss=
ion is that my proposal would allow the use of __ in user code...</div><div=
><br></div><div>Alberto</div><div><br></div></body></html>

<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/B03D71FC-16DD-4717-95B8-375144E17909%=
40gmail.com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/B03D71FC-16DD-4717-95B8-375144E17909%=
40gmail.com</a>.<br />

--Apple-Mail-F645762C-F12B-45B6-8906-54B787115742--

.
