go

pybind11和所有权问题

英文: pybind11 and ownership issues 问题 我正在为一个类编写 pybind11 的包装器,类似于元组,我希望它有一个 __iter__ 方法。 为了做到这一点,我将“元...