Topic: exception thrown in dtor


Author: oliva@dcc.unicamp.br (Alexandre Oliva)
Date: 1996/06/19
Raw View
Hi there!

I've been  reading the C++ standard (Jan'96   DWP), checking whether a
destructor which  throws    an exception shall    invoke  base-classes
destructors or not.

The   only paragraph I  found a  possible  requirement  of  that is in
[except.ctor],   item  2, where it   says   that partially constructed
objects   will   have   destructors   invoked  for  fully  constructed
sub-objects.

Is   a   partially  destructed   object considered   to   be partially
constructed?

Sorry if this has been asked before; if it has, maybe it deserved some
footnote on the standard.

I'd be  grateful if I  got replies by e-mail too,  for  my newsfeed is
rather unreliable.
--
Alexandre Oliva
oliva@dcc.unicamp.br
Universidade Estadual de Campinas, S~ao Paulo, Brasil


[ comp.std.c++ is moderated.  To submit articles: try just posting with      ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu         ]
[ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
[ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]