> > > The curly brackets have no functional meaning... > > "Curly brackets have no functional meaning"? Surely you must be > thinking of C, but not C++. Some of the most powerful idioms (idia?) > of C++ make use of functionality that runs when a closing bracket > causes local variables to fall out of scope. In fact, this technique > is crucial to writing exception-safe code.
The curly brackets have no functional meaning in the scope of the example I have written in my original mail. I usually ask C++ memory management issues in in the relevant newsgroup :) -- http://mail.python.org/mailman/listinfo/python-list