[C++-sig] Boost.Python v2: user-accessible from_python conversions

David Abrahams david.abrahams at rcn.com
Wed Jul 3 14:43:37 CEST 2002


OK, a class it shall be!

----- Original Message -----
From: "Ralf W. Grosse-Kunstleve" <rwgk at yahoo.com>
To: <c++-sig at python.org>
Sent: Wednesday, July 03, 2002 8:05 AM
Subject: Re: [C++-sig] Boost.Python v2: user-accessible from_python
conversions


> --- David Abrahams <david.abrahams at rcn.com> wrote:
> > So in your case you can gain some efficiency in overload resolution
when
> > conversion fails, by detecting that conversion will fail without using
a
> > C++ exception, but you'll still need the code to handle one. Does that
> > change your vote?
>
> It is not only efficiency: as we all know exception handling is
unreliable on
> some platforms. If we can get overload resolution to work without
exception
> handling "under normal circumstances" it can make a big difference in the
real
> world. I might be able to tolerate a crash (due to buggy exception
handling) if
> there is a "true" error/problem. However, if the application relys on
exception
> handling as a trick for dealing with "normal" situations (i.e. V1
overload
> resolution) I might have to say that a certain platform cannot be used at
all.
> Ralf
>
>
> __________________________________________________
> Do You Yahoo!?
> Sign up for SBC Yahoo! Dial - First Month Free
> http://sbc.yahoo.com
>
>
> _______________________________________________
> C++-sig mailing list
> C++-sig at python.org
> http://mail.python.org/mailman/listinfo/c++-sig






More information about the Cplusplus-sig mailing list