I\'m trying to expose this function to Python using SWIG:
std::vector get_match_stats();
And I want SWIG to generate wrapping co
%template(IntVector) vector<int>;
I don't have much experience with Swig, but are you #including your C++ header file in your .i file? Try one (or both) of
%include "myvector.h" %{ # include "myvector.h" %}