Turning a scope block into not-quite-a nested function?

2007-07-02 Thread KJKHyperion
Let's say I have a function that looks like this: void a() { int n = x(); __try { y(); } __finally { z(n); w(); } } ... assuming a hypothetical extension to C syntax that turns a __try { ... } __finally { ... } into the proper TRY_FINALLY_EXPR (maybe

Re: Turning a scope block into not-quite-a nested function?

2007-07-02 Thread KJKHyperion
On 7/2/07, Paolo Bonzini [EMAIL PROTECTED] wrote: So there we are. Any suggestions? If I understand correctly, nested functions *are* what you want and there is code to do exactly what you want in the implementation of OpenMP. k, cool. Will look into it (mostly, though, I was *hoping* I

Re: I'm sorry, but this is unacceptable (union members and ctors)

2007-06-18 Thread KJKHyperion
On 6/17/07, michael.a [EMAIL PROTECTED] wrote: I appreciate the thought, but there is sort of an imperitive with this effort to shy away from Boost/STL/virtual inheritance completely. You'd be hard-pressed to find any instance of dynamic polymorphism anywhere in Boost. Most of Boost is based