overloading operators for I/O

Walter Bright newshound at digitalmars.com
Wed Feb 14 22:25:46 PST 2007


Chad J wrote:
> Hmmmm, abstract algebra...
> would this be easily parsable?
> other objections?
> a = b (+) c;
> a = b (-) c;
> a = b (*) c;
> a = b (^) c;
> a = b (|) c;
> a = b ($) c;
> a = b (?) c;
> etc...

Yes.



More information about the Digitalmars-d mailing list