Operator Overloading - elegant and easy to compile
Bill Baxter
dnewsgroup at billbaxter.com
Tue Apr 15 13:30:04 PDT 2008
Leandro Lucarella wrote:
> Bill Baxter, el 15 de abril a las 08:50 me escribiste:
>> Also Walter doesn't like treating the operator symbols as pure symbols. Part of the
>> reason he gave the D operator overloads names like "opAdd" was to discourage people from
>> trying to overload "+" to mean anything other than addition. So your proposal will face
>> an uphill battle because of that.
>
> I think Walter forgot that when he added opStar ;)
Yeh, I think there was pretty much a consensus on the NG that it should
be called opDeref.
--bb
More information about the Digitalmars-d
mailing list