Skip to content

zenixls2/stl2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STL2 golang binding

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.

Development

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.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published