This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: defining a pure virtual
- To: Benoit Hudson <bh at techhouse dot brown dot edu>
- Subject: Re: defining a pure virtual
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 31 Aug 2000 17:47:51 -0300
- Cc: gcc-bugs at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <20000831162510.C21731@techhouse.brown.edu>
On Aug 31, 2000, Benoit Hudson <bh@techhouse.brown.edu> wrote:
> I've just noticed that defining a pure virtual function works.
Yep. It's supposed to work. A pure virtual member function means the
enclosing class is abstract and the function *may* not be implemented
for it. It doesn't mean the member function mustn't be implemented.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me