Abstract functions in child classes

Regan Heath regan at netmail.co.nz
Fri Dec 2 09:20:13 PST 2011


On Fri, 02 Dec 2011 17:10:33 -0000, Adam <Adam at anizi.com> wrote:
> So what do I have to do to prevent this? I have to *explicitly*
> check that Child is or is not instantiable, probably via unittest.

YES!  If you're releasing a library and not doing this... bad, bad, bad  
you :)

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/


More information about the Digitalmars-d-learn mailing list