On 2012-05-16 15:10, Steven Schveighoffer wrote:

I don't see exception handling in the generated code (at least I don't
see the _d_local_unwind2), I wonder a) if this is more efficient than
scope(exit), and b) if so, why can't the compiler do this automatically?

I'm guessing because constructors and destructors hadn't been introduced for structs when the scope-statement was.

--
/Jacob Carlborg

Reply via email to