pybind11/docs/advanced
Jason Rhinelander e550589b42 Prefer non-converting argument overloads
This changes the function dispatching code for overloaded functions into
a two-pass procedure where we first try all overloads with
`convert=false` for all arguments.  If no function calls succeeds in the
first pass, we then try a second pass where we allow arguments to have
`convert=true` (unless, of course, the argument was explicitly specified
with `py::arg().noconvert()`).

For non-overloaded methods, the two-pass procedure is skipped (we just
make the overload-allowed call).  The second pass is also skipped if it
would result in the same thing (i.e. where all arguments are
`.noconvert()` arguments).
2017-02-03 20:47:17 -05:00
..
cast Automate generation of reference docs with doxygen and breathe (#598) 2017-01-31 16:54:08 +01:00
pycpp Minor fixes (#613) 2017-01-31 17:28:29 +01:00
classes.rst Add support for non-converting arguments 2017-02-03 20:18:15 -05:00
exceptions.rst Reorganize documentation 2016-10-20 15:21:34 +02:00
functions.rst Prefer non-converting argument overloads 2017-02-03 20:47:17 -05:00
misc.rst Documentation: explicitly call out that the GIL is held (#615) 2017-01-31 17:06:13 +01:00
smart_ptrs.rst Improve custom holder support (#607) 2017-01-31 17:05:44 +01:00