/tags/rel-1-3-29/SWIG/Examples/test-suite/template_typedef_ns.i
# · Swig · 18 lines · 13 code · 5 blank · 0 comment · 0 complexity · 9947a3e22652c9e76b175848741d6b6a MD5 · raw file
- %module("templatereduce") template_typedef_ns
- %inline {
- namespace Alpha {
- typedef int Integer;
- }
-
- namespace Beta {
- template <typename Value>
- struct Alpha {
- Value x;
- };
- }
- }
- %template(AlphaInt) Beta::Alpha<Alpha::Integer>;