PageRenderTime 44ms CodeModel.GetById 19ms RepoModel.GetById 0ms 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. namespace Foo {
  4. class Bar {};
  5. class Baz {
  6. public:
  7. Baz(Bar b = Bar()) {}
  8. };
  9. }
  10. %}