我对cython相当陌生,并且尝试包装定义为
template < typename T, uint N > struct Vector{}
而且我很难了解cython如何使用模板,尤其是那些以int为参数的模板。我在文档中读到,尚不支持将int作为模板参数。如何正确执行此操作?
c++ python templates cython
c++ ×1
cython ×1
python ×1
templates ×1