Re: [C++-sig] pygccxml and multidimensional arrays

2009-05-19 Thread Roman Yakovenko
On Thu, Apr 23, 2009 at 9:23 PM, Roman Yakovenko wrote: > On Thu, Apr 23, 2009 at 9:21 PM, Roman Yakovenko > wrote: >> On Thu, Apr 23, 2009 at 8:17 PM, Davidson, Josh >> wrote: >>> I'm using information provided by pygccxml to generate Construct objects >>> (http://construct.wikispaces.com/) th

[C++-sig] py++ and indexing_v2

2009-05-19 Thread james
When I use py++ (1.0.0) with indexing_suite_version = 2 to wrap std::set etc, it generates code which doesn't compile out of the box. The code from the boost sandbox puts various definitions in the boost::python::indexing_v2 namespace, and the header files in boost/python/suite/indexing_v2. H

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

2009-05-19 Thread William Ladwig
It looks to me like you're missing a '()' next to your 'init<>' in the class wrapper for B. Try changing this: class_("B",init)//line 19 ; to this: class_("B",init())//line 19 ; The only operator that has given me problems is the << operator. I've had pretty good success

Re: [C++-sig] py++ and indexing_v2

2009-05-19 Thread Roman Yakovenko
On Tue, May 19, 2009 at 3:40 PM, wrote: > When I use py++ (1.0.0) with indexing_suite_version = 2 to wrap > std::set etc, it generates code which doesn't compile out of the box. >  The code from the boost sandbox puts various definitions in the > boost::python::indexing_v2 namespace, and the h

[C++-sig] XXX undefined error throw by python, Exception caused by get_override? Safe to ignor or cause for concern?

2009-05-19 Thread terence tan
I am implementing a interface between my C++ class and a python class that requires the ability for the python class to have a Initialize/Update method called from C++ but still call the default methods of the original C++ class I am integrating. If no such methods are defined in the python class