220 31879 <7ccd774e-be7a-4696-aaf4-352e5571fbe5@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: TONGARI J <tongari95@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: This variable should not be named: an identifier
 (not) to remember
Date: Wed, 29 Mar 2017 08:43:09 -0700 (PDT)
Lines: 64
Approved: news@gmane.org
Message-ID: <7ccd774e-be7a-4696-aaf4-352e5571fbe5@isocpp.org>
References: <985b9b2a-c734-45eb-95f4-db4dc0d309a1@isocpp.org>
 <CADbh+eSOtnM76_2-0kKo7U+DCK4Mt1uYaR1HfAzxcxXuvcv+wg@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_1484_1714623811.1490802189979"
X-Trace: blaine.gmane.org 1490802193 20118 195.159.176.226 (29 Mar 2017 15:43:13 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Wed, 29 Mar 2017 15:43:13 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCC3NA775MLBBDVM57DAKGQE37ZTPOQ@isocpp.org Wed Mar 29 17:43:08 2017
Return-path: <std-proposals+bncBCC3NA775MLBBDVM57DAKGQE37ZTPOQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-pf0-f199.google.com ([209.85.192.199])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCC3NA775MLBBDVM57DAKGQE37ZTPOQ@isocpp.org>)
	id 1ctFkX-0004Vh-TS
	for gclcip-std-proposals@m.gmane.org; Wed, 29 Mar 2017 17:43:06 +0200
Original-Received: by mail-pf0-f199.google.com with SMTP id c77sf9179414pfd.14
        for <gclcip-std-proposals@m.gmane.org>; Wed, 29 Mar 2017 08:43:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=jZXJ4mVWzkJ8PIvYSnUD1VMgH3z/8Ipn+Q/FlRukvnk=;
        b=dKR0AVqmxi57OG2snbi3TvwwtP1Rwa2R2x/2yxdtGsyR+HQ4xwCtE8y9n2oyPBCy/z
         NvsydLSwZzO8L2e/7RmboowV1lqLhJGRTzy/ioI0XVSu0sBxWVTfsgULHCtR0ES4ZN1V
         Lq2/+oUufdDK61sQClJTwLkqX8p47LXFu7To5DkmlyVTK3OkpEvlC4YVb5sgPUySDsgG
         XSsZPHRT+pA66Atv8MPA+uMNmCStpIIU3yUERT/ivcWA4PXVDXP8ZY2Qxc9cVeLKzhjH
         5uy68/qAQumrrJS1QnytRBtP0rF0tGoaOGYojzbNOIcXhzeR+oRmzJPrV+WZZ3r4so4f
         xy8Q==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=jZXJ4mVWzkJ8PIvYSnUD1VMgH3z/8Ipn+Q/FlRukvnk=;
        b=cV5PWBgzuC0w8cRnu/6vGELrFap9r2ucASSvalIw4RK/5OAAF1LA3qAw2BUzM+VXEd
         jw01zY4MXlObqiu57/HmBz85rCq9nFDS9FeQ/WV4hj5zm0MfIAVUuFJ8UlrK0pysCAgW
         IqSG3VBw2LsKAE9Eiyk5goVfl0iPw7FvauXrz238ZlSZ/y1dq9TYcqRf2twjBcxxLoyJ
         iuXqD9hFIjJyzqJsvWdysCI9tWSegzHc67YFxP8WMP9gVvS8vhW1lA0A236mAop7JsES
         NIW/bxvIJXz3CJiqcEHoGAjLfLOvrlBQYdP11koG4WlmAO7Stqm+gZ2LV1sM4MZzza+q
         hyOA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:date:from:to:message-id:in-reply-to:references
         :subject:mime-version:x-original-sender:reply-to:precedence
         :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help
         :list-archive:list-subscribe:list-unsubscribe;
        bh=jZXJ4mVWzkJ8PIvYSnUD1VMgH3z/8Ipn+Q/FlRukvnk=;
        b=l4GKB/0ldWDWe21R+4Ug8dwxQ/2ZuOpiL9n7cQRRdbiEcb1SXZcIzWFpA6gUHr/9DJ
         zZW4ozaBQerwAxU+Hy3m6rs+QZwwvw2dZd9n9/ZSOWlRI46VSxm1Smt66g2auLJjkjkn
         LoQnSjADHbMavfFFFqM4ppWlEXJC9wXuHMAQHrPARCnZg1es25IsneV53AC2/WuZdflg
         duwJwH1KKkS19L+M0PhCOI5NTJjuImRiEePq6PQ1gqdDvtiwhLpZFlHvDgrgPUf2MjJ0
         IgiT7L5RVRqvb2tT6jvLqKiVRFz9OQozP8qv+PWInKgO6/Ge1O3wpc/xxNn4h0f4VoKu
         mLTA==
X-Gm-Message-State: AFeK/H0Lqp4I7vt55IPy77XWFFSgfNZvn+VvPIkn1uvTeKvvRhxP+G78FcjcX/xAybYXxA==
X-Received: by 10.99.126.24 with SMTP id z24mr395163pgc.119.1490802191540;
        Wed, 29 Mar 2017 08:43:11 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.157.2.98 with SMTP id 89ls15542344otb.22.gmail; Wed, 29 Mar
 2017 08:43:10 -0700 (PDT)
X-Received: by 10.157.32.10 with SMTP id n10mr215932ota.10.1490802190433;
        Wed, 29 Mar 2017 08:43:10 -0700 (PDT)
In-Reply-To: <CADbh+eSOtnM76_2-0kKo7U+DCK4Mt1uYaR1HfAzxcxXuvcv+wg@mail.gmail.com>
X-Original-Sender: tongari95@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:31879
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/31879>

------=_Part_1484_1714623811.1490802189979
Content-Type: multipart/alternative; 
	boundary="----=_Part_1485_142073767.1490802189979"

------=_Part_1485_142073767.1490802189979
Content-Type: text/plain; charset=UTF-8

On Wednesday, March 29, 2017 at 12:34:29 AM UTC+8, Brittany Friedman wrote:
>
> Instead of __, I'd propose using ?. For example auto ? = scope_guard{...}. 
> ? isn't allowed in identifiers so it shouldn't conflict with existing 
> nonconformant code. ? is also shorter :)
>

You get my support :)
FWIW, I have developed a "template declname parameter 
<https://www.reddit.com/r/cpp/comments/61r0qf/rfc_template_declname_parameter_and/>" 
feature which also uses `?` to represent "unnamed".
That said, for lifetime extension, I'd prefer p0577 <http://wg21.link/p0577>
..

-- 
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/7ccd774e-be7a-4696-aaf4-352e5571fbe5%40isocpp.org.

------=_Part_1485_142073767.1490802189979
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">On Wednesday, March 29, 2017 at 12:34:29 AM UTC+8, Brittan=
y Friedman wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margi=
n-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir=3D"l=
tr"><div><div>Instead of __, I&#39;d propose using ?. For example auto ? =
=3D scope_guard{...}. ? isn&#39;t allowed in identifiers so it shouldn&#39;=
t conflict with existing nonconformant code. ? is also shorter :)</div></di=
v></div></blockquote><div><br></div><div>You get my support :)</div><div>FW=
IW, I have developed a &quot;<a href=3D"https://www.reddit.com/r/cpp/commen=
ts/61r0qf/rfc_template_declname_parameter_and/">template declname parameter=
</a>&quot; feature which also uses `?` to represent &quot;unnamed&quot;.</d=
iv><div>That said, for lifetime extension, I&#39;d prefer=C2=A0<a href=3D"h=
ttp://wg21.link/p0577">p0577</a>.</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/7ccd774e-be7a-4696-aaf4-352e5571fbe5%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/7ccd774e-be7a-4696-aaf4-352e5571fbe5=
%40isocpp.org</a>.<br />

------=_Part_1485_142073767.1490802189979--

------=_Part_1484_1714623811.1490802189979--

.
