Topic: Want specs on "finally


Author: "Allan D. Clarke" <clarke@ses.com>
Date: 1997/01/24
Raw View
I saw a reference to a "finally" clause recently on this
group. I am assuming that it functions as the last executed
code from a function whether the exit is due to normal
control flow or to an exception.

Can anyone point me to more details describing this? I have
not been able to find it in the materials I have onhand.

Many Thanks,

Allan

--
:  Allan Clarke  : "All that is necessary for evil to abound is for   :
: clarke@ses.com :       good men to do nothing" -Edmond Burke        :
:    SES, Inc    :             http://www.ses.com/~clarke             :
: Austin, Texas  :           512/328-5544  512/327-6646(fax)          :
---
[ comp.std.c++ is moderated.  To submit articles: Try just posting with your
                newsreader.  If that fails, use mailto:std-c++@ncar.ucar.edu
  comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
  Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
  Comments? mailto:std-c++-request@ncar.ucar.edu
]





Author: fjh@mundook.cs.mu.OZ.AU (Fergus Henderson)
Date: 1997/01/25
Raw View
"Allan D. Clarke" <clarke@ses.com> writes:

>I saw a reference to a "finally" clause recently on this
>group. [...]
>Can anyone point me to more details describing this? I have
>not been able to find it in the materials I have onhand.

Standard C++ does _not_ have a "finally" clause.

(Some other languages, such as Java and Modula-III(?) do,
so if you're still looking for more information, try
comp.lang.java.* or a the Java reference manual.)

--
Fergus Henderson <fjh@cs.mu.oz.au>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger fjh@128.250.37.3         |     -- the last words of T. S. Garp.
---
[ comp.std.c++ is moderated.  To submit articles: Try just posting with your
                newsreader.  If that fails, use mailto:std-c++@ncar.ucar.edu
  comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
  Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
  Comments? mailto:std-c++-request@ncar.ucar.edu
]