mirror of
https://github.com/RYDE-WORK/pybind11.git
synced 2026-02-01 12:40:57 +08: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>();
|
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:
|
||||||
|
|
||||||
Static properties
|
Static properties
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user