Go 使用swig使用C++11代码的问题

xpbhere · · 3646 次点击
qkb_75_go
琴为心声
SWIG supports the new C++ syntax changes with some minor limitations in some areas such as decltype expressions and variadic templates. Wrappers for the new STL types (unordered_ containers, result_of, tuples) are incomplete. The wrappers for the new containers would work much like the C++03 containers and users are welcome to help by adapting the existing container interface files and submitting them as a patch for inclusion in future versions of SWIG.
#4
更多评论
qkb_75_go
琴为心声
SWIG 的手册里有专门对 c++11 的说明的。好像是在 TCL 章节吧。
#1
看着比较复杂,时间比较赶,以后再慢慢研究。 现在用cgo的方案解决问题了。
#2