#1091 template template parameter fails

open
nobody
5
2012-12-21
2010-05-26
No

template <template <typename> class T>
void foo(T<float> bar);

%template(fooVec) foo<Vector>;

generates invalid arg1 declaration :
T< float > arg1 ; // instead of Vector<float>

and type conversion :
res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_TT_float_t, 0 | 0);

Discussion