摘要:
fatal error: Python.h: no such file or directory 在使用pybind11时,如果不做调整可能就会出现这样的情况,Python.h一般出现在usr/include/pythonx.x文件夹中,而include路径默认情况下只会包含usr/include, 阅读全文
摘要:
# 类外static函数定义要不要加static关键字? 先说答案:**不需要**。 ## 错误代码: ```cpp #include #include using namespace std; class Base { public: enum class Type { Derived1, Der 阅读全文