boost::python::detail::is_borrowed_ptr相关的测试程序
#include <iostream>
#include <boost/python.hpp>
int main() {
namespace python = boost::python;
// 创建一个 Python 列表对象
python
boost::python::detail::is_borrowed_ptr相关的测试程序
#include <iostream>
#include <boost/python.hpp>
int main() {
namespace python = boost::python;
// 创建一个 Python 列表对象
python