https://d.puremagic.com/issues/show_bug.cgi?id=12442



--- Comment #1 from Rainer Schuetze <[email protected]> 2014-03-23 02:01:32 
PDT ---
The same happens with RAII:

struct SCount
{
    this(bool) nothrow { recurse++; }
    ~this() nothrow { recurse--; }
}

uint wrapper_raii() nothrow
{
    SCount sc = SCount(true);
    return fun();
}

produces almost the same code as scope(exit).

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to