I want try...finally
Branko Čibej
brane@xbc.nu
Thu May 15 19:06:00 GMT 2003
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/
More information about the Gcc
mailing list