commit | 3eeea6fa612efa9a3b2f620408915ea71336fe1a | [log] [tgz] |
---|---|---|
author | Wenzel Jakob <wenzel.jakob@epfl.ch> | Thu Jun 30 18:10:28 2016 +0200 |
committer | Wenzel Jakob <wenzel.jakob@epfl.ch> | Thu Jun 30 18:10:28 2016 +0200 |
tree | 30ad198db570d2ef0d2bd74fdad62d6eb091a381 | |
parent | f53e300fbd3d1d8dc43c9d137052a965a70777db [diff] |
docs: point out limitations of implicit conversions
diff --git a/docs/advanced.rst b/docs/advanced.rst index 2067c89..c257fa2 100644 --- a/docs/advanced.rst +++ b/docs/advanced.rst
@@ -617,6 +617,11 @@ 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