overloading operators for I/O
Manfred Nowak
svv1999 at hotmail.com
Thu Feb 15 01:13:44 PST 2007
Walter Bright wrote
>> would this be easily parsable?
>> other objections?
>> a = b (+) c;
> Yes.
Then this seems to be the way to go, thanks Chad.
And because we are at it: please provide the ability to abstract
operators into families of operators by allowing an index.
This might look like (+:0), (+:1), (+:2), ... where (+) is a shorthand
for (+:0).
Because of the overloading capabilities I do not see any other urgent
need for this than to allow redundancy, but I might be wrong.
-manfred
More information about the Digitalmars-d
mailing list