overloading operators for I/O
Andrei Alexandrescu (See Website For Email)
SeeWebsiteForEmail at erdani.org
Wed Feb 14 18:31:03 PST 2007
Derek Parnell wrote:
> On Wed, 14 Feb 2007 14:45:50 -0800, Walter Bright wrote:
>
>> Michiel wrote:
>>> To sum up: I love D. But I also like the streaming operator.
>> I didn't expect to convince you <g>.
>
> Moving away from the idea of *overloading* existing operators, is there any
> case for new operators that implement I/O?
Imho the only serious reason for overloading << in C++ for I/O was the
lack of decent variadic functions.
Andrei
More information about the Digitalmars-d
mailing list