[comp.lang.c++] Automatic objects and longjmp

cauble@cbnewsj.ATT.COM (Troy Cauble) (03/10/90)

When automatic objects are used within a block that
has function calls that do not return, the destructors
are not called.  Longjmp() and the c++ tasking library
are two ways in which a block of code can be left
without "falling off the end".

Does anybody have a way to make sure these destructors
are called?  We're still using AT&T's C++ version 1.2
with some virtual destructor enhancements, by the way.

/tlc