Menu

#254 Add wrapping for std::set in C# (.Net 4)

None
closed
general (37)
5
2019-08-26
2011-02-08
No

It would be nice to have wrapping enable of std::set in C++ from C# (using .Net 4)

See:
http://gdcm.git.sourceforge.net/git/gitweb.cgi?p=gdcm/gdcm;a=blob_plain;f=Wrapping/Csharp/std_set.i;hb=HEAD

Thanks

Discussion

  • William Fulton

    William Fulton - 2019-03-25
    • status: open --> closed
    • assigned_to: William Fulton
    • Group: -->
     
  • William Fulton

    William Fulton - 2019-03-25

    swig-4.0.0 contains support for std::set wrappers for C#.

     
  • Christian Lichtenberger

    Has anyone ever tried to use it?
    I tried today, but from my point of view it does not work.
    I also can't find any test for it.
    The swig command runs through without any failure but when I try to comile C# code there are a lot of compile failures.

     
  • William Fulton

    William Fulton - 2019-08-21

    Works great. Post your queries on the swig-user mailing list. I suggest you modify one of the examples and post that for help on the mailing list.

     
    • Christian Lichtenberger

      I found the failure.
      It is my mistake.
      I used a global rename directive which result into a mismatched code for the std::set.
      Without that now it works.

       

Log in to post a comment.