使用 pybind11::array_t< std::array<char, N> > 或 char[N] 类型在pybind11(在v2.2.3,CentOS7,python3.6.5上测试)支持固定长度字符串。
確定! 回上一頁