Re: [C++-sig] make_constructor and extending from python

2012-02-04 Thread Jim Bosch
On 02/03/2012 03:13 PM, Holger Brandsmeier wrote: Dear list, how can I have a static member function that acts like a constructor in a Wrapper, i.e. I have a class that I want to extend from python? I have a wrapper class around a class (PfemSpace) that has this static member functions: sta

[C++-sig] make_constructor and extending from python

2012-02-03 Thread Holger Brandsmeier
Dear list, how can I have a static member function that acts like a constructor in a Wrapper, i.e. I have a class that I want to extend from python? I have a wrapper class around a class (PfemSpace) that has this static member functions: static RCP create( ... ) { RCP ret(new PfemSpaceWr