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
Dear list,
Note: I am actually using Teuchos::RCP instead of boost::shared_ptr
and boost::weak_ptr, but I already mirrored almost all the special
treatments in boost::python, and have been successfully using this for
a while. Everything that I write should actually apply to both
implementations in