Operator overloading -- lets collect some use cases

Walter Bright newshound1 at digitalmars.com
Tue Dec 30 17:42:43 PST 2008

Don wrote:
> But I know of very few reasonable non-mathematical uses.
> In C++, I've seen them used for iostreams, regexps,

Those are not reasonable non-mathematical uses. I've hated C++ iostreams 
from their very beginning. I never use them outside of test code.

I think Andrei got it right with writefln().

More information about the Digitalmars-d mailing list