• 2024-07-22如何将可选类型从 C++ 传递到 Cython?
    我正在尝试将可选参数从C++传递到Cython文件。我不必将其写入.pxd和.pyx文件中:[C++]std::optional<std::shared_ptr<CPP_MyObject>>cpp_find_value();[.pxd]shared_ptr[CPP_MyObject]cpp_find_value()#fixme[.pyx]defpython_find_value(self)