Summary: opBinary is instantiated with "="
--- Comment #0 from Trass3r <mrmoc...@gmx.de> 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)
I get several instantiations with opBinary!=
Even though http://www.digitalmars.com/d/2.0/operatoroverloading.html#Binary
clearly states that "=" isn't overloadable which totally makes sense since
there is http://www.digitalmars.com/d/2.0/operatoroverloading.html#Assignment
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------