[patch-rfc] N2179: Exception Propagation in C++

Sebastian Redl wasti@windmuehlgasse.getdesigned.at
Tue Jul 22 20:05:00 GMT 2008


Peter Dimov wrote:
> 4)
>
> Define __exception_ptr. Add
>
> #ifdef __GXX_EXPERIMENTAL_CXX0X__
> typedef __exception_ptr exception_ptr;
> #endif
>
> ?

I went with a variant of this. I define everything (including the free 
functions) in the namespace __exception_ptr and import it into std if 0x 
mode is enabled.

Modified patch attached.

Sebastian
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: n2179.patch.2
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080722/8d4708b5/attachment.ksh>


More information about the Gcc-patches mailing list