PageRenderTime 12ms CodeModel.GetById 10ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/test-suite/template_typedef_ns.i

#
Swig | 18 lines | 13 code | 5 blank | 0 comment | 0 complexity | 9947a3e22652c9e76b175848741d6b6a MD5 | raw file
 1%module("templatereduce") template_typedef_ns
 2
 3%inline {
 4  namespace Alpha {
 5    typedef int Integer;
 6  }
 7  
 8  namespace Beta {
 9    template <typename Value>
10    struct Alpha {
11      Value x;
12    };
13  }
14}
15
16
17%template(AlphaInt) Beta::Alpha<Alpha::Integer>;
18