Re: How to make base class abstract?


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]

Posted by D. Barnette on November 28, 2001 at 14:47:44:

In Reply to: How to make base class abstract? posted by Chris on November 27, 2001 at 18:35:47:

IMHO if a base class does not contain at least one FN() that is not shared by all of the derived classes then your inheritance hierarchy is probably wrong. Otherwise the only answer I see to your question would be to add a dummy pure virtual FN() to the base to force it to be abstract.


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]