dimanche 4 octobre 2020

Swig-interface-for-In-TypeMap-unique-ptrs

I like to use c++11 unique_ptr & generate swig interface. As per swig doc unique_ptr is not supported.

This How to handle unique_ptr's with SWIG link mentioned about c++ unique_ptr wrapper, on a similar way, exploring other option to add in type map.

ex: class testclass {
public: testClass(); virtual ~testClass(); void testClassMethod(const std::unique_ptr& param); }

Aucun commentaire:

Enregistrer un commentaire