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

/tags/rel-1-3-26/SWIG/Examples/test-suite/defvalue_constructor.i

#
Swig | 14 lines | 10 code | 4 blank | 0 comment | 0 complexity | 1aefe32021f5cd538bc2eed5f5292db8 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
 1%module defvalue_constructor
 2%inline %{
 3
 4namespace Foo { 
 5 
 6    class Bar {}; 
 7 
 8    class Baz { 
 9      public: 
10        Baz(Bar b = Bar()) {}
11    }; 
12} 
13
14%}