小编Mat*_*und的帖子

Cython C ++模板

我对cython相当陌生,并且尝试包装定义为

template < typename T, uint N >   
struct Vector{}
Run Code Online (Sandbox Code Playgroud)

而且我很难了解cython如何使用模板,尤其是那些以int为参数的模板。我在文档中读到,尚不支持将int作为模板参数。如何正确执行此操作?

c++ python templates cython

5
推荐指数
2
解决办法
1057
查看次数

标签 统计

c++ ×1

cython ×1

python ×1

templates ×1