[nem-en] incorrect side effect of ++ operator
Pawel W. Olszta
pawel.olszta at gmail.com
Mon Sep 27 17:59:14 CEST 2004
> How about a macro replacing the ++ prefix operator and ++ postfix operator
> with the coresponding blocks? That way the return types of assignments
> could be left to be void and there would still be less trouble with
> all the people who got used to the way i++ and ++i work (don't forget about -- ;-)
That'd be a mess. What about allowing for ++ and -- only for top-level
expressions (with the checks made during typing to allow ++ in @for
loops etc.).
--
It's not the fall that kills you, it's the landing.
More information about the devel-en
mailing list