Thread overview
[Sharing] D's scope statement in C++ (Reddit)
Nov 29, 2013
MattCoder
Nov 29, 2013
Jacob Carlborg
November 29, 2013
Hi,

I would like to share this article "D's scope statement in C++" that I just found:

http://cppsecrets.blogspot.ca/2013/11/ds-scope-statement-in-c.html

Original source:

http://www.reddit.com/r/programming/comments/1rp8es/c_secrets_ds_scope_statement_in_c/

Matheus.
November 29, 2013
On 2013-11-29 14:45, MattCoder wrote:
> Hi,
>
> I would like to share this article "D's scope statement in C++" that I
> just found:
>
> http://cppsecrets.blogspot.ca/2013/11/ds-scope-statement-in-c.html
>
> Original source:
>
> http://www.reddit.com/r/programming/comments/1rp8es/c_secrets_ds_scope_statement_in_c/

This is nothing new. The Loki library contains a scope guard implementation, if I recall correctly.

-- 
/Jacob Carlborg
November 29, 2013
On 11/29/13 5:45 AM, MattCoder wrote:
> Hi,
>
> I would like to share this article "D's scope statement in C++" that I
> just found:
>
> http://cppsecrets.blogspot.ca/2013/11/ds-scope-statement-in-c.html
>
> Original source:
>
> http://www.reddit.com/r/programming/comments/1rp8es/c_secrets_ds_scope_statement_in_c/

uncaught_exception? No, he's way off.

Andrei