new operator overloading

knjhara knjhara at cc.kyoto-su.ac.jp
Sun Mar 12 07:26:18 PST 2006


How about this?

foreach( ...; obj[m .. n] )

means

int obj.opSliceApply(m, n, int delegate(...) dg)

It is removed the necessity of making tmpObj(like struct) for opApply;

--
knjhara



More information about the Digitalmars-d mailing list