mirror of
https://github.com/pybind/pybind11.git
synced 2026-06-07 00:04:42 +00:00
docs: point out limitations of implicit conversions
This commit is contained in:
@@ -617,6 +617,11 @@ Python side:
|
||||
|
||||
py::implicitly_convertible<A, B>();
|
||||
|
||||
.. note::
|
||||
|
||||
Implicit conversions from ``A`` to ``B`` only work when ``B`` is a custom
|
||||
data type that is exposed to Python via pybind11.
|
||||
|
||||
.. _static_properties:
|
||||
|
||||
Static properties
|
||||
|
||||
Reference in New Issue
Block a user