Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!apple!Apple.COM!lsr From: lsr@Apple.COM (Larry Rosenstein) Newsgroups: comp.lang.c++ Subject: Re: Functions not defined in base class Message-ID: <1673@internal.Apple.COM> Date: 5 May 89 19:00:02 GMT References: <897@servax0.ESSEX.AC.UK> Sender: usenet@Apple.COM Organization: Objects-R-Us, Apple Computer, Inc. Lines: 15 In article <897@servax0.ESSEX.AC.UK> goss@ese.essex.ac.uk (Gossain Sanjiv (5N.7.10)) writes: > I have a particular application where I am representing a group > of related classes by an abstract class. Now, I require that A good thing to do, assuming you haven't already, is to make the constructor for the abstract class protected. Then clients cannot create instances of the abstract classes, only of the concrete classes (which have public constructors). Larry Rosenstein, Apple Computer, Inc. Object Specialist Internet: lsr@Apple.com UUCP: {nsc, sun}!apple!lsr AppleLink: Rosenstein1