Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#269 Fix for templating std::pair of const pointers

open
nobody
None
5
2012-12-21
2011-05-26
Rémi Lacroix
No

With Swig 2.0.4 and bellow, templating an std::pair of const pointers (like std::pair<const int*, const int*> for example) will produce invalid code, the attached patch fixes the compilation.

Discussion

  • Rémi Lacroix
    Rémi Lacroix
    2011-05-26

    Patch for std\std_pair.i

     
    Attachments