220 39384 <76fcc1f3-6d58-409c-824e-47af1c49d3ec@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: inkwizytoryankes@gmail.com
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: Alternative proposal for mapping P0709
 Deterministic Exceptions into C
Date: Tue, 24 Jul 2018 15:55:55 -0700 (PDT)
Lines: 96
Approved: news@gmane.org
Message-ID: <76fcc1f3-6d58-409c-824e-47af1c49d3ec@isocpp.org>
References: <6a65c934-5d2a-4e75-b88d-9eaaee338bd3@isocpp.org>
 <1c229827-6d5d-45bd-8766-c3af818b2b0b@isocpp.org> <CAC+0CCP_jeR=fr7a+XVeVJ+0wm4KG9U6iEunOHk3y2qSi3jrjg@mail.gmail.com>
 <4ac80882-16fc-4ab4-9a12-64da1ef0e974@isocpp.org>
 <CAC+0CCPJLYt4frAh+xcSyEpA9qiEdy=O98utgxz2Or5mwMoabw@mail.gmail.com>
 <8866881c-ef1d-4c37-9242-5b1d3327c288@isocpp.org>
 <e8190580-cda9-4899-ba2b-9a0fd5d48073@isocpp.org>
 <363df3db-b747-449f-b95d-81d15b6c3842@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_9352_1102128798.1532472955786"
X-Trace: blaine.gmane.org 1532472831 23691 195.159.176.226 (24 Jul 2018 22:53:51 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Tue, 24 Jul 2018 22:53:51 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBDDLTAGNTIBBB7G433NAKGQEIOL6TAY@isocpp.org Wed Jul 25 00:53:47 2018
Return-path: <std-proposals+bncBDDLTAGNTIBBB7G433NAKGQEIOL6TAY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-yw0-f198.google.com ([209.85.161.198])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBDDLTAGNTIBBB7G433NAKGQEIOL6TAY@isocpp.org>)
	id 1fi6Be-00063F-NV
	for gclcip-std-proposals@m.gmane.org; Wed, 25 Jul 2018 00:53:46 +0200
Original-Received: by mail-yw0-f198.google.com with SMTP id i77-v6sf3164375ywe.19
        for <gclcip-std-proposals@m.gmane.org>; Tue, 24 Jul 2018 15:55:57 -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=imOgqYKcDTBbIlDW5hTtSE5ATuCS/1KXGphzAEw9Ea0=;
        b=rBu/QgkVQehG4xNG0YUW9cwg1Z/iZ5vXUsC8X942RllzeJBCYs1GdMeSojzdcPNhM6
         gpZWZALk97ciNak5o7rAEV2BP8t8/UPuT6dUfJhdpJ0mQ75zREDb0TTjvUBlZZmK865z
         4FbJCfRdcCqFofUL2htuDKIWYXcrqFbZaCiADkZ7epHmMoowzNNjOQImmoa2CvoMWYdF
         u3QyDLWTerkCuAC7vjCVaRmZqcQ+oG/xxc5lBSdDumsIrtfLmGYMnEPl9E5MLhYUpj4z
         vQFBXsYSblJO7Leg1/RyCjX5EP5Yf4Th0yUJ8TAl1iXNubkhh4UyKrqQmCCyPVRwbBsP
         9XXA==
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=imOgqYKcDTBbIlDW5hTtSE5ATuCS/1KXGphzAEw9Ea0=;
        b=CYjF0A4LunADNC5yGKxpUp3I91ff9igm13OoPAb8luBWg+4mveMdi/IZbyfJm3F3xw
         JFhjIJedE09WgfXW62a5oHO1HDFSNv1Kq+0kGVKMxo4Xsu79tdI7elIsylAJwC4VyGnX
         bIdCV+PPVSh0MJ1ULxB9AsKWd7mvsH9XtJJZtR62mG5C9buBuSViV1h1l7rDOEyrQgCq
         RenZSOLLzAEMQToDt1o3fKjSgO6g5dyjm5MyydOGDbyaGDOtJc8VLjChV+BuUMneDrIl
         9k9apeL0rQ4oKX+AybUtFIQN276XsFJ+zAYRD2ePxyc1WuffOQlsG6KlON1E/qvjvDSP
         tWmg==
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=imOgqYKcDTBbIlDW5hTtSE5ATuCS/1KXGphzAEw9Ea0=;
        b=qyQAWm8hrKkmtIE1asyjGwP2DIBVy6F12CxJ0yyKZxTu5StrWAWjKF0dsT06mE80MM
         NPqVBQAXraWNfz7oBRDBwDatbCoO3nLnAkYHgOhUoP+fM9rDLLlm/bqXLyQ7tqCljbQ5
         rZ7GjQ0FhwauasLvGAWCd8dkThVUkrHyj8BpR6sxgR0sQWP3Puav413xeS+oBcC7Er3h
         XpjA4VEMJaB0lLIA54pHGbm+sAVUE4YfPAl3HoCsh3qBsYXnhfVrtmz4Stnpq8EtVyQ3
         ridzebhft224yOBRqqp5MspR5MF348PlzPuIC+YqzG23kTDOZbxx/g/5homMp9G5rq+r
         739A==
X-Gm-Message-State: AOUpUlGqbA0a8NfnrEvYVov/rTOdq1itpyoXu0l+jpfOSOYglJvD+R8A
	Bu/sG545FMrs/eY2KG4OijaVxg==
X-Google-Smtp-Source: AAOMgpdvlk17kWj16CtvPf8vK3UOkB/cbTyYluggD4369k4H5t4kmIozLgg2pIV6KvKUwJDBjQTFDQ==
X-Received: by 2002:a5b:3cf:: with SMTP id t15-v6mr5420522ybp.10.1532472957367;
        Tue, 24 Jul 2018 15:55:57 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 2002:a25:3bce:: with SMTP id i197-v6ls1609788yba.17.gmail; Tue,
 24 Jul 2018 15:55:56 -0700 (PDT)
X-Received: by 2002:a25:5f4a:: with SMTP id h10-v6mr329955ybm.5.1532472956350;
        Tue, 24 Jul 2018 15:55:56 -0700 (PDT)
In-Reply-To: <363df3db-b747-449f-b95d-81d15b6c3842@isocpp.org>
X-Original-Sender: inkwizytoryankes@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:39384
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/39384>

------=_Part_9352_1102128798.1532472955786
Content-Type: multipart/alternative; 
	boundary="----=_Part_9353_752563752.1532472955787"

------=_Part_9353_752563752.1532472955787
Content-Type: text/plain; charset="UTF-8"



On Tuesday, July 24, 2018 at 8:36:02 PM UTC+2, Nicol Bolas wrote:
>
> On Tuesday, July 24, 2018 at 1:52:21 PM UTC-4, Niall Douglas wrote:
>>
>> Well, that leaves me with egg on my face. The proposal certainly makes 
>>>> more sense given what you've said. On a similar note, then, what would this 
>>>> do to our constexpr?
>>>>
>>>
>>> It's a C proposal; it doesn't interact with `constexpr`. Indeed, one of 
>>> its biggest flaws is that it doesn't allow for inter-operation with C++ 
>>> static exceptions at all, despite being in part based on the same principle.
>>>
>>
>> My _Fails() proposal does however work in constexpr,
>>
>
> `_Fails()` is not valid C++, and `constexpr` is not valid C. How can they 
> work with one another? Unless you're proposing to add `_Fails()` to C++, 
> which I think would be a rather hard sell.
>

Why not? C++ inhered multiple things from C, this could be another one. If 
Niall define this functionality in compatible way for C++ then we need only 
add one paragraph that "behavior of C exceptions from C2x work same way in 
C++2y" and another one how glue both. I would even go further and build C++ 
exception on top of C as syntax sugar but this probably is not direction 
that Niall is going.

-- 
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/76fcc1f3-6d58-409c-824e-47af1c49d3ec%40isocpp.org.

------=_Part_9353_752563752.1532472955787
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><br>On Tuesday, July 24, 2018 at 8:36:02 PM UTC+2, Nic=
ol Bolas wrote:<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=
">On Tuesday, July 24, 2018 at 1:52:21 PM UTC-4, Niall Douglas wrote:<block=
quote class=3D"gmail_quote" style=3D"margin:0;margin-left:0.8ex;border-left=
:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><blockquote class=3D"gma=
il_quote" style=3D"margin:0;margin-left:0.8ex;border-left:1px #ccc solid;pa=
dding-left:1ex"><div dir=3D"ltr"><blockquote class=3D"gmail_quote" style=3D=
"margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><d=
iv dir=3D"auto"><div dir=3D"auto">Well, that leaves me with egg on my face.=
 The proposal certainly makes more sense given what you&#39;ve said. On a s=
imilar note, then, what would this do to our constexpr?</div></div></blockq=
uote><div><br></div><div>It&#39;s a C proposal; it doesn&#39;t interact wit=
h `constexpr`. Indeed, one of its biggest flaws is that it doesn&#39;t allo=
w for inter-operation with C++ static exceptions at all, despite being in p=
art based on the same principle.<br></div></div></blockquote><div><br></div=
><div>My _Fails() proposal does however work in constexpr,</div></div></blo=
ckquote><div><br></div><div>`_Fails()` is not valid C++, and `constexpr` is=
 not valid C. How can they work with one another? Unless you&#39;re proposi=
ng to add `_Fails()` to C++, which I think would be a rather hard sell.</di=
v></div></blockquote><div><br></div><div>Why not? C++ inhered multiple thin=
gs from C, this could be another one. If Niall define this functionality in=
 compatible way for C++ then we need only add one paragraph that &quot;beha=
vior of C exceptions from C2x work same way in C++2y&quot; and another one =
how glue both. I would even go further and build C++ exception on top of C =
as syntax sugar but this probably is not direction that Niall is going.<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/76fcc1f3-6d58-409c-824e-47af1c49d3ec%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/76fcc1f3-6d58-409c-824e-47af1c49d3ec=
%40isocpp.org</a>.<br />

------=_Part_9353_752563752.1532472955787--

------=_Part_9352_1102128798.1532472955786--

.
