Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!dino!ux1.cso.uiuc.edu!ux1.cso.uiuc.edu!m.cs.uiuc.edu!nelson From: nelson@m.cs.uiuc.edu Newsgroups: comp.lang.c++ Subject: True Virtual / Exceptions Message-ID: <4800082@m.cs.uiuc.edu> Date: 23 Jan 90 01:30:50 GMT Lines: 21 Nf-ID: #N:m.cs.uiuc.edu:4800082:000:913 Nf-From: m.cs.uiuc.edu!nelson Jan 22 09:26:00 1990 Two questions about "newer" C++: 1. When using abstract classes, ie with true virtual functions like ding dong::dell (foo bar) = 0; is a constructor permitted? "The Evolution of C++" says nothing about this, but G++ seems to disallow it on the grounds that you are creating an object of that class when the subclasses call the constructor. That is, in a sense, true, but it removes an extrememly handy thing. As a hack, I suppose there could be an initialization routine, but... Does anyone know anything further about this??? 2. In the 1987 paper "Possible Directions for C++", Stroustrup mentions an exception handling scheme. Has anyone or any compilers implemented any sort of error-handling scheme. We are about to begin a large C++ project, and nice/varied error handling is something that has to be figured out at the start. Suggestions? Danke!