Attribute inference for auto functions?
Walter Bright
newshound2 at digitalmars.com
Wed Apr 17 18:58:25 PDT 2013
On 4/17/2013 6:32 PM, deadalnix wrote:
> No : if a super function suddenly become pure because its implementation
> changed, then all kind of subclasses can broke. Generally, it is a bad idea for
> a super class to be aware of its subclasses.
Yet this is the same issue as auto for other functions.
> But defining a function that is going to be overridden as auto is asking for
> trouble in the first place.
Of course.
More information about the Digitalmars-d
mailing list