Inheritance of purity

Walter Bright newshound2 at
Sat Feb 18 10:25:21 PST 2012

On 2/18/2012 6:49 AM, kenji hara wrote:
> After some thoughts, I agree that inheritance of pure @safe, and
> nothrow is good feature.
> But I disagree to const inference, because const attribute interacts
> with overloadings.

The const inheritance *only* happens if otherwise you'd get a covariance error. 
It does not change the meaning of any existing code that compiled successfully.

More information about the Digitalmars-d mailing list