http://d.puremagic.com/issues/show_bug.cgi?id=4756

           Summary: core.atomic should have atomicOp!"="
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime
        AssignedTo: s...@invisibleduck.org
        ReportedBy: dsim...@yahoo.com


--- Comment #0 from David Simcha <dsim...@yahoo.com> 2010-08-29 08:47:38 PDT ---
This is technically an enhancement, but it severely limits the usability of
core.atomic and seems like a pretty silly omission.  The following code needs
to work:

int num = 1;
atomicOp!"="(num, 2);  // Atomically set num to 2.

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

Reply via email to