[Issue 14683] New: atomicop comparison returntype incorrect

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Jun 11 02:04:38 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14683

          Issue ID: 14683
           Summary: atomicop comparison returntype incorrect
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P1
         Component: druntime
          Assignee: nobody at puremagic.com
          Reporter: r9shackleford at gmail.com

for example, atomicOp!"<"(integer, integer) returns a type of integer that's
either 0 or 1. Shouldn't it return a boolean?

--


More information about the Digitalmars-d-bugs mailing list