opStar
0ffh
frank at frankhirsch.youknow.what.todo.net
Sun Nov 11 16:58:47 PST 2007
Bill Baxter wrote:
> Also I noticed that if smart member access is going to be the default
> then it seems necessary to make clear it doesn't apply to operators.
> That is, ++p may be equivalent to p.opPreIncr generally, but that
> doesn't mean that ++p will call p.opDeref.opPreIncr. For that you'll
> still need the explicit dereference: ++(*p).
>
> Without that rule iterators will look pretty ugly.
Yup, I'd also like my pointer arithmetics to keep working...
Regards, Frank
More information about the Digitalmars-d
mailing list