220 31801 <CAA7YVg1m+ZHyDdVf6UCVL98Ne_FvGt6SMNZd4OUgY3pHFyxNwg@mail.gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Viacheslav Usov <via.usov@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 11:08:18 +0200
Lines: 75
Approved: news@gmane.org
Message-ID: <CAA7YVg1m+ZHyDdVf6UCVL98Ne_FvGt6SMNZd4OUgY3pHFyxNwg@mail.gmail.com>
References: <985b9b2a-c734-45eb-95f4-db4dc0d309a1@isocpp.org>
 <CAFk2RUZ3+yru+cYSEtxJ1TbZuyWp71gpCGoq=WE_8EAE=+h=2g@mail.gmail.com> <7EF863A1-1454-4116-9164-676FF19BF923@gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=001a114999c602cf65054bc6cd8e
X-Trace: blaine.gmane.org 1490692104 21950 195.159.176.226 (28 Mar 2017 09:08:24 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Tue, 28 Mar 2017 09:08:24 +0000 (UTC)
To: "ISO C++ Standard - Future Proposals" <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBDU6VRPKW4BBBA6Q5DDAKGQELJ5VCNA@isocpp.org Tue Mar 28 11:08:20 2017
Return-path: <std-proposals+bncBDU6VRPKW4BBBA6Q5DDAKGQELJ5VCNA@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+bncBDU6VRPKW4BBBA6Q5DDAKGQELJ5VCNA@isocpp.org>)
	id 1csn6s-0004Xg-6B
	for gclcip-std-proposals@m.gmane.org; Tue, 28 Mar 2017 11:08:14 +0200
Original-Received: by mail-pg0-f72.google.com with SMTP id 81sf106135998pgh.3
        for <gclcip-std-proposals@m.gmane.org>; Tue, 28 Mar 2017 02:08:20 -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=CY5dsXLgfmFjb2OrYR+V11xIAfJAU7GTTjSbCn35k88=;
        b=rasmI4ipDZO711qf5N4adsW1I3LDKlIEjL86xwrIzG6UdxX12OKpBnVdM0P7rZisWm
         BsmZvUnLsdLKVsk6d/1v3LrZI9lRfM/Hi7TMwDzH9UGgpUpfvUHHJg+vs1hWLbH1R3lx
         ZOm6kThJb/h0bITrpiVOAlYfubeRvhw1PV+HYj9EzJ/UWatN5N3awq6wQ21eAKctgh3r
         wY4JlAD0M+yZk3j/L57v7/RRJscWfM83gmpHIwnmpwecJLw/5aHIfZDtsrcVUle3bc8k
         PYLpNDnSXH10fcAmPDI3NW4hPezJf0yBgQyzajotOLOAJjqAp8nS1fHxp9huwYeU0hrz
         PUhg==
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=CY5dsXLgfmFjb2OrYR+V11xIAfJAU7GTTjSbCn35k88=;
        b=mQy1FQ5ppNsj7umw6qCP1gU/eWvcdNmdYY9YIkME6TKPcjjtwv+sULpE5HJkTZnSAj
         P8/3ljbN2QZLiBDo5JXVVykRHFFqJ+4vB5Y9MgFUHaXyEuS575H56+s1WgW2avYhYs7L
         8Splpluduo5ukYxUJ6IeEN8UIyeslGJSikfH9zFsXkBr3E5iJr3pNUDlF7LDXXS3+QIU
         FIQc+e1i9jBdKvxm8gYXvieluLLF5YpKRwFODq+CAo2oh7dUE05PcxpzmvJG55loah0Q
         gjw8st0ZXoI4sV/ps467kJ6rynA9FkyNSgpDrxRaqeUPywvnK+HeVflUKFiUlV3j+CqY
         QdwQ==
X-Gm-Message-State: AFeK/H0UXw2ZoGZl1386Dae5jquFzhdWtGD+A6E8w80SsZY+hP5yvsWHJMN42eB4PtXiIg==
X-Received: by 10.98.209.78 with SMTP id t14mr6878577pfl.0.1490692099863;
        Tue, 28 Mar 2017 02:08:19 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.157.48.22 with SMTP id d22ls2045615otc.43.gmail; Tue, 28 Mar
 2017 02:08:19 -0700 (PDT)
X-Received: by 10.200.35.36 with SMTP id a33mr24401885qta.216.1490692099084;
        Tue, 28 Mar 2017 02:08:19 -0700 (PDT)
Original-Received: from mail-qk0-x22d.google.com (mail-qk0-x22d.google.com. [2607:f8b0:400d:c09::22d])
        by mx.google.com with ESMTPS id o142si2966718qke.72.2017.03.28.02.08.19
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Tue, 28 Mar 2017 02:08:19 -0700 (PDT)
Received-SPF: pass (google.com: domain of via.usov@gmail.com designates 2607:f8b0:400d:c09::22d as permitted sender) client-ip=2607:f8b0:400d:c09::22d;
Original-Received: by mail-qk0-x22d.google.com with SMTP id d10so53975985qke.1
        for <std-proposals@isocpp.org>; Tue, 28 Mar 2017 02:08:19 -0700 (PDT)
X-Received: by 10.55.212.193 with SMTP id s62mr17209421qks.254.1490692098669;
 Tue, 28 Mar 2017 02:08:18 -0700 (PDT)
Original-Received: by 10.12.157.78 with HTTP; Tue, 28 Mar 2017 02:08:18 -0700 (PDT)
In-Reply-To: <7EF863A1-1454-4116-9164-676FF19BF923@gmail.com>
X-Original-Sender: via.usov@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com;       spf=pass (google.com: domain of via.usov@gmail.com
 designates 2607:f8b0:400d:c09::22d as permitted sender) smtp.mailfrom=via.usov@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:31801
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/31801>

--001a114999c602cf65054bc6cd8e
Content-Type: text/plain; charset=UTF-8

On Tue, Mar 28, 2017 at 8:22 AM, Alberto Barbati <albertobarbati@gmail.com>
wrote:

> Thanks a lot for the pointer! Whoa! This issue is ancient... I'll make
sure the next version will have a reference to it and address the concerns
it raises.

This keeps coming back to this forum. For example, this:
https://groups.google.com/a/isocpp.org/d/msg/std-proposals/ioi76TkG6g4/G8WC37LVAAAJ

My take on this is that we should have an operator or a keyword that
extends the lifetime of a temporary, as discussed here
https://groups.google.com/a/isocpp.org/d/msg/std-proposals/ioi76TkG6g4/bdUinF-3AQAJ
and
subsequent posts, notably this
https://groups.google.com/a/isocpp.org/d/msg/std-proposals/ioi76TkG6g4/bdUinF-3AQAJ
and this
https://groups.google.com/a/isocpp.org/d/msg/std-proposals/ioi76TkG6g4/5JrGmugAAgAJ

Cheers,
V.

-- 
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/CAA7YVg1m%2BZHyDdVf6UCVL98Ne_FvGt6SMNZd4OUgY3pHFyxNwg%40mail.gmail.com.

--001a114999c602cf65054bc6cd8e
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 8:22 AM, Alberto Barbati <span dir=3D"ltr">&lt;<a href=
=3D"mailto:albertobarbati@gmail.com" target=3D"_blank">albertobarbati@gmail=
..com</a>&gt;</span> wrote:<br><div><br></div><div>&gt; Thanks a lot for the=
 pointer! Whoa! This issue is ancient... I&#39;ll make sure the next versio=
n will have a reference to it and address the concerns it raises.</div><div=
><br></div><div>This keeps coming back to this forum. For example, this:=C2=
=A0<a href=3D"https://groups.google.com/a/isocpp.org/d/msg/std-proposals/io=
i76TkG6g4/G8WC37LVAAAJ">https://groups.google.com/a/isocpp.org/d/msg/std-pr=
oposals/ioi76TkG6g4/G8WC37LVAAAJ</a></div><div><br></div><div>My take on th=
is is that we should have an operator or a keyword that extends the lifetim=
e of a temporary, as discussed here <a href=3D"https://groups.google.com/a/=
isocpp.org/d/msg/std-proposals/ioi76TkG6g4/bdUinF-3AQAJ">https://groups.goo=
gle.com/a/isocpp.org/d/msg/std-proposals/ioi76TkG6g4/bdUinF-3AQAJ</a>=C2=A0=
and subsequent posts, notably this=C2=A0<a href=3D"https://groups.google.co=
m/a/isocpp.org/d/msg/std-proposals/ioi76TkG6g4/bdUinF-3AQAJ">https://groups=
..google.com/a/isocpp.org/d/msg/std-proposals/ioi76TkG6g4/bdUinF-3AQAJ</a> a=
nd this=C2=A0<a href=3D"https://groups.google.com/a/isocpp.org/d/msg/std-pr=
oposals/ioi76TkG6g4/5JrGmugAAgAJ">https://groups.google.com/a/isocpp.org/d/=
msg/std-proposals/ioi76TkG6g4/5JrGmugAAgAJ</a></div><div><br></div><div>Che=
ers,</div><div>V.</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/CAA7YVg1m%2BZHyDdVf6UCVL98Ne_FvGt6SMN=
Zd4OUgY3pHFyxNwg%40mail.gmail.com?utm_medium=3Demail&utm_source=3Dfooter">h=
ttps://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAA7YVg1m%2BZHy=
DdVf6UCVL98Ne_FvGt6SMNZd4OUgY3pHFyxNwg%40mail.gmail.com</a>.<br />

--001a114999c602cf65054bc6cd8e--

.
