/tags/ttn-post-libtool-1-4-3-upgrade/SWIG/Examples/test-suite/template_arg_scope.i
Swig | 16 lines | 12 code | 4 blank | 0 comment | 0 complexity | 9b4bdcca834c2a18fac09e5e5520334f MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
1%module template_arg_scope
2%inline %{
3
4template<class T> class Foo {
5};
6
7class Bar {
8public:
9 Bar();
10 void spam(Foo<Bar> *x);
11};
12Bar::Bar() {}
13void Bar::spam(Foo<Bar> *x) {}
14
15%}
16