Summary: opBinary is instantiated with "="
           Product: D
           Version: 2.041
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Trass3r <> 2010-03-11 16:50:40 PST ---
This is really strange behavior. It gets even stranger over time.
It once started with

Vector2f        _pos = Vector2f(0.f, 0.f);
Error: template instance opBinary!("=") matches more than one template

Now I can't seem to reproduce it anymore.
But in a bigger project, with the following code:

Vector2 opBinary(string op, U:Vector2)(U v)
    pragma(msg, "opBinary!"~op);

I get several instantiations with opBinary!=

Even though
clearly states that "=" isn't overloadable which totally makes sense since
there is

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

Reply via email to