Operator overloading -- lets collect some use cases

John Reimer terminal.node at gmail.com
Tue Dec 30 21:09:29 PST 2008


Hello Walter,

> 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().
> 


What does 'fln' stand for?  Is that something like "Format with LiNe carriage 
return"?   

With apologies to Andrei, I can't agree that it's pretty, but I suppose it 
works. :)

-JJR





More information about the Digitalmars-d mailing list