[C++-sig] exception specifiers and pyste

Nicodemus nicodemus at globalite.com.br
Sat May 24 01:12:04 CEST 2003


Gavin Doughtie wrote:

> So, I turned pyste loose on a C++ header that included "throw 
> (AnException)" on a virtual method. Pyste generated a wrapper class 
> that implemented a call_method<> implementation of the method, but did 
> not automatically include the "throw" declaration, causing compilation 
> of the generated C++ to fail with a "looser throw specifier for..." 
> error.
>
> Is this a shortcoming of pyste?

It's a shortcoming, I completely forgot about exception specifiers while 
implementing Pyste. Thanks for the reminder Gavin.

Regards,
Nicodemus.







More information about the Cplusplus-sig mailing list