This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [basic-improvements] try/finally support for c/c++ - more tests
> > How are you going to handle catching exceptions, given that we have no
> > way to recognize certain types in C (templates, classes, etc)?
>
> You don't recognize types. You just catch everything. Which sounds
> perfectly reasonable from a C standpoint.
Which is what try/finally/__except does, and which other C compilers
do. I can implement that. I'm just waiting for all the dust to
settle, and if this an acceptable construct.
> acceptance in the next round of C standardization. Even more so if we
> choose to support it exactly like other compilers do.
Which is exactly what I did ;-).
Aldy