Operator Overloading - elegant and easy to compile

Leandro Lucarella llucax at gmail.com
Tue Apr 15 08:05:09 PDT 2008


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 ;)

-- 
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
----------------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------------
Yo soy peperino el que siempre pone el vino, yo soy aquel que come los
huevos con tocino.
	-- Peperino Pómoro



More information about the Digitalmars-d mailing list