-
Notifications
You must be signed in to change notification settings - Fork 5
Python Binding Troubleshooting
Jeongseok Lee edited this page Sep 20, 2018
·
3 revisions
- pybind11 doesn't support to take
std::unique_ptr<T>&
as a function parameter
- Error:
TypeError: No to_python (by-value) converter found for C++ type: std::shared_ptr<X const>
- Fix: Disable const overloads by adding
'std::shared_ptr<const X>'
totypes:
section of the YAML configuration file