Summary: atomicOp!"^^" doesn't work b/c it doesn't have access
                    to std.math
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime

--- Comment #0 from David Simcha <> 2010-09-01 07:34:24 PDT ---
import core.atomic;

void main() {
    int num1 = 1;
    int num2 = 1;
    int res = atomicOp!"^^"(num1, num2);


d:\dmd2\windows\bin\..\..\src\druntime\import\core\atomic.di(96): Error: must
import std.math to use ^^ operator
d:\dmd2\windows\bin\..\..\src\druntime\import\core\atomic.di(6): Error:
template instance core.atomic.atomicOp!("^^",int,int) error instantiating

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to