gcc.info: Destructors and Goto
Go forward to C++ Interface
Go backward to Min and Max
Go up to C++ Extensions
Go to the top op gcc
`goto' and Destructors in GNU C++
In C++ programs, you can safely use the `goto' statement. When you
use it to exit a block which contains aggregates requiring destructors,
the destructors will run before the `goto' transfers control.
The compiler still forbids using `goto' to *enter* a scope that
requires constructors.
Created Wed Sep 1 16:42:20 2004 on bee with info_to_html version 0.9.6.