Thank you. But my operating system is Windows. :p
I am sorry I didn't describe my problem clearly.
I am using boostpro's compiled binary. I defined BOOST_PYTHON_STATIC_LIB.
Visual Studio will try to link python25.lib automatically in 1.36.
Now, I don't know how to make it still link against pyt
Ah I understand .. so will reply to my own posting for others new to pb ...
C++ constructors with one argument behave differently I understand, so
taking a 2 argument case:
class A
{
public
A(int i, const std::vector>& my_array);
};
In the BOOST_PYTHON_MODULE(foo) ..
define a type using
Troy
Thanks for the prompt reply .. I'm a python expert and a C++ novice ...
Apologies for not getting this ...
I've seen I can define a python mapping using the vector_indexing suite
class_< std::vector< std::vector > >("vector_double2")
.def(vector_indexing_suite > >
but I can't see h