This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [basic-improvements] try/finally support for c/c++ - more tests


On Thu, Nov 07, 2002 at 01:10:57AM +0100, Gabriel Dos Reis wrote:
> | Further, try/catch/rethrow does not express what happens when
> | you use goto/break/continue/return to leave the try block.
> 
> Leaving a scope always implies destructors being run for local
> objects. 

Correct.  But it doesn't imply running Y in Mark's example.
Which is exactly my point.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]