https://github.com/zenixls2/stl2
https://github.com/zenixls2/stl2
cpp golang stl swig
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zenixls2/stl2
- Owner: zenixls2
- License: mit
- Created: 2017-02-27T01:05:27.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-06-20T08:01:40.000Z (over 6 years ago)
- Last Synced: 2025-01-31T17:52:17.695Z (8 months ago)
- Topics: cpp, golang, stl, swig
- Language: Go
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:```bash
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:```swig
%includenamespace 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.