TDPL: Operator Overloading

Andrej Mitrovic andrej.mitrovich at test.com
Wed Aug 25 08:20:09 PDT 2010


Although that might not work with floats since that would call foo with a NaN value, and if it used that, well that wouldn't really work.

I could use N.max, but that doesn't work with strings.

Andrej Mitrovic Wrote:

> The following seems to work, although I don't know if that's a good idea?:



More information about the Digitalmars-d-learn mailing list