Pat*_*ric 6 c++ python algorithm vector cython
我该如何使用该remove功能<algorithm>?(或任何其他操作,我想用向量使用它,我试图cdef extern声明它,但我还没有模板功能,我认为)
remove
<algorithm>
cdef extern
Sve*_*ach 6
Cython只能按照C调用约定合理地链接某些外部库中的编译代码.要使用模板函数,您必须编写一个extern "C"使用算法特定化身的包装函数(即您必须修复模板参数).
extern "C"
归档时间:
14 年 前
查看次数:
929 次
最近记录: