This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: I want try...finally
- From: Branko Äibej <brane at xbc dot nu>
- To: "Andrew V. Fionik" <fionika at papillon dot ru>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 15 May 2003 21:06:56 +0200
- Subject: Re: I want try...finally
- References: <000001c31afb$2dcc40e0$fc15a8c0@timberwolf>
Andrew V. Fionik wrote:
>Hi, guys.
>
>I think that you doing great job by making GCC and G++. However i feel that
>C++
>compiler lacks support for one great language construct "try...finally". I'm
>sure you know about it. It widely used in prooperitary Microsoft and Borland
>C++/Delphi compilers. This construct allows to easy write safe, elegant, and
>well readably code.
>
Anything that can be done with try...finally can also be done with
destructors without extending the language.
--
Brane Äibej <brane@xbc.nu> http://www.xbc.nu/brane/