1 %module member_template
12 template<class T> T max(T x, T y, T z) { return (x > y) ? x : y; }
14 template<class T> class Foo {
16 template<class S> S max(S x, S y) { return (x > y) ? x : y; }
22 %template(maxi) max<int>;
23 %template(maxd) max<double>;
26 %template(Fooint) Foo<int>;
27 %template(Foodouble) Foo<double>;