1 %module template_default_inherit
3 %warnfilter(SWIGWARN_RUBY_WRONG_NAME) A::nindex; /* Ruby, wrong constant name */
9 typedef unsigned int size_type;
10 static const size_type nindex = static_cast<size_type>(-1);
17 typedef typename A<C>::size_type size_type;
18 void say_hi(size_type index = A<C>::nindex) {}
23 %template(A_int) A<int>;
24 %template(B_int) B<int>;