Re: exceptions & dataflow

Amit Bhatnagar <amitb@sasi.com>
12 Feb 1998 13:37:56 -0500

          From comp.compilers

Related articles
[7 earlier articles]
Re: exceptions & dataflow jason@cygnus.com (Jason Merrill) (1998-02-10)
Re: exceptions & dataflow mcdirmid@beaver.cs.washington.edu (1998-02-10)
Re: exceptions & dataflow jeremy@softway.com.au (1998-02-10)
Re: exceptions & dataflow jason@cygnus.com (Jason Merrill) (1998-02-12)
Re: exceptions & dataflow fjh@hydra.cs.mu.oz.au (Fergus Henderson) (1998-02-12)
Re: exceptions & dataflow chase@world.std.com (David Chase) (1998-02-12)
Re: exceptions & dataflow amitb@sasi.com (Amit Bhatnagar) (1998-02-12)
Re: exceptions & dataflow dlmoore@ix.netcom.com (David L Moore) (1998-02-14)
Re: exceptions & dataflow sergey@solyanik.com (Sergey Solyanik) (1998-02-14)
Re: exceptions & dataflow leichter@smarts.com (Jerry Leichter) (1998-02-14)
| List of all articles for this month |
From: Amit Bhatnagar <amitb@sasi.com>
Newsgroups: comp.compilers
Date: 12 Feb 1998 13:37:56 -0500
Organization: Compilers Central
Keywords: C++, question

Hi,


I accidently found out that within a block the destructors of the
objects inside that block are NOT called in C++. They are only called
when the stack for the function call winds up. Do u think this is a
good approach?


I would prefer that all the destructors for the local block be called
as soon as the scope of the variable is over.


I am not familiar with Java, but is a 'finalizer' similar kind of a
concept?


Amit.
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.