www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - [Sharing] D's scope statement in C++ (Reddit)

reply "MattCoder" <mattcoder hotmail.com> writes:
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.
Nov 29 2013
next sibling parent Jacob Carlborg <doob me.com> writes:
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
Nov 29 2013
prev sibling parent Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
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
Nov 29 2013