[C++-sig] Question regarding importing libraries to weave

2009-05-14 Thread Magnús Bergur Magnússon
Hello, My name is Magnus and I am working as a software developer for a company in Iceland. We use weave inline with python to boost our processing capacity. However there is one factor that is limiting us. We cannot figure out how to import libraries to Weave such as just or , what is the right

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

2009-05-14 Thread Hans Roessler
Hello, how can I wrap the following overloaded operator+ using boost.python? The code as is fails with >... >pytest.cpp: In function ‘void init_module_pytest()’: >pytest.cpp:19: error: expected primary-expression before ‘(’ token >... If I try ".def(self+B())" instead of ".def(self+other())", the