I'm trying to wrap a whole C++ that contains a lot of access to std::vector and
std::map.
I managed to wrap vectors but i've got problems with maps.
The following simple example fails to compile with the error:
error: no match for call to ‘(const
boost::python::detail::specify_a_return_value_po
In the below example I need to add a constructor A(). How to do that?
class A{
public:
A(int);
int getA();
private:
int a;
};
I have tried add_declaration_code and add_registration_code but it seems
that these will not work for
the case of contructor.
Does these work a