Skip to main content
 首页 » 编程设计

python之如何将 boost::none 传递给 Python Quantlib

2025年02月15日16sky-heaven

这与我之前的一个问题有关:

Quantlib passing a date vector to Schedule class

基本上,我已经在 C++ 中完成了所有工作。如果我使用 Python,知道如何将 boost::none 传递给 Python 函数吗?

非常感谢。

请您参考如下方法:

不幸的是,你没有。我们仍然没有将那部分接口(interface)导出到 Python。