blob: be41f4740d547af6abef992705789c1dee0edfd1 [file] [log] [blame]
%module li_std_vector_back_reference
%include <std_vector.i>
%inline %{
// #include <iostream>
struct Wheel {
int size;
Wheel(int sz = 0) : size(sz) {}
// ~Wheel() { std::cout << "~Wheel" << std::endl; }
};
%}
%template(VectorWheel) std::vector<Wheel>;