aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>1999-08-13 03:48:44 -0400
committerJason Merrill <jason@gcc.gnu.org>1999-08-13 03:48:44 -0400
commit80dabe332af45fd572921d401c07e3879bd0d90e (patch)
tree1da9a9d6474383d894c6b8cc4393c934ba7fc645
parentafe60c51edec54d90be85ae181710141320587ca (diff)
downloadgcc-80dabe332af45fd572921d401c07e3879bd0d90e.zip
gcc-80dabe332af45fd572921d401c07e3879bd0d90e.tar.gz
gcc-80dabe332af45fd572921d401c07e3879bd0d90e.tar.bz2
remove obsolete destructors and goto node
From-SVN: r28701
-rw-r--r--gcc/extend.texi15
1 files changed, 0 insertions, 15 deletions
diff --git a/gcc/extend.texi b/gcc/extend.texi
index 253b0e6..a8ebfc8 100644
--- a/gcc/extend.texi
+++ b/gcc/extend.texi
@@ -3150,8 +3150,6 @@ Predefined Macros,cpp.info,The C Preprocessor}).
@menu
* Naming Results:: Giving a name to C++ function return values.
* Min and Max:: C++ Minimum and maximum operators.
-* Destructors and Goto:: Goto is safe to use in C++ even when destructors
- are needed.
* C++ Interface:: You can use a single C++ header file for both
declarations and definitions.
* Template Instantiation:: Methods for ensuring that exactly one copy of
@@ -3318,19 +3316,6 @@ Since @code{<?} and @code{>?} are built into the compiler, they properly
handle expressions with side-effects; @w{@samp{int min = i++ <? j++;}}
works correctly.
-@node Destructors and Goto
-@section @code{goto} and Destructors in GNU C++
-
-@cindex @code{goto} in C++
-@cindex destructors vs @code{goto}
-In C++ programs, you can safely use the @code{goto} statement. When you
-use it to exit a block which contains aggregates requiring destructors,
-the destructors will run before the @code{goto} transfers control.
-
-@cindex constructors vs @code{goto}
-The compiler still forbids using @code{goto} to @emph{enter} a scope
-that requires constructors.
-
@node C++ Interface
@section Declarations and Definitions in One Header