Implement @disable methods as always-throw methods?

Walter Bright newshound2 at digitalmars.com
Sun Oct 2 13:05:46 PDT 2011


On 10/2/2011 10:59 AM, Timon Gehr wrote:
> Imho disabling overriden member functions is unsound and should be disallowed
> entirely.

I agree, as disabling an override doesn't make any sense. If the user wants an 
exception thrown if the overriding function is called, he can add a 'throw' in 
it himself.

How about filing a bugzilla for this?


More information about the Digitalmars-d mailing list