From 3eeea6fa612efa9a3b2f620408915ea71336fe1a Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Thu, 30 Jun 2016 18:10:28 +0200 Subject: [PATCH] docs: point out limitations of implicit conversions --- docs/advanced.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/advanced.rst b/docs/advanced.rst index 2067c893..c257fa2d 100644 --- a/docs/advanced.rst +++ b/docs/advanced.rst @@ -617,6 +617,11 @@ Python side: py::implicitly_convertible(); +.. 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