220 21010 <76d567a8-e899-4d18-ad1b-a9957b993d2b@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: Aso Renji <asorenji@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: include [[noreturn]] into function signature
Date: Tue, 29 Sep 2015 15:00:46 -0700 (PDT)
Lines: 75
Approved: news@gmane.org
Message-ID: <76d567a8-e899-4d18-ad1b-a9957b993d2b@isocpp.org>
References: <c0711850-454f-432a-86b5-87552f662971@isocpp.org>
 <8e48c68f-8ef1-4a2b-99e2-0defaeaa9782@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_1055_1730560848.1443564047043"
X-Trace: ger.gmane.org 1443564051 28501 80.91.229.3 (29 Sep 2015 22:00:51 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Tue, 29 Sep 2015 22:00:51 +0000 (UTC)
Cc: asorenji@gmail.com
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBDSYF7ODTYPBBD4UVSYAKGQE4FAKWQI@isocpp.org Wed Sep 30 00:00:50 2015
Return-path: <std-proposals+bncBDSYF7ODTYPBBD4UVSYAKGQE4FAKWQI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ig0-f197.google.com ([209.85.213.197])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBDSYF7ODTYPBBD4UVSYAKGQE4FAKWQI@isocpp.org>)
	id 1Zh2x7-00077B-PE
	for gclcip-std-proposals@m.gmane.org; Wed, 30 Sep 2015 00:00:49 +0200
Original-Received: by igcxw12 with SMTP id xw12sf40357923igc.0
        for <gclcip-std-proposals@m.gmane.org>; Tue, 29 Sep 2015 15:00:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=date:from:to:cc:message-id:in-reply-to:references:subject
         :mime-version:content-type: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=Ckr2Gf/kiieLZf7aci5XyQuqiefE3utFeyS3yyzkunY=;
        b=m30FKHP3312WKL5KtIAnnvqO9ATSXX8SyTyNUEPiwSkdQ7wf1Cyr62woaPnOHHh2OD
         nwArqRXDl/EIescdZju+fIr+AOVcBDSUQ9NrMnStsomsrtChMrVtR1e/iESMql1YZf61
         8vxD025SctJn5JQ2G8+rpx5OAjFIvTHE2F/xevZa3zOqZ9Igxm/8CFPYFV8VZf5yp70O
         axb4slyLfM5opvt13SuMQGnNHyKaS8siwhffnEE8RKiLMG0nggNhP0WpO/4SPnw4vWdM
         hQODMEoPvIBmqw/OvpJy6W2AxD0Dov+1MhU4SYcCxQnbWr2Z1QR2KUsG9D7uQk8JK7Xy
         AceA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:date:from:to:cc:message-id:in-reply-to
         :references:subject:mime-version:content-type: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=Ckr2Gf/kiieLZf7aci5XyQuqiefE3utFeyS3yyzkunY=;
        b=Tb3GhCvtSy5//jaeJRkkRpNRfFdvQoWAXCevzMvI5V19TOLagNNukKkmt0IlW/KSX3
         T1aiYjQhVCdr9qClAHQ//55JGL4kOEuQZ0PLZ5weKxVREm55Qp9L6sHU0L3VRyQkbbUB
         diAkiv54VaBLPGrN7RjSzORPbdjDU1/HxzWrSA7u43AutagdkV7ZFHIkyTR0z0dGy4S/
         E1SK88ED7nps+cN1muD3tkYJZpbQhoPbb+2cFY8xu31XmGU6DHMJtU6635Twtt7eZpYJ
         MQ4MH2BXls2mu6w3I8/jlT2PFwNAl3Y8aQE7HhIxZDtwce/UxPYLob/Wb8QwW07XE5HZ
         o57g==
X-Gm-Message-State: ALoCoQkQUoLZ+uWIFCpQsiG6uIvbtrZkUb0eNkjI6TaD105REUR3HSYxrMIvU2yil0f2eWR+WTFY
X-Received: by 10.107.34.8 with SMTP id i8mr1030609ioi.2.1443564048436;
        Tue, 29 Sep 2015 15:00:48 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.50.79.135 with SMTP id j7ls71001igx.17.gmail; Tue, 29 Sep 2015
 15:00:47 -0700 (PDT)
X-Received: by 10.50.4.70 with SMTP id i6mr22233igi.12.1443564047707;
        Tue, 29 Sep 2015 15:00:47 -0700 (PDT)
In-Reply-To: <8e48c68f-8ef1-4a2b-99e2-0defaeaa9782@isocpp.org>
X-Original-Sender: AsoRenji@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: <http://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <http://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <http://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <http://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>,
 <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:21010
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/21010>

------=_Part_1055_1730560848.1443564047043
Content-Type: multipart/alternative; 
	boundary="----=_Part_1056_1566820063.1443564047043"

------=_Part_1056_1566820063.1443564047043
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable



=D1=81=D1=80=D0=B5=D0=B4=D0=B0, 30 =D1=81=D0=B5=D0=BD=D1=82=D1=8F=D0=B1=D1=
=80=D1=8F 2015 =D0=B3., 0:47:29 UTC+3 =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=
=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C Nicol Bolas =D0=BD=D0=B0=D0=BF=D0=B8=
=D1=81=D0=B0=D0=BB:
>
> That's up to the compiler to decide whether to give you that warning.=20
> You've done all you can to inform the compiler that the method doesn't ne=
ed=20
> a return statement.
>
Compiler think "[[noreturn]] is not a part of function signature. So,=20
maybe, overloaded version of virtual method don't have noreturn attribute.=
=20
So, i show warning about this". If noreturn become part of signature, all=
=20
overloaded version also inherited this. And warning disapered.

--=20

---=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.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposa=
ls/.

------=_Part_1056_1566820063.1443564047043
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><br>=D1=81=D1=80=D0=B5=D0=B4=D0=B0, 30 =D1=81=D0=B5=D0=
=BD=D1=82=D1=8F=D0=B1=D1=80=D1=8F 2015 =D0=B3., 0:47:29 UTC+3 =D0=BF=D0=BE=
=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C Nicol Bolas =
=D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB:<blockquote class=3D"gmail_quote=
" style=3D"margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding=
-left: 1ex;"><div dir=3D"ltr">That&#39;s up to the compiler to decide wheth=
er to give you that warning. You&#39;ve done all you can to inform the comp=
iler that the method doesn&#39;t need a return statement.<br></div></blockq=
uote><div>Compiler think &quot;[[noreturn]] is not a part of function signa=
ture. So, maybe, overloaded version of virtual method don&#39;t have noretu=
rn attribute. So, i show warning about this&quot;. If noreturn become part =
of signature, all overloaded version also inherited this. And warning disap=
ered.</div></div>

<p></p>

-- <br />
<br />
--- <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 />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />

------=_Part_1056_1566820063.1443564047043--
------=_Part_1055_1730560848.1443564047043--

.
