What is going on here?

Shachar Shemesh via Digitalmars-d digitalmars-d at puremagic.com
Sun Mar 8 09:59:58 PDT 2015

On 08/03/15 15:56, w0rp wrote:

> So if you want something to work as of right now, do that.

I realize that. What I'm saying is that this is unacceptable. This 
violates D's own standard.

 From http://dlang.org/exception-safe.html:
> The RAII (Resource Acquisition Is Initialization) idiom and the try-finally statement form the backbone of the traditional approaches to writing exception safe programming.

Except RAII doesn't work. I won't repeat the reasons, but this behavior 
and RAII simply cannot exist in the same language.


More information about the Digitalmars-d mailing list