K
keith
Dear mentors and gurus,
I noticed at the end of section 22.4 of the 'FAQ-Lite' it says "Note
that it is possible to provide a definition for a pure virtual
function, but this usually confuses novices and is best avoided until
later".
I've read through all the later stuff, and (although I may have missed
it) I can't find anything further on this. Can someone please explain
why in all the Halls of Hades you would declare a member function to
be pure virtual (i.e. _must_ be provided by any derived class) and
then provide a definition for it in the Abstract Base Class?!
Thx
I noticed at the end of section 22.4 of the 'FAQ-Lite' it says "Note
that it is possible to provide a definition for a pure virtual
function, but this usually confuses novices and is best avoided until
later".
I've read through all the later stuff, and (although I may have missed
it) I can't find anything further on this. Can someone please explain
why in all the Halls of Hades you would declare a member function to
be pure virtual (i.e. _must_ be provided by any derived class) and
then provide a definition for it in the Abstract Base Class?!
Thx