Re: [C++-sig] Trouble with custom container class

2009-05-16 Thread Roman Yakovenko
On Fri, May 15, 2009 at 12:01 AM, Philip Bloom wrote: > Hello, Hello. > I’m having some issues with retrieving objects from a custom container > class.  The objects in the container are otherwise wrapped objects > (PythonDTPNodeHandle *) that the python wrapper knows how to convert, but > what I

Re: [C++-sig] operator+(A, B) without B::B() default constructor in boost.python

2009-05-16 Thread Hans Roessler
Thank you for suggesting the workaround. But I would like to understand _why_ the operator overloading doesn't work the Boost.Python way in my example (or what I have done wrong). It can be quite tedious to write a wrapper like __add__ for each operator and pair of classes, and I thought the ".