220 35948 <1c22e46b-8c8a-4710-91c8-547506598923@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Nicol Bolas <jmckesson@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: auto return proposal
Date: Sun, 17 Dec 2017 07:14:29 -0800 (PST)
Lines: 67
Approved: news@gmane.org
Message-ID: <1c22e46b-8c8a-4710-91c8-547506598923@isocpp.org>
References: <CAB+4KHJCie_iwSm5OQVaHfsutdVJVbBo3ALecvn1ibsKg4uDTQ@mail.gmail.com>
 <feeb3bb2-7eb4-405a-9aaa-8f09ed7f35aa@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_12218_81903264.1513523669859"
X-Trace: blaine.gmane.org 1513523554 25905 195.159.176.226 (17 Dec 2017 15:12:34 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sun, 17 Dec 2017 15:12:34 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCEKFTV6ZUMBBVUT3LIQKGQESPAQPBI@isocpp.org Sun Dec 17 16:12:30 2017
Return-path: <std-proposals+bncBCEKFTV6ZUMBBVUT3LIQKGQESPAQPBI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-vk0-f72.google.com ([209.85.213.72])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCEKFTV6ZUMBBVUT3LIQKGQESPAQPBI@isocpp.org>)
	id 1eQac9-0006Px-SH
	for gclcip-std-proposals@m.gmane.org; Sun, 17 Dec 2017 16:12:30 +0100
Original-Received: by mail-vk0-f72.google.com with SMTP id x184sf6388326vkc.2
        for <gclcip-std-proposals@m.gmane.org>; Sun, 17 Dec 2017 07:14:32 -0800 (PST)
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
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=S7xKF0IOvjls5Mh9In1vCSYPjiXCQ1T/HkmaUEJFSo8=;
        b=igWUdAdxrsUSh6VBLNGtDAZrr8b+/wMEJHC7psdLuEjDwEZydTH+ZDH8uV/1sZcWfv
         pCbjicJ3igiUDAwKDzmQKeX5lJaYXnGphXmdbTBFMtm2GPMJnoSJQQt5BXUWOYYKOl9V
         Gd5gg+TJPMgL/uGlDx4Qp2S8GgzahFSo11Idoc3W5rvct9f0F9kmyqKJwi2Am0DVn0cP
         2zajSkjXw9sKBH5JzPICt5m6Y3y7FjwiXFWglKPNmRS9H3lfOM2fjsWbzrS2Y75Qmc1a
         WKHSt84QlPS6Zj+ci0uXXhi5AAMUwLUN4dE3Imy+FDhtjBCEEMgSuXxiovmMVSJ3J/PV
         vhUw==
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
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=S7xKF0IOvjls5Mh9In1vCSYPjiXCQ1T/HkmaUEJFSo8=;
        b=nApbEPzFNQ6u23BZHp9hRoY10u8OavlKkjFXaO59lsikKgxij6UsuHN8NJ0vUfzWwk
         V+ZJxVZ45LoDszph9DtpYC7d6Gu5LugDKrL36kY0l6Pctsw8fvZJ502CapxqQR8pWqWO
         JoNg/7mJlv7fiQkmo5ud95VcrxiAepEG25rjcQ6MBNW5S5WNtbaTKa/T9BkRKfXUOy/+
         bs/OxVzl8HxAU3flX7yAL6oq40cSKSAhaJN6dEAUdpUrvbIm0iFioGbPic2/m6gtTkwk
         I3UzZ6M2pxnmP0TFccQVP3TSD1VWWmCWDcniMxZBEyoMM01jns7U/umlKCoMwQZOjMKJ
         lnyg==
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=S7xKF0IOvjls5Mh9In1vCSYPjiXCQ1T/HkmaUEJFSo8=;
        b=cieSE4nEsjTm+L9tOvAKBdpdVo8a4yg7gVOaT11jLZdyuIrWkOMHc9C8mauVEl8/Ps
         Gj3kq/YsEHUi4L7o5vfIfc0meYqdqL3OopItnRz1FwJ6nvbO8kkn+F72WKyindL1+qZb
         38ex1erjWYQUYy1xbVvOh63iQXT2xBW3qSvqx2UVgsbonb8w1z8eMKyCCaNs35SvrMPk
         I9BQJVDY/giJRDiFnkhsytlhInnE6cUHgt/FN+C66UrUmB+HCRvPCraUA0Tw2CdL0jpl
         86YjPoujny6pj0Bu9f9YVd8FZdOQVvQSaRkEwR/oB6A5SL11CFRDdam56/TjABYkySLd
         deWg==
X-Gm-Message-State: AKGB3mKvsgg2iH55yyqOMZdLEP+Ijnc7yANtbiJQUg5+RI3ZKB5kscCU
	3kBF/vp+aPtMes4MGtoHMH3+Hw==
X-Google-Smtp-Source: ACJfBosEIKJXbgk9C0SEG3y9vTJMr8nJQ99AyD3AN8HDayfgJRKaaSfcEBQ+N46e7dVcpO6I82PlFg==
X-Received: by 10.176.90.47 with SMTP id l44mr10273137uad.54.1513523672005;
        Sun, 17 Dec 2017 07:14:32 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.31.238.201 with SMTP id m192ls2551435vkh.17.gmail; Sun, 17 Dec
 2017 07:14:30 -0800 (PST)
X-Received: by 10.31.158.84 with SMTP id h81mr452250vke.6.1513523670411;
        Sun, 17 Dec 2017 07:14:30 -0800 (PST)
In-Reply-To: <feeb3bb2-7eb4-405a-9aaa-8f09ed7f35aa@isocpp.org>
X-Original-Sender: jmckesson@gmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Spam-Checked-In-Group: 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:35948
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/35948>

------=_Part_12218_81903264.1513523669859
Content-Type: multipart/alternative; 
	boundary="----=_Part_12219_394829314.1513523669859"

------=_Part_12219_394829314.1513523669859
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Sunday, December 17, 2017 at 3:53:19 AM UTC-5, Jos=C3=A9 Rodrigo wrote:
>
> I think os better define it as an attribute.
>
> Jabuticaba fun()
> {
>     [[return]] auto j;
> }
>

No. A program should be able to execute with essentially the same behavior=
=20
if an attribute is removed. That would not be the case here; this is real=
=20
semantics, so it needs to have real syntax to it.

--=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/1c22e46b-8c8a-4710-91c8-547506598923%40isocpp.or=
g.

------=_Part_12219_394829314.1513523669859
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">On Sunday, December 17, 2017 at 3:53:19 AM UTC-5, Jos=C3=
=A9 Rodrigo wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;marg=
in-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">I think os b=
etter define it as an attribute.<p>Jabuticaba fun()<br>{<br>=C2=A0 =C2=A0 [=
[return]] auto j;<br>}</p></blockquote><div><br></div><div>No. A program sh=
ould be able to execute with essentially the same behavior if an attribute =
is removed. That would not be the case here; this is real semantics, so it =
needs to have real syntax to it.</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/1c22e46b-8c8a-4710-91c8-547506598923%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/1c22e46b-8c8a-4710-91c8-547506598923=
%40isocpp.org</a>.<br />

------=_Part_12219_394829314.1513523669859--

------=_Part_12218_81903264.1513523669859--

.
