implicitly_convertible with custom types #5769
-
Hey,
In my bindings I register them both:
But I still get
The function call
Is there anything I've misunderstood? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Written the text and directly found my issue :D I've forgotten to declare the conversion constructor |
Beta Was this translation helpful? Give feedback.
Written the text and directly found my issue :D
I've forgotten to declare the conversion constructor
py_object_query.def(py::init<quite::ObjectQueryBuilder>());