Boost logo

Boost :

From: Dan (dan_at_[hidden])
Date: 2004-08-31 22:21:43


Sorry to trouble you Dave, it was my mistake. I had a couple default
arguments for function parameters to the constructor. It seems that
Boost::Python doesn't like this ( I was wondering how support for that
might have been implemented ) and it causes an exception to be thrown
from c++ ( maybe a stack related exception? ) and caught by Boost.
Adding multiple overloads solved the issue. Thanks for your time and
congradulations on a neat idea that was implemented very cleverly.

Cheers,
-Dan

> -----Original Message-----
> From: boost-bounces_at_[hidden]
> [mailto:boost-bounces_at_[hidden]] On Behalf Of David Abrahams
> Sent: Tuesday, August 31, 2004 7:50 PM
> To: boost_at_[hidden]
> Subject: [boost] Re: Boost::Python exception translation not working?
>
>
> "Dan" <dan_at_[hidden]> writes:
>
> > What am I doing wrong?
>
> Please post a minimal complete reproducible example (1 c++
> file and 1 python file) to the C++ sig
> (http://www.boost.org/more/mailing_lists.htm#cplussig) and
> I'll try to help. Also, please let us know which compiler
> and OS you are using.
>
> --
> Dave Abrahams
> Boost Consulting
> http://www.boost-consulting.com
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/bo> ost
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk