/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
- %module template_arg_scope
- %inline %{
- template<class T> class Foo {
- };
- class Bar {
- public:
- Bar();
- void spam(Foo<Bar> *x);
- };
- Bar::Bar() {}
- void Bar::spam(Foo<Bar> *x) {}
- %}