220 39430 <f0dac9d7-d139-4056-bf7f-bcad493436e0@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: Contract attributes and trailing return types
Date: Thu, 26 Jul 2018 20:59:24 -0700 (PDT)
Lines: 62
Approved: news@gmane.org
Message-ID: <f0dac9d7-d139-4056-bf7f-bcad493436e0@isocpp.org>
References: <b39be2a8-c0c4-4887-a4ad-d11a50107aa9@isocpp.org>
 <CALmDwq3o0_8STpgWt6NVQ1eejD-krUefpJkk=rDmkOK-co-1LQ@mail.gmail.com>
 <08e4fce4-e6c6-4dc2-a9ca-098f1ed8b380@isocpp.org> <CALmDwq1c8__QT0t3Xk_-tEE+nkuxP7+HT75HAfeRWY_sY0EAGw@mail.gmail.com>
 <CAOfiQq=2=Vuqbb6zRg3bjfr3_ZPWHO=1cDXz1FsON=eAnNzf2w@mail.gmail.com>
 <CAOHCbiuWjkdDOBstE4=qMUBrQfrRoU7wbo_-2UxQEESH2XP7ag@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_10469_203361761.1532663964246"
X-Trace: blaine.gmane.org 1532663840 9580 195.159.176.226 (27 Jul 2018 03:57:20 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Fri, 27 Jul 2018 03:57:20 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCEKFTV6ZUMBBHNR5LNAKGQEJIRGB4Q@isocpp.org Fri Jul 27 05:57:16 2018
Return-path: <std-proposals+bncBCEKFTV6ZUMBBHNR5LNAKGQEJIRGB4Q@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-yb0-f197.google.com ([209.85.213.197])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCEKFTV6ZUMBBHNR5LNAKGQEJIRGB4Q@isocpp.org>)
	id 1fitsS-0002Oz-2t
	for gclcip-std-proposals@m.gmane.org; Fri, 27 Jul 2018 05:57:16 +0200
Original-Received: by mail-yb0-f197.google.com with SMTP id n7-v6sf1977033ybo.1
        for <gclcip-std-proposals@m.gmane.org>; Thu, 26 Jul 2018 20:59:27 -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
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=wiQObq1vcqAoomqtUj9/vodtGpltltd7UX9qi/qAVTM=;
        b=WkcPF6A485GynJof3seEz51G4rJ66KXah/c/qw46XS00X+kGSvortl7GJx4Bmdl6VK
         yuUs2WZe5LfcPwA7tQC3DZvNUHz72PuRJvEILJpwnAX7VwZLJvhg9tUkR3ha9vj0Sow1
         KenC9W4Cm9C60kNtUc4w+GJx73rSbyOtEOBPoyL45xA512fbjSAwUJKgK+cs7W2mpnt0
         djJpeUemp1sWo2zMaKAB1EyZcHyXEBRYF1UlCXUd8S7wZzvXxzQuNUxrO9gOEWR/jx7N
         rJyRhIC1ZBKP/gVdchPK/YhD41jsu/tnEcoDlkay71qDso0e+j+k3/uBGBKXnfS/MWow
         ZbJw==
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=wiQObq1vcqAoomqtUj9/vodtGpltltd7UX9qi/qAVTM=;
        b=OkAffXC+spOq44e80O0scwi6fo1Qc7G9DB1IGkUQVwjydn3b7lNIwnS87a/XclF8mb
         FN9JrH3wm2Bs+kJtRMDmISkAguyzQWDnBQrMu6anyhLdLpqPsSM323Fgt55z8E7KyuDY
         F9VHQUGfFxFswgNuh7ZYS67UEVHL3TP3J9B1x2lSffeFt50+YxC8Qi3AXr8Os60wer90
         4ky+7ELsDosd2EJuddmt3aOZiv4EgDj3Vx46iJX1pldu7cBkqtqMQLpLpTMGjrVL4cNX
         z57j30ytH+oCgwqzGadL9wlCHq6HKXqXbnb/9uw03VsHEaFjQFqh0Y6+HuEb6quBEvlI
         CiYQ==
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=wiQObq1vcqAoomqtUj9/vodtGpltltd7UX9qi/qAVTM=;
        b=ML8TozuMUd71qlhK3/Q6UZQti14VepD5ABfhk6S1r2aMjw9Ui/rOsR+FmJfNG+PHlg
         cCepCN182VaxT+FSe2drRyTQKgrzbMSr7D1Qc6y6I4XQ6MoHY/I3lTSYccFQP17UMEoH
         m/xn7vefZtxfc+Wy5h2DtXMoXxyjI9MnchejCnxCN4aMovUXoA1iqjxGLdrPo+gRcBWG
         7NLYrLKnkVQmkfnnc9xrnLPVFIXCGXdpOGiEXWw+SS+TXs+5W8TuZ5nIU52T/dn+xu/s
         eT29sC5JKNQjr0ycpwwgQsnYGKa2KPYojzCMpZ8b2y9FRpznwKIx08e6amJo1hQvjj7Z
         H6ZQ==
X-Gm-Message-State: AOUpUlEOcq5zaR4YHMJac4ZMEOre8SDE1JCDbRoSnxn+rvAmeM8hSOk8
	hv30f2L+bEHn42NWV+znNuaV1A==
X-Google-Smtp-Source: AAOMgpcMkZYzirVd+Gao4kFr8+RcV6Ka1YXX1eHs2aqaY2oiKwdwWXFUAmIb0Hq8J13pJdFriQLFjA==
X-Received: by 2002:a0d:ef44:: with SMTP id y65-v6mr223222ywe.238.1532663966559;
        Thu, 26 Jul 2018 20:59:26 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 2002:a25:888b:: with SMTP id d11-v6ls500432ybl.1.gmail; Thu, 26
 Jul 2018 20:59:25 -0700 (PDT)
X-Received: by 2002:a25:c5d2:: with SMTP id v201-v6mr60461ybe.4.1532663964891;
        Thu, 26 Jul 2018 20:59:24 -0700 (PDT)
In-Reply-To: <CAOHCbiuWjkdDOBstE4=qMUBrQfrRoU7wbo_-2UxQEESH2XP7ag@mail.gmail.com>
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:39430
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/39430>

------=_Part_10469_203361761.1532663964246
Content-Type: multipart/alternative; 
	boundary="----=_Part_10470_366798326.1532663964246"

------=_Part_10470_366798326.1532663964246
Content-Type: text/plain; charset="UTF-8"

On Thursday, July 26, 2018 at 9:07:47 PM UTC-4, Tony V E wrote:
>
> How does this compare to where `requires` goes?  Is that before or after 
> the trailing return?
>

It appears to be after the whole thing, including the trailing return. It 
seems to be:

Identifier/auto function_name(...) cv_qualifiers &/&& noexcept attributes 
trailing-return-type requires-clause

C++'s syntax is a huge mess...

-- 
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/f0dac9d7-d139-4056-bf7f-bcad493436e0%40isocpp.org.

------=_Part_10470_366798326.1532663964246
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">On Thursday, July 26, 2018 at 9:07:47 PM UTC-4, Tony V E w=
rote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8e=
x;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir=3D"ltr"><div>How=
 does this compare to where `requires` goes?=C2=A0 Is that before or after =
the trailing return?<br></div></div></blockquote><div><br></div><div>It app=
ears to be after the whole thing, including the trailing return. It seems t=
o be:</div><div><br></div><div>Identifier/auto function_name(...) cv_qualif=
iers &amp;/&amp;&amp; noexcept attributes trailing-return-type requires-cla=
use</div><div><br></div><div>C++&#39;s syntax is a huge mess...<br></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/f0dac9d7-d139-4056-bf7f-bcad493436e0%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/f0dac9d7-d139-4056-bf7f-bcad493436e0=
%40isocpp.org</a>.<br />

------=_Part_10470_366798326.1532663964246--

------=_Part_10469_203361761.1532663964246--

.
