This package extends swig implementation on c++ stl by supporting iterator and other c++11/14 features. The build flow should be a little bit different.
A recommended way to start developing is to get this project by command:
go get github.com/zenixls2/stl2
You can look into example
folder for the use case.
Some macors are introduced to perform template engine like features.
Notice that you have to write your own swig interface to use these macros:
%include <main.i>
namespace std {
MAP_DEFINE(int, int)
};
Currently since swig doesn't support multiple paths for SWIG_LIB
,
You have to manually write a Makefile to add -I$GOPATH/src/github.com/zenixls2/stl2
option for swig build flow.