Re: Rational of some DMD decisions
Thank you for your reply. I didn't know that it isn't possible to overload the post-inc and decrement operators in Dlang but I think I don't even miss this feature if pre-inc/dec is still available. =)
Re: Rational of some DMD decisions
On 02/08/2015 01:05 PM, Robin wrote: the postfix inc and decrement expressions are inherited from BinExpr (binary expression) which define their second expression to be an integer expression with a value of 1. Post-increment cannot be overloaded in D. It is always implemented in terms of pre-