DMD v2.066.0-b2
David Nadlinger via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Wed Jul 9 05:21:18 PDT 2014
On Wednesday, 9 July 2014 at 12:11:13 UTC, Andrew Edwards wrote:
> remove the "string components" parameter form opDispatch to
> reveal the same error.
Hm, could you elaborate a bit further on this? As per the spec,
opDispatch requires a string parameter
(http://dlang.org/operatoroverloading.html#Dispatch). Removing it
means that the compiler no longer considers the template to match
the opDispatch signature, and thus of course .xyz fails.
David
More information about the Digitalmars-d-announce
mailing list