Topic: What heppened to N3949?


Author: joewoodbury@gmail.com
Date: Mon, 16 May 2016 11:36:08 -0700 (PDT)
Raw View
------=_Part_4_1635634699.1463423768666
Content-Type: multipart/alternative;
 boundary="----=_Part_5_1238779373.1463423768667"

------=_Part_5_1238779373.1463423768667
Content-Type: text/plain; charset=UTF-8

Out of curiosity, what happened to N3949? (Scoped Resource - Generic RAII
Wrapper for the Standard Library)

--
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/e8e32c60-a0e5-413a-81c0-518d051bf8b6%40isocpp.org.

------=_Part_5_1238779373.1463423768667
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Out of curiosity, what happened to N3949? (Scoped Resource=
 - Generic RAII Wrapper for the Standard Library)<br></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/e8e32c60-a0e5-413a-81c0-518d051bf8b6%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/e8e32c60-a0e5-413a-81c0-518d051bf8b6=
%40isocpp.org</a>.<br />

------=_Part_5_1238779373.1463423768667--
------=_Part_4_1635634699.1463423768666--

.


Author: Andrew Sandoval <sandoval@netwaysglobal.com>
Date: Mon, 16 May 2016 14:25:24 -0500
Raw View
--001a11c15ba00f614c0532fa96f7
Content-Type: text/plain; charset=UTF-8

It is currently P0052.  I don't believe that this is the latest document
but P0052 is the paper number to watch:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0052r0.pdf.

As for what happened, it is still working it's way through the process
driven largely by the great efforts of Peter Sommerlad and others who have
been very helpful in refining the document, etc.

-Andrew Sandoval

On Mon, May 16, 2016 at 1:36 PM, <joewoodbury@gmail.com> wrote:

> Out of curiosity, what happened to N3949? (Scoped Resource - Generic RAII
> Wrapper for the Standard Library)
>
> --
> 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/e8e32c60-a0e5-413a-81c0-518d051bf8b6%40isocpp.org
> <https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/e8e32c60-a0e5-413a-81c0-518d051bf8b6%40isocpp.org?utm_medium=email&utm_source=footer>
> .
>



--
*Andrew L. Sandoval*
sandoval@netwaysglobal.com

[image: qrcode] <http://mormon.org/me/72HW/>

--
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/CAJEeERVn3KwUN%2B-c-5xmJcW7BwfZXZk0TBdKRZr%2BxjtP8ABUvA%40mail.gmail.com.

--001a11c15ba00f614c0532fa96f7
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>It is currently P0052.=C2=A0 I don&#39;t believe that=
 this is the latest document but P0052 is the paper number to watch: <a hre=
f=3D"http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0052r0.pdf">h=
ttp://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0052r0.pdf</a>.</di=
v><div><br></div><div>As for what happened, it is still working it&#39;s wa=
y through the process driven largely by the great efforts of Peter Sommerla=
d and others who have been very helpful in refining the document, etc.</div=
><div><br></div><div>-Andrew Sandoval</div></div><div class=3D"gmail_extra"=
><br><div class=3D"gmail_quote">On Mon, May 16, 2016 at 1:36 PM,  <span dir=
=3D"ltr">&lt;<a href=3D"mailto:joewoodbury@gmail.com" target=3D"_blank">joe=
woodbury@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">=
<div dir=3D"ltr">Out of curiosity, what happened to N3949? (Scoped Resource=
 - Generic RAII Wrapper for the Standard Library)<span class=3D"HOEnZb"><fo=
nt color=3D"#888888"><br></font></span></div><span class=3D"HOEnZb"><font c=
olor=3D"#888888">

<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" target=3D"_=
blank">std-proposals+unsubscribe@isocpp.org</a>.<br>
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org" target=3D"_blank">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/e8e32c60-a0e5-413a-81c0-518d051bf8b6%=
40isocpp.org?utm_medium=3Demail&amp;utm_source=3Dfooter" target=3D"_blank">=
https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/e8e32c60-a0e5-=
413a-81c0-518d051bf8b6%40isocpp.org</a>.<br>
</font></span></blockquote></div><br><br clear=3D"all"><br>-- <br><div clas=
s=3D"gmail_signature"><font size=3D"4"><b style=3D"color:rgb(153,0,0);font-=
family:comic sans ms,sans-serif">Andrew L. Sandoval</b></font><br><span sty=
le=3D"font-family:courier new,monospace"><a href=3D"mailto:sandoval@netways=
global.com" target=3D"_blank">sandoval@netwaysglobal.com</a></span><br><br>=
<a href=3D"http://mormon.org/me/72HW/" target=3D"_blank"><img src=3D"http:/=
/qrcode.kaywa.com/img.php?s=3D5&amp;d=3Dhttp%3A%2F%2Fmormon.org%2Fme%2F72HW=
%2F" alt=3D"qrcode" height=3D"62" width=3D"62"></a><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/CAJEeERVn3KwUN%2B-c-5xmJcW7BwfZXZk0TB=
dKRZr%2BxjtP8ABUvA%40mail.gmail.com?utm_medium=3Demail&utm_source=3Dfooter"=
>https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAJEeERVn3KwU=
N%2B-c-5xmJcW7BwfZXZk0TBdKRZr%2BxjtP8ABUvA%40mail.gmail.com</a>.<br />

--001a11c15ba00f614c0532fa96f7--

.


Author: Christopher Horvath <blackencino@gmail.com>
Date: Mon, 16 May 2016 12:49:02 -0700
Raw View
--94eb2c0553f098378b0532faea7e
Content-Type: text/plain; charset=UTF-8

Is it correct to read that the only difference between unique_resource and
scope_exit is whether or not there is an object associated with the
wrapper? Meaning, unique_resource owns the object and has a deletion
function, scope_exit just has a deletion function?

Chris

On Mon, May 16, 2016 at 12:25 PM, Andrew Sandoval <
sandoval@netwaysglobal.com> wrote:

> It is currently P0052.  I don't believe that this is the latest document
> but P0052 is the paper number to watch:
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0052r0.pdf.
>
> As for what happened, it is still working it's way through the process
> driven largely by the great efforts of Peter Sommerlad and others who have
> been very helpful in refining the document, etc.
>
> -Andrew Sandoval
>
> On Mon, May 16, 2016 at 1:36 PM, <joewoodbury@gmail.com> wrote:
>
>> Out of curiosity, what happened to N3949? (Scoped Resource - Generic RAII
>> Wrapper for the Standard Library)
>>
>> --
>> 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/e8e32c60-a0e5-413a-81c0-518d051bf8b6%40isocpp.org
>> <https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/e8e32c60-a0e5-413a-81c0-518d051bf8b6%40isocpp.org?utm_medium=email&utm_source=footer>
>> .
>>
>
>
>
> --
> *Andrew L. Sandoval*
> sandoval@netwaysglobal.com
>
> [image: qrcode] <http://mormon.org/me/72HW/>
>
> --
> 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/CAJEeERVn3KwUN%2B-c-5xmJcW7BwfZXZk0TBdKRZr%2BxjtP8ABUvA%40mail.gmail.com
> <https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAJEeERVn3KwUN%2B-c-5xmJcW7BwfZXZk0TBdKRZr%2BxjtP8ABUvA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

--
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/CAHJ4w5p2MzjVM5299nwM_yFXecSrj3ktgMcS14d7qsjTEK8EUw%40mail.gmail.com.

--94eb2c0553f098378b0532faea7e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Is it correct to read that the only difference between uni=
que_resource and scope_exit is whether or not there is an object associated=
 with the wrapper? Meaning, unique_resource owns the object and has a delet=
ion function, scope_exit just has a deletion function?<div><br></div><div>C=
hris</div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">O=
n Mon, May 16, 2016 at 12:25 PM, Andrew Sandoval <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:sandoval@netwaysglobal.com" target=3D"_blank">sandoval@netway=
sglobal.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div di=
r=3D"ltr"><div>It is currently P0052.=C2=A0 I don&#39;t believe that this i=
s the latest document but P0052 is the paper number to watch: <a href=3D"ht=
tp://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0052r0.pdf" target=
=3D"_blank">http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0052r0=
..pdf</a>.</div><div><br></div><div>As for what happened, it is still workin=
g it&#39;s way through the process driven largely by the great efforts of P=
eter Sommerlad and others who have been very helpful in refining the docume=
nt, etc.</div><div><br></div><div>-Andrew Sandoval</div></div><div class=3D=
"gmail_extra"><div><div class=3D"h5"><br><div class=3D"gmail_quote">On Mon,=
 May 16, 2016 at 1:36 PM,  <span dir=3D"ltr">&lt;<a href=3D"mailto:joewoodb=
ury@gmail.com" target=3D"_blank">joewoodbury@gmail.com</a>&gt;</span> wrote=
:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-le=
ft:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">Out of curiosity, what=
 happened to N3949? (Scoped Resource - Generic RAII Wrapper for the Standar=
d Library)<span><font color=3D"#888888"><br></font></span></div><span><font=
 color=3D"#888888">

<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" target=3D"_=
blank">std-proposals+unsubscribe@isocpp.org</a>.<br>
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org" target=3D"_blank">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/e8e32c60-a0e5-413a-81c0-518d051bf8b6%=
40isocpp.org?utm_medium=3Demail&amp;utm_source=3Dfooter" target=3D"_blank">=
https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/e8e32c60-a0e5-=
413a-81c0-518d051bf8b6%40isocpp.org</a>.<br>
</font></span></blockquote></div><br><br clear=3D"all"><br></div></div>-- <=
br><div><font size=3D"4"><b style=3D"color:rgb(153,0,0);font-family:comic s=
ans ms,sans-serif">Andrew L. Sandoval</b></font><br><span style=3D"font-fam=
ily:courier new,monospace"><a href=3D"mailto:sandoval@netwaysglobal.com" ta=
rget=3D"_blank">sandoval@netwaysglobal.com</a></span><br><br><a href=3D"htt=
p://mormon.org/me/72HW/" target=3D"_blank"><img src=3D"http://qrcode.kaywa.=
com/img.php?s=3D5&amp;d=3Dhttp%3A%2F%2Fmormon.org%2Fme%2F72HW%2F" alt=3D"qr=
code" height=3D"62" width=3D"62"></a><br></div>
</div><span class=3D"">

<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" target=3D"_=
blank">std-proposals+unsubscribe@isocpp.org</a>.<br>
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org" target=3D"_blank">std-proposals@isocpp.org</a>.<br></span>
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/CAJEeERVn3KwUN%2B-c-5xmJcW7BwfZXZk0TB=
dKRZr%2BxjtP8ABUvA%40mail.gmail.com?utm_medium=3Demail&amp;utm_source=3Dfoo=
ter" target=3D"_blank">https://groups.google.com/a/isocpp.org/d/msgid/std-p=
roposals/CAJEeERVn3KwUN%2B-c-5xmJcW7BwfZXZk0TBdKRZr%2BxjtP8ABUvA%40mail.gma=
il.com</a>.<br>
</blockquote></div><br></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/CAHJ4w5p2MzjVM5299nwM_yFXecSrj3ktgMcS=
14d7qsjTEK8EUw%40mail.gmail.com?utm_medium=3Demail&utm_source=3Dfooter">htt=
ps://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAHJ4w5p2MzjVM529=
9nwM_yFXecSrj3ktgMcS14d7qsjTEK8EUw%40mail.gmail.com</a>.<br />

--94eb2c0553f098378b0532faea7e--

.


Author: joewoodbury@gmail.com
Date: Mon, 16 May 2016 14:24:59 -0700 (PDT)
Raw View
------=_Part_6059_949963270.1463433899475
Content-Type: multipart/alternative;
 boundary="----=_Part_6060_408784119.1463433899475"

------=_Part_6060_408784119.1463433899475
Content-Type: text/plain; charset=UTF-8

Why scope_exit and not just a finally clause? (Besides that Bjorn doesn't
like finally.)

On Monday, May 16, 2016 at 12:49:03 PM UTC-7, Christopher Horvath wrote:
>
> Is it correct to read that the only difference between unique_resource and
> scope_exit is whether or not there is an object associated with the
> wrapper? Meaning, unique_resource owns the object and has a deletion
> function, scope_exit just has a deletion function?
>
> Chris
>
> On Mon, May 16, 2016 at 12:25 PM, Andrew Sandoval <
> sand...@netwaysglobal.com <javascript:>> wrote:
>
>> It is currently P0052.  I don't believe that this is the latest document
>> but P0052 is the paper number to watch:
>> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0052r0.pdf.
>>
>> As for what happened, it is still working it's way through the process
>> driven largely by the great efforts of Peter Sommerlad and others who have
>> been very helpful in refining the document, etc.
>>
>> -Andrew Sandoval
>>
>> On Mon, May 16, 2016 at 1:36 PM, <joewo...@gmail.com <javascript:>>
>> wrote:
>>
>>> Out of curiosity, what happened to N3949? (Scoped Resource - Generic
>>> RAII Wrapper for the Standard Library)
>>>
>>> --
>>> 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-proposal...@isocpp.org <javascript:>.
>>> To post to this group, send email to std-pr...@isocpp.org <javascript:>.
>>> To view this discussion on the web visit
>>> https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/e8e32c60-a0e5-413a-81c0-518d051bf8b6%40isocpp.org
>>> <https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/e8e32c60-a0e5-413a-81c0-518d051bf8b6%40isocpp.org?utm_medium=email&utm_source=footer>
>>> .
>>>
>>
>>
>>
>> --
>> *Andrew L. Sandoval*
>> sand...@netwaysglobal.com <javascript:>
>>
>> [image: qrcode] <http://mormon.org/me/72HW/>
>>
>> --
>> 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-proposal...@isocpp.org <javascript:>.
>> To post to this group, send email to std-pr...@isocpp.org <javascript:>.
>> To view this discussion on the web visit
>> https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAJEeERVn3KwUN%2B-c-5xmJcW7BwfZXZk0TBdKRZr%2BxjtP8ABUvA%40mail.gmail.com
>> <https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAJEeERVn3KwUN%2B-c-5xmJcW7BwfZXZk0TBdKRZr%2BxjtP8ABUvA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>

--
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/9fb527a1-9aba-4d7d-a07d-94ad9467b0c5%40isocpp.org.

------=_Part_6060_408784119.1463433899475
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Why scope_exit and not just a finally clause? (Besides tha=
t Bjorn doesn&#39;t like finally.)<br><br>On Monday, May 16, 2016 at 12:49:=
03 PM UTC-7, Christopher Horvath wrote:<blockquote class=3D"gmail_quote" st=
yle=3D"margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-lef=
t: 1ex;"><div dir=3D"ltr">Is it correct to read that the only difference be=
tween unique_resource and scope_exit is whether or not there is an object a=
ssociated with the wrapper? Meaning, unique_resource owns the object and ha=
s a deletion function, scope_exit just has a deletion function?<div><br></d=
iv><div>Chris</div></div><div><br><div class=3D"gmail_quote">On Mon, May 16=
, 2016 at 12:25 PM, Andrew Sandoval <span dir=3D"ltr">&lt;<a href=3D"javasc=
ript:" target=3D"_blank" gdf-obfuscated-mailto=3D"k531bC3iCQAJ" rel=3D"nofo=
llow" onmousedown=3D"this.href=3D&#39;javascript:&#39;;return true;" onclic=
k=3D"this.href=3D&#39;javascript:&#39;;return true;">sand...@netwaysglobal.=
com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr=
"><div>It is currently P0052.=C2=A0 I don&#39;t believe that this is the la=
test document but P0052 is the paper number to watch: <a href=3D"http://www=
..open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0052r0.pdf" target=3D"_blank=
" rel=3D"nofollow" onmousedown=3D"this.href=3D&#39;http://www.google.com/ur=
l?q\x3dhttp%3A%2F%2Fwww.open-std.org%2Fjtc1%2Fsc22%2Fwg21%2Fdocs%2Fpapers%2=
F2015%2Fp0052r0.pdf\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHCBSsgu-tmOsb2C=
bmcBYE3OXAM_A&#39;;return true;" onclick=3D"this.href=3D&#39;http://www.goo=
gle.com/url?q\x3dhttp%3A%2F%2Fwww.open-std.org%2Fjtc1%2Fsc22%2Fwg21%2Fdocs%=
2Fpapers%2F2015%2Fp0052r0.pdf\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHCBSs=
gu-tmOsb2CbmcBYE3OXAM_A&#39;;return true;">http://www.open-std.org/jtc1/<wb=
r>sc22/wg21/docs/papers/2015/<wbr>p0052r0.pdf</a>.</div><div><br></div><div=
>As for what happened, it is still working it&#39;s way through the process=
 driven largely by the great efforts of Peter Sommerlad and others who have=
 been very helpful in refining the document, etc.</div><div><br></div><div>=
-Andrew Sandoval</div></div><div><div><div><br><div class=3D"gmail_quote">O=
n Mon, May 16, 2016 at 1:36 PM,  <span dir=3D"ltr">&lt;<a href=3D"javascrip=
t:" target=3D"_blank" gdf-obfuscated-mailto=3D"k531bC3iCQAJ" rel=3D"nofollo=
w" onmousedown=3D"this.href=3D&#39;javascript:&#39;;return true;" onclick=
=3D"this.href=3D&#39;javascript:&#39;;return true;">joewo...@gmail.com</a>&=
gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 =
0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">Out of=
 curiosity, what happened to N3949? (Scoped Resource - Generic RAII Wrapper=
 for the Standard Library)<span><font color=3D"#888888"><br></font></span><=
/div><span><font color=3D"#888888">

<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"javascript:" target=3D"_blank" gdf-obfuscated-mailto=3D"=
k531bC3iCQAJ" rel=3D"nofollow" onmousedown=3D"this.href=3D&#39;javascript:&=
#39;;return true;" onclick=3D"this.href=3D&#39;javascript:&#39;;return true=
;">std-proposal...@<wbr>isocpp.org</a>.<br>
To post to this group, send email to <a href=3D"javascript:" target=3D"_bla=
nk" gdf-obfuscated-mailto=3D"k531bC3iCQAJ" rel=3D"nofollow" onmousedown=3D"=
this.href=3D&#39;javascript:&#39;;return true;" onclick=3D"this.href=3D&#39=
;javascript:&#39;;return true;">std-pr...@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/e8e32c60-a0e5-413a-81c0-518d051bf8b6%=
40isocpp.org?utm_medium=3Demail&amp;utm_source=3Dfooter" target=3D"_blank" =
rel=3D"nofollow" onmousedown=3D"this.href=3D&#39;https://groups.google.com/=
a/isocpp.org/d/msgid/std-proposals/e8e32c60-a0e5-413a-81c0-518d051bf8b6%40i=
socpp.org?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" on=
click=3D"this.href=3D&#39;https://groups.google.com/a/isocpp.org/d/msgid/st=
d-proposals/e8e32c60-a0e5-413a-81c0-518d051bf8b6%40isocpp.org?utm_medium\x3=
demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com=
/a/<wbr>isocpp.org/d/msgid/std-<wbr>proposals/e8e32c60-a0e5-413a-<wbr>81c0-=
518d051bf8b6%40isocpp.org</a><wbr>.<br>
</font></span></blockquote></div><br><br clear=3D"all"><br></div></div>-- <=
br><div><font size=3D"4"><b style=3D"color:rgb(153,0,0);font-family:comic s=
ans ms,sans-serif">Andrew L. Sandoval</b></font><br><span style=3D"font-fam=
ily:courier new,monospace"><a href=3D"javascript:" target=3D"_blank" gdf-ob=
fuscated-mailto=3D"k531bC3iCQAJ" rel=3D"nofollow" onmousedown=3D"this.href=
=3D&#39;javascript:&#39;;return true;" onclick=3D"this.href=3D&#39;javascri=
pt:&#39;;return true;">sand...@netwaysglobal.com</a></span><br><br><a href=
=3D"http://mormon.org/me/72HW/" target=3D"_blank" rel=3D"nofollow" onmoused=
own=3D"this.href=3D&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fmormon.=
org%2Fme%2F72HW%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEzm0OFpzttfdfpbh=
hFHcuCMJyD5Q&#39;;return true;" onclick=3D"this.href=3D&#39;http://www.goog=
le.com/url?q\x3dhttp%3A%2F%2Fmormon.org%2Fme%2F72HW%2F\x26sa\x3dD\x26sntz\x=
3d1\x26usg\x3dAFQjCNEzm0OFpzttfdfpbhhFHcuCMJyD5Q&#39;;return true;"><img sr=
c=3D"https://lh3.googleusercontent.com/proxy/sA-rEBtQXhYNlSMtVI64AIb0t9OdVc=
6GEpTfHEmWFEGNtja4ntsMpLnUcJpkkAIQPudY1K5qu6njlAb4TTIhnFg_1Ie-lUXNIJt8ekhiw=
PyRFuKMQwrxyXMckJt0iSU=3Dw5000-h5000" alt=3D"qrcode" height=3D"62" width=3D=
"62"></a><br></div>
</div><span>

<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"javascript:" target=3D"_blank" gdf-obfuscated-mailto=3D"=
k531bC3iCQAJ" rel=3D"nofollow" onmousedown=3D"this.href=3D&#39;javascript:&=
#39;;return true;" onclick=3D"this.href=3D&#39;javascript:&#39;;return true=
;">std-proposal...@<wbr>isocpp.org</a>.<br>
To post to this group, send email to <a href=3D"javascript:" target=3D"_bla=
nk" gdf-obfuscated-mailto=3D"k531bC3iCQAJ" rel=3D"nofollow" onmousedown=3D"=
this.href=3D&#39;javascript:&#39;;return true;" onclick=3D"this.href=3D&#39=
;javascript:&#39;;return true;">std-pr...@isocpp.org</a>.<br></span>
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/CAJEeERVn3KwUN%2B-c-5xmJcW7BwfZXZk0TB=
dKRZr%2BxjtP8ABUvA%40mail.gmail.com?utm_medium=3Demail&amp;utm_source=3Dfoo=
ter" target=3D"_blank" rel=3D"nofollow" onmousedown=3D"this.href=3D&#39;htt=
ps://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAJEeERVn3KwUN%2B=
-c-5xmJcW7BwfZXZk0TBdKRZr%2BxjtP8ABUvA%40mail.gmail.com?utm_medium\x3demail=
\x26utm_source\x3dfooter&#39;;return true;" onclick=3D"this.href=3D&#39;htt=
ps://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAJEeERVn3KwUN%2B=
-c-5xmJcW7BwfZXZk0TBdKRZr%2BxjtP8ABUvA%40mail.gmail.com?utm_medium\x3demail=
\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/a/<wb=
r>isocpp.org/d/msgid/std-<wbr>proposals/CAJEeERVn3KwUN%2B-c-<wbr>5xmJcW7Bwf=
ZXZk0TBdKRZr%<wbr>2BxjtP8ABUvA%40mail.gmail.com</a>.<br>
</blockquote></div><br></div>
</blockquote></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/9fb527a1-9aba-4d7d-a07d-94ad9467b0c5%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/9fb527a1-9aba-4d7d-a07d-94ad9467b0c5=
%40isocpp.org</a>.<br />

------=_Part_6060_408784119.1463433899475--

------=_Part_6059_949963270.1463433899475--

.


Author: =?UTF-8?B?5oi46IiY5aSi5b2m?= <yume960222jp@gmail.com>
Date: Mon, 16 May 2016 20:28:17 -0700 (PDT)
Raw View
------=_Part_6222_1812811569.1463455697270
Content-Type: multipart/alternative;
 boundary="----=_Part_6223_1681233467.1463455697270"

------=_Part_6223_1681233467.1463455697270
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Latest proposal of RAII wrapper is P0052R2
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0052r2.pdf
and discussion is=20
https://groups.google.com/a/isocpp.org/forum/#!searchin/std-proposals/p0052=
r2/std-proposals/b74TFYOWRB8/lafn82XbAwAJ

The most serious issue of this proposal I think is "There is no way to=20
detect failure when executed deletion function at destractor".

>Is it correct to read that the only difference between unique_resource and=
=20
scope_exit is whether or not there is an object associated with the=20
wrapper? Meaning, unique_resource owns the object and has a deletion=20
function, scope_exit just has a deletion function?

That's right, I think, however, p0052r2's scope_exit class has=20
"uncaught_on_creation()" member function and I don't know what it is.


2016=E5=B9=B45=E6=9C=8817=E6=97=A5=E7=81=AB=E6=9B=9C=E6=97=A5 6=E6=99=8224=
=E5=88=8659=E7=A7=92 UTC+9 joewo...@gmail.com:
>
> Why scope_exit and not just a finally clause? (Besides that Bjorn doesn't=
=20
> like finally.)
>
> On Monday, May 16, 2016 at 12:49:03 PM UTC-7, Christopher Horvath wrote:
>>
>> Is it correct to read that the only difference between unique_resource=
=20
>> and scope_exit is whether or not there is an object associated with the=
=20
>> wrapper? Meaning, unique_resource owns the object and has a deletion=20
>> function, scope_exit just has a deletion function?
>>
>> Chris
>>
>> On Mon, May 16, 2016 at 12:25 PM, Andrew Sandoval <
>> sand...@netwaysglobal.com> wrote:
>>
>>> It is currently P0052.  I don't believe that this is the latest documen=
t=20
>>> but P0052 is the paper number to watch:=20
>>> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0052r0.pdf.
>>>
>>> As for what happened, it is still working it's way through the process=
=20
>>> driven largely by the great efforts of Peter Sommerlad and others who h=
ave=20
>>> been very helpful in refining the document, etc.
>>>
>>> -Andrew Sandoval
>>>
>>> On Mon, May 16, 2016 at 1:36 PM, <joewo...@gmail.com> wrote:
>>>
>>>> Out of curiosity, what happened to N3949? (Scoped Resource - Generic=
=20
>>>> RAII Wrapper for the Standard Library)
>>>>
>>>> --=20
>>>> You received this message because you are subscribed to the Google=20
>>>> Groups "ISO C++ Standard - Future Proposals" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send=
=20
>>>> an email to std-proposal...@isocpp.org.
>>>> To post to this group, send email to std-pr...@isocpp.org.
>>>> To view this discussion on the web visit=20
>>>> https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/e8e32c60-=
a0e5-413a-81c0-518d051bf8b6%40isocpp.org=20
>>>> <https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/e8e32c60=
-a0e5-413a-81c0-518d051bf8b6%40isocpp.org?utm_medium=3Demail&utm_source=3Df=
ooter>
>>>> .
>>>>
>>>
>>>
>>>
>>> --=20
>>> *Andrew L. Sandoval*
>>> sand...@netwaysglobal.com
>>>
>>> [image: qrcode] <http://mormon.org/me/72HW/>
>>>
>>> --=20
>>> You received this message because you are subscribed to the Google=20
>>> Groups "ISO C++ Standard - Future Proposals" group.
>>> To unsubscribe from this group and stop receiving emails from it, send=
=20
>>> an email to std-proposal...@isocpp.org.
>>> To post to this group, send email to std-pr...@isocpp.org.
>>> To view this discussion on the web visit=20
>>> https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAJEeERVn3=
KwUN%2B-c-5xmJcW7BwfZXZk0TBdKRZr%2BxjtP8ABUvA%40mail.gmail.com=20
>>> <https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAJEeERVn=
3KwUN%2B-c-5xmJcW7BwfZXZk0TBdKRZr%2BxjtP8ABUvA%40mail.gmail.com?utm_medium=
=3Demail&utm_source=3Dfooter>
>>> .
>>>
>>
>>

--=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/190cc69d-2c28-4cd9-b056-808b25da43c4%40isocpp.or=
g.

------=_Part_6223_1681233467.1463455697270
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Latest proposal of RAII wrapper is P0052R2<br>http://www.o=
pen-std.org/jtc1/sc22/wg21/docs/papers/2016/p0052r2.pdf<br>and discussion i=
s <br>https://groups.google.com/a/isocpp.org/forum/#!searchin/std-proposals=
/p0052r2/std-proposals/b74TFYOWRB8/lafn82XbAwAJ<br><br>The most serious iss=
ue of this proposal I think is &quot;There is no way to detect failure when=
 executed deletion function at destractor&quot;.<br><br>&gt;Is it correct t=
o read that the only difference between unique_resource=20
and scope_exit is whether or not there is an object associated with the=20
wrapper? Meaning, unique_resource owns the object and has a deletion=20
function, scope_exit just has a deletion function?<br><br>That&#39;s right,=
 I think, however, p0052r2&#39;s scope_exit class has &quot;uncaught_on_cre=
ation()&quot; member function and I don&#39;t know what it is.<br><br><br>2=
016=E5=B9=B45=E6=9C=8817=E6=97=A5=E7=81=AB=E6=9B=9C=E6=97=A5 6=E6=99=8224=
=E5=88=8659=E7=A7=92 UTC+9 joewo...@gmail.com:<blockquote class=3D"gmail_qu=
ote" style=3D"margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padd=
ing-left: 1ex;"><div dir=3D"ltr">Why scope_exit and not just a finally clau=
se? (Besides that Bjorn doesn&#39;t like finally.)<br><br>On Monday, May 16=
, 2016 at 12:49:03 PM UTC-7, Christopher Horvath wrote:<blockquote class=3D=
"gmail_quote" style=3D"margin:0;margin-left:0.8ex;border-left:1px #ccc soli=
d;padding-left:1ex"><div dir=3D"ltr">Is it correct to read that the only di=
fference between unique_resource and scope_exit is whether or not there is =
an object associated with the wrapper? Meaning, unique_resource owns the ob=
ject and has a deletion function, scope_exit just has a deletion function?<=
div><br></div><div>Chris</div></div><div><br><div class=3D"gmail_quote">On =
Mon, May 16, 2016 at 12:25 PM, Andrew Sandoval <span dir=3D"ltr">&lt;<a rel=
=3D"nofollow">sand...@netwaysglobal.com</a>&gt;</span> wrote:<br><blockquot=
e class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc sol=
id;padding-left:1ex"><div dir=3D"ltr"><div>It is currently P0052.=C2=A0 I d=
on&#39;t believe that this is the latest document but P0052 is the paper nu=
mber to watch: <a href=3D"http://www.open-std.org/jtc1/sc22/wg21/docs/paper=
s/2015/p0052r0.pdf" rel=3D"nofollow" target=3D"_blank" onmousedown=3D"this.=
href=3D&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.open-std.org%2F=
jtc1%2Fsc22%2Fwg21%2Fdocs%2Fpapers%2F2015%2Fp0052r0.pdf\x26sa\x3dD\x26sntz\=
x3d1\x26usg\x3dAFQjCNHCBSsgu-tmOsb2CbmcBYE3OXAM_A&#39;;return true;" onclic=
k=3D"this.href=3D&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.open-=
std.org%2Fjtc1%2Fsc22%2Fwg21%2Fdocs%2Fpapers%2F2015%2Fp0052r0.pdf\x26sa\x3d=
D\x26sntz\x3d1\x26usg\x3dAFQjCNHCBSsgu-tmOsb2CbmcBYE3OXAM_A&#39;;return tru=
e;">http://www.open-std.org/jtc1/<wbr>sc22/wg21/docs/papers/2015/<wbr>p0052=
r0.pdf</a>.</div><div><br></div><div>As for what happened, it is still work=
ing it&#39;s way through the process driven largely by the great efforts of=
 Peter Sommerlad and others who have been very helpful in refining the docu=
ment, etc.</div><div><br></div><div>-Andrew Sandoval</div></div><div><div><=
div><br><div class=3D"gmail_quote">On Mon, May 16, 2016 at 1:36 PM,  <span =
dir=3D"ltr">&lt;<a rel=3D"nofollow">joewo...@gmail.com</a>&gt;</span> wrote=
:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-le=
ft:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">Out of curiosity, what=
 happened to N3949? (Scoped Resource - Generic RAII Wrapper for the Standar=
d Library)<span><font color=3D"#888888"><br></font></span></div><span><font=
 color=3D"#888888">

<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 rel=3D"nofollow">std-proposal...@isocpp.org</a>.<br>
To post to this group, send email to <a rel=3D"nofollow">std-pr...@isocpp.o=
rg</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/e8e32c60-a0e5-413a-81c0-518d051bf8b6%=
40isocpp.org?utm_medium=3Demail&amp;utm_source=3Dfooter" rel=3D"nofollow" t=
arget=3D"_blank" onmousedown=3D"this.href=3D&#39;https://groups.google.com/=
a/isocpp.org/d/msgid/std-proposals/e8e32c60-a0e5-413a-81c0-518d051bf8b6%40i=
socpp.org?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" on=
click=3D"this.href=3D&#39;https://groups.google.com/a/isocpp.org/d/msgid/st=
d-proposals/e8e32c60-a0e5-413a-81c0-518d051bf8b6%40isocpp.org?utm_medium\x3=
demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com=
/a/<wbr>isocpp.org/d/msgid/std-<wbr>proposals/e8e32c60-a0e5-413a-<wbr>81c0-=
518d051bf8b6%40isocpp.org</a><wbr>.<br>
</font></span></blockquote></div><br><br clear=3D"all"><br></div></div>-- <=
br><div><font size=3D"4"><b style=3D"color:rgb(153,0,0);font-family:comic s=
ans ms,sans-serif">Andrew L. Sandoval</b></font><br><span style=3D"font-fam=
ily:courier new,monospace"><a rel=3D"nofollow">sand...@netwaysglobal.com</a=
></span><br><br><a href=3D"http://mormon.org/me/72HW/" rel=3D"nofollow" tar=
get=3D"_blank" onmousedown=3D"this.href=3D&#39;http://www.google.com/url?q\=
x3dhttp%3A%2F%2Fmormon.org%2Fme%2F72HW%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3=
dAFQjCNEzm0OFpzttfdfpbhhFHcuCMJyD5Q&#39;;return true;" onclick=3D"this.href=
=3D&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fmormon.org%2Fme%2F72HW%=
2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEzm0OFpzttfdfpbhhFHcuCMJyD5Q&#39=
;;return true;"><img src=3D"https://lh3.googleusercontent.com/proxy/sA-rEBt=
QXhYNlSMtVI64AIb0t9OdVc6GEpTfHEmWFEGNtja4ntsMpLnUcJpkkAIQPudY1K5qu6njlAb4TT=
IhnFg_1Ie-lUXNIJt8ekhiwPyRFuKMQwrxyXMckJt0iSU=3Dw5000-h5000" alt=3D"qrcode"=
 height=3D"62" width=3D"62"></a><br></div>
</div><span>

<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 rel=3D"nofollow">std-proposal...@isocpp.org</a>.<br>
To post to this group, send email to <a rel=3D"nofollow">std-pr...@isocpp.o=
rg</a>.<br></span>
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/CAJEeERVn3KwUN%2B-c-5xmJcW7BwfZXZk0TB=
dKRZr%2BxjtP8ABUvA%40mail.gmail.com?utm_medium=3Demail&amp;utm_source=3Dfoo=
ter" rel=3D"nofollow" target=3D"_blank" onmousedown=3D"this.href=3D&#39;htt=
ps://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAJEeERVn3KwUN%2B=
-c-5xmJcW7BwfZXZk0TBdKRZr%2BxjtP8ABUvA%40mail.gmail.com?utm_medium\x3demail=
\x26utm_source\x3dfooter&#39;;return true;" onclick=3D"this.href=3D&#39;htt=
ps://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAJEeERVn3KwUN%2B=
-c-5xmJcW7BwfZXZk0TBdKRZr%2BxjtP8ABUvA%40mail.gmail.com?utm_medium\x3demail=
\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/a/<wb=
r>isocpp.org/d/msgid/std-<wbr>proposals/CAJEeERVn3KwUN%2B-c-<wbr>5xmJcW7Bwf=
ZXZk0TBdKRZr%<wbr>2BxjtP8ABUvA%40mail.gmail.com</a>.<br>
</blockquote></div><br></div>
</blockquote></div></blockquote></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/190cc69d-2c28-4cd9-b056-808b25da43c4%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/190cc69d-2c28-4cd9-b056-808b25da43c4=
%40isocpp.org</a>.<br />

------=_Part_6223_1681233467.1463455697270--

------=_Part_6222_1812811569.1463455697270--

.


Author: Nicol Bolas <jmckesson@gmail.com>
Date: Tue, 17 May 2016 08:32:29 -0700 (PDT)
Raw View
------=_Part_413_28459958.1463499150191
Content-Type: multipart/alternative;
 boundary="----=_Part_414_1856332159.1463499150191"

------=_Part_414_1856332159.1463499150191
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Monday, May 16, 2016 at 11:28:17 PM UTC-4, =E6=88=B8=E8=88=98=E5=A4=A2=
=E5=BD=A6 wrote:
>
> Latest proposal of RAII wrapper is P0052R2
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0052r2.pdf
> and discussion is=20
>
> https://groups.google.com/a/isocpp.org/forum/#!searchin/std-proposals/p00=
52r2/std-proposals/b74TFYOWRB8/lafn82XbAwAJ
>
> The most serious issue of this proposal I think is "There is no way to=20
> detect failure when executed deletion function at destractor".
>

.... huh?
=20

>
> >Is it correct to read that the only difference between unique_resource=
=20
> and scope_exit is whether or not there is an object associated with the=
=20
> wrapper? Meaning, unique_resource owns the object and has a deletion=20
> function, scope_exit just has a deletion function?=20
>

> That's right, I think, however, p0052r2's scope_exit class has=20
> "uncaught_on_creation()" member function and I don't know what it is.
>

That's not a member function; it's merely a member variable. And it's=20
private. And it's exposition-only.

The purpose of it is for the class's destructor to be able to tell whether=
=20
the object was created during stack unwinding or before stack unwinding. If=
=20
it was created before unwinding, then the destructor is being called=20
because the stack is being unwound, and therefore represents a=20
scope-failure. Otherwise, the destructor is being called because the stack=
=20
is exiting normally.

--=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/21bab9cb-ed2b-4669-bd0a-17372f84a0b9%40isocpp.or=
g.

------=_Part_414_1856332159.1463499150191
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">On Monday, May 16, 2016 at 11:28:17 PM UTC-4, =E6=88=B8=E8=
=88=98=E5=A4=A2=E5=BD=A6 wrote:<blockquote class=3D"gmail_quote" style=3D"m=
argin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"=
><div>Latest proposal of RAII wrapper is P0052R2<br><a href=3D"http://www.o=
pen-std.org/jtc1/sc22/wg21/docs/papers/2016/p0052r2.pdf" target=3D"_blank" =
rel=3D"nofollow" onmousedown=3D"this.href=3D&#39;http://www.google.com/url?=
q\x3dhttp%3A%2F%2Fwww.open-std.org%2Fjtc1%2Fsc22%2Fwg21%2Fdocs%2Fpapers%2F2=
016%2Fp0052r2.pdf\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEqKeTxHXu_HX1c1mD=
ejKhoKONJvA&#39;;return true;" onclick=3D"this.href=3D&#39;http://www.googl=
e.com/url?q\x3dhttp%3A%2F%2Fwww.open-std.org%2Fjtc1%2Fsc22%2Fwg21%2Fdocs%2F=
papers%2F2016%2Fp0052r2.pdf\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEqKeTxH=
Xu_HX1c1mDejKhoKONJvA&#39;;return true;">http://www.open-std.org/jtc1/<wbr>=
sc22/wg21/docs/papers/2016/<wbr>p0052r2.pdf</a><br>and discussion is <br><a=
 href=3D"https://groups.google.com/a/isocpp.org/forum/#!searchin/std-propos=
als/p0052r2/std-proposals/b74TFYOWRB8/lafn82XbAwAJ" target=3D"_blank" rel=
=3D"nofollow" onmousedown=3D"this.href=3D&#39;https://groups.google.com/a/i=
socpp.org/forum/#!searchin/std-proposals/p0052r2/std-proposals/b74TFYOWRB8/=
lafn82XbAwAJ&#39;;return true;" onclick=3D"this.href=3D&#39;https://groups.=
google.com/a/isocpp.org/forum/#!searchin/std-proposals/p0052r2/std-proposal=
s/b74TFYOWRB8/lafn82XbAwAJ&#39;;return true;">https://groups.google.com/a/<=
wbr>isocpp.org/forum/#!searchin/<wbr>std-proposals/p0052r2/std-<wbr>proposa=
ls/b74TFYOWRB8/<wbr>lafn82XbAwAJ</a><br><br>The most serious issue of this =
proposal I think is &quot;There is no way to detect failure when executed d=
eletion function at destractor&quot;.<br></div></blockquote><div><br>... hu=
h?<br>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin: 0;marg=
in-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div><br>&gt=
;Is it correct to read that the only difference between unique_resource=20
and scope_exit is whether or not there is an object associated with the=20
wrapper? Meaning, unique_resource owns the object and has a deletion=20
function, scope_exit just has a deletion function?=C2=A0</div></blockquote>=
<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;bor=
der-left: 1px #ccc solid;padding-left: 1ex;"><div dir=3D"ltr"><br>That&#39;=
s right, I think, however, p0052r2&#39;s scope_exit class has &quot;uncaugh=
t_on_creation()&quot; member function and I don&#39;t know what it is.<br><=
/div></blockquote><div><br>That&#39;s not a member function; it&#39;s merel=
y a member variable. And it&#39;s private. And it&#39;s exposition-only.<br=
><br>The purpose of it is for the class&#39;s destructor to be able to tell=
 whether the object was created during stack unwinding or before stack unwi=
nding. If it was created before unwinding, then the destructor is being cal=
led because the stack is being unwound, and therefore represents a scope-fa=
ilure. Otherwise, the destructor is being called because the stack is exiti=
ng normally.</div><br></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/21bab9cb-ed2b-4669-bd0a-17372f84a0b9%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/21bab9cb-ed2b-4669-bd0a-17372f84a0b9=
%40isocpp.org</a>.<br />

------=_Part_414_1856332159.1463499150191--

------=_Part_413_28459958.1463499150191--

.


Author: =?UTF-8?B?5oi46IiY5aSi5b2m?= <yume960222jp@gmail.com>
Date: Tue, 17 May 2016 10:43:41 -0700 (PDT)
Raw View
------=_Part_2598_882389412.1463507021311
Content-Type: multipart/alternative;
 boundary="----=_Part_2599_15551957.1463507021321"

------=_Part_2599_15551957.1463507021321
Content-Type: text/plain; charset=UTF-8



>
> That's not a member function; it's merely a member variable. And it's
> private. And it's exposition-only.
>
>
Oh...I missed it. Thank you.

--
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/7ca54586-873d-4f11-a68e-9a5ff50dfe1e%40isocpp.org.

------=_Part_2599_15551957.1463507021321
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div></div><blockquote class=3D"gmail_quote" style=3D"marg=
in: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><d=
iv dir=3D"ltr"><div></div><div><br>That&#39;s not a member function; it&#39=
;s merely a member variable. And it&#39;s private. And it&#39;s exposition-=
only.<br><br></div></div></blockquote><div><br>Oh...I missed it. Thank you.=
<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/7ca54586-873d-4f11-a68e-9a5ff50dfe1e%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/7ca54586-873d-4f11-a68e-9a5ff50dfe1e=
%40isocpp.org</a>.<br />

------=_Part_2599_15551957.1463507021321--

------=_Part_2598_882389412.1463507021311--

.