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

           Summary: Destructor call omitted for NRVO'd struct in
                    exceptional case
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from safety0ff.bugz <[email protected]> 2014-01-30 
14:17:20 PST ---
Created an attachment (id=1318)
Bug demonstration

I was trying to work out how NRVO in DMD worked (to take a stab at #10929,) and
it looked like it might be omitting the calls even when an exception is thrown,
so I ran a test and it looks like it does omit them (See attached code.)

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

Reply via email to