Deprecation
Steven Schveighoffer via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri May 15 10:04:58 PDT 2015
On 5/15/15 12:50 PM, Manfred Nowak wrote:
>> Deprecation: super is not an lvalue
>
> 1) How to know when this will indeed be deprecated?
> 2) What does it mean, when `super++' is signalled as depracation, but
> `super+=' is not signalled?
That seems like a bug.
I think super being an lvalue in this context simply means that the
*reference* is not an lvalue (e.g. you can't do super =
someOtherObject), not the object it points at.
Clearly anything that is passed by reference is an lvalue.
-Steve
More information about the Digitalmars-d-learn
mailing list