[Issue 7733] [tdpl] opIndexUnary not called with postfix increment/decrement operators
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Mar 20 06:49:46 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7733
--- Comment #2 from hsteoh at quickfur.ath.cx 2012-03-20 06:50:03 PDT ---
TDPL references:
p.378: "Postincrement and postdecrement are generated automatically from
preincrement and predecrement, as described in § 12.2.2 on page 369.
p.369: describes the rewriting of x++ as ++x when the value is not needed, and
as ((ref x){auto t=x; ++x; return t;})(a) when the value is needed.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list