1 %module template_static
3 %warnfilter(SWIGWARN_RUBY_WRONG_NAME) foo<int>; /* Ruby, wrong class name */
4 %warnfilter(SWIGWARN_RUBY_WRONG_NAME) foo<double>; /* Ruby, wrong class name */
7 template<class T> class foo {
11 template<class T> int foo<T>::test = 0;
14 %template(foo_i) foo<int>;
15 %template(foo_d) foo<double>;
23 static double bar(int i) {
33 %template(bar_double) toto::Foo::bar<double>;