220 31259 <f6de6edb-f0ff-419b-8633-e8b931eaba34@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: "'Oleg Ageev' via ISO C++ Standard - Future Proposals" <std-proposals@isocpp.org>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: P0534: call/cc, type safety and exceptions
Date: Wed, 1 Mar 2017 08:05:56 -0800 (PST)
Lines: 63
Approved: news@gmane.org
Message-ID: <f6de6edb-f0ff-419b-8633-e8b931eaba34@isocpp.org>
References: <fc546ea4-a355-4a60-a7e7-97927993471d@isocpp.org>
 <3a57e294-7254-4358-828d-c9f7757f5295@isocpp.org> <9deccbda-26ca-4ad8-a579-1feb674676a6@isocpp.org>
 <CA+wfc19hFNcyjVn=oiFn+rf=zUYYyxjmZ-Zp-wDiK2n61DqeaA@mail.gmail.com>
 <69ee11fb-5cd0-4e1e-8c61-2792fe062003@isocpp.org> <CA+wfc18uQYCsx7cRrg5VhkQYCU8RXFys3DV9j=7Xuww2nOtePA@mail.gmail.com>
 <7209130d-c572-4097-94a7-d92dcef0f354@isocpp.org> <0705083b-2e6f-46e9-b624-26ca0b9894ea@isocpp.org>
 <7bad6d77-7385-462d-9d10-4774bf97ae88@isocpp.org> <a880928c-208a-4f30-8967-bf29fac87bf2@isocpp.org>
 <CAL52Aas+Lakw+k71=P6o5SedAMpmDTk30szNeozayfj71NJJuw@mail.gmail.com>
 <b420b720-71e2-48ca-8a0f-288c1d76e607@isocpp.org> <CAL52Aauw653kq5j1LFxMKXVtiaBq0HQn3pnKn+9Ch2E+sj1xkQ@mail.gmail.com>
 <CA+wfc190izx+Mhdq0QnHXt2YfcGjMTGA8mHFAN=TigC0UXcdUQ@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_1723_1934979828.1488384356279"
X-Trace: blaine.gmane.org 1488384360 22145 195.159.176.226 (1 Mar 2017 16:06:00 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Wed, 1 Mar 2017 16:06:00 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBD4MBDVTJQIOLYW3YUCRUBFDC6G6K@isocpp.org Wed Mar 01 17:05:54 2017
Return-path: <std-proposals+bncBD4MBDVTJQIOLYW3YUCRUBFDC6G6K@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-oi0-f70.google.com ([209.85.218.70])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBD4MBDVTJQIOLYW3YUCRUBFDC6G6K@isocpp.org>)
	id 1cj6lE-000512-BW
	for gclcip-std-proposals@m.gmane.org; Wed, 01 Mar 2017 17:05:52 +0100
Original-Received: by mail-oi0-f70.google.com with SMTP id x195sf24146543oia.0
        for <gclcip-std-proposals@m.gmane.org>; Wed, 01 Mar 2017 08:05:58 -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
         :x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=HJv3jJ+aXU4dLfgx/KIQg12Epbd3U4FG9GdO973F8iU=;
        b=CjaRFp/PAimtpyqP9SkXOqBHYS2LTnCeXEA9TCSKgFncwBcWH82qKG8ahcbpm2j8zt
         9DdGoJtVD2VcC65dPL7X8Di39uYYvM7pIZ+gw3HRru9EitydjDQQUTIsy/JDJo2Xr3XV
         jz8SDna6+3atUah5Zkv0/cspZTDk/+ONduebJS7X7+sGM271FcQUd+hmB4jq1DpJsaOg
         J9gqZAWO65Tlp0xEl/UBbQNAMUt1uiEBIsVA4CgeK8S/oEMWTs9lJAFiqw4x5D2/6H1m
         /i2KeWjvqQ41wml2BhmzI0EvfF4HJXxAOfQozmzdG+/ZOZf2e6rwYRPPSELI5J2oRXwg
         bALw==
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=HJv3jJ+aXU4dLfgx/KIQg12Epbd3U4FG9GdO973F8iU=;
        b=tfSArkJjxDont1qRkxYBad5YIbp1xUrSCthgkRJD3WUwOJ5VYvacUwqMIk8HUKELeW
         TLLeJ9np2eOPwV3PtBLAtgcgKrMRT+r+ghjnESRG10oSepsKCKooYG7xMpomnSpGyWk1
         xv2TpHyGMK2VnXw5OrvW0dEeB7CVEYFR9aWJGqRgIjdz+FPcVCa2aasPTZR8AtoalFkh
         G8fpja1XFa5oT82u2i+d4VuQTeaPgmtteO0fONJALaM6NlM+KjRCZ2eZ+zf3QYKeVOO0
         Lsqahykl0QlV+DNMzmAWp7QjeoYXegcRPE8wQ5+wN9QPvJVH8AoNAcnzsIybNfjmeYxe
         Lo6w==
X-Gm-Message-State: AMke39m+bKo1XYpr3ZTdAb573KOlkGQJWfDIRIEW7Y7vJbmwf3Mq+xEr4mBa/O+SGeiyQw==
X-Received: by 10.157.21.37 with SMTP id u34mr2907019otf.40.1488384358138;
        Wed, 01 Mar 2017 08:05:58 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.157.16.34 with SMTP id h31ls3193527ote.3.gmail; Wed, 01 Mar
 2017 08:05:57 -0800 (PST)
X-Received: by 10.157.5.247 with SMTP id 110mr1081100otd.14.1488384356874;
        Wed, 01 Mar 2017 08:05:56 -0800 (PST)
In-Reply-To: <CA+wfc190izx+Mhdq0QnHXt2YfcGjMTGA8mHFAN=TigC0UXcdUQ@mail.gmail.com>
X-Original-Sender: my@cnonim.name
X-Original-From: Oleg Ageev <my@cnonim.name>
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:31259
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/31259>

------=_Part_1723_1934979828.1488384356279
Content-Type: multipart/alternative; 
	boundary="----=_Part_1724_1462759686.1488384356280"

------=_Part_1724_1462759686.1488384356280
Content-Type: text/plain; charset=UTF-8

On Wednesday, March 1, 2017 at 3:51:41 PM UTC+3, Oliver Kowalke wrote:
>
> no matter what the code will not work - you have no guarantee that 
> 'recovery' is still valid in the catch clause
> as I explained the stack 'recovery' is pointing to might be invalidated 
> during execution of 'f'
>
I don't understand, Ok, exception handling will not work in that place, but 
exception handling implemented in boost.coroutine2, why such mechanism 
can't be implemented on top of any continuation?

-- 
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/f6de6edb-f0ff-419b-8633-e8b931eaba34%40isocpp.org.

------=_Part_1724_1462759686.1488384356280
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">On Wednesday, March 1, 2017 at 3:51:41 PM UTC+3, Oliver Ko=
walke wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-lef=
t: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir=3D"ltr"><=
div><span lang=3D"en"><span><code><span style=3D"color:rgb(102,102,0)">no m=
atter what the code will not work - you have no guarantee that</span></code=
></span></span><span lang=3D"en"><span><code><span style=3D"color:rgb(102,1=
02,0)"> &#39;recovery&#39; is still valid in the catch clause<br></span></c=
ode></span></span></div><div><span lang=3D"en"><span><code><span style=3D"c=
olor:rgb(102,102,0)">as I explained the stack &#39;recovery&#39; is pointin=
g to might be invalidated during execution of &#39;f&#39;<br></span></code>=
</span></span></div></div></blockquote><div>I don&#39;t understand, Ok, exc=
eption handling will not work in that place, but exception handling impleme=
nted in boost.coroutine2, why such mechanism can&#39;t be implemented on to=
p of any continuation?<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/f6de6edb-f0ff-419b-8633-e8b931eaba34%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/f6de6edb-f0ff-419b-8633-e8b931eaba34=
%40isocpp.org</a>.<br />

------=_Part_1724_1462759686.1488384356280--

------=_Part_1723_1934979828.1488384356279--

.
