mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-11 08:03:55 +00:00
docs: point out limitations of implicit conversions
This commit is contained in:
parent
f53e300fbd
commit
3eeea6fa61
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user