diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-08-13 07:48:44 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-08-13 07:48:44 +0000 |
commit | 3545dfda606b3caea94c5a4239130201e253196e (patch) | |
tree | 1da9a9d6474383d894c6b8cc4393c934ba7fc645 /gcc/extend.texi | |
parent | 1a2fb812ba6c2e08944d75d306653e3502de3cfd (diff) | |
download | gcc-3545dfda606b3caea94c5a4239130201e253196e.tar.gz |
remove obsolete destructors and goto node
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28701 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/extend.texi')
-rw-r--r-- | gcc/extend.texi | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/gcc/extend.texi b/gcc/extend.texi index 253b0e63567..a8ebfc8e152 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 |