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
..
2016-12-19 16:34:48 +01:00
2017-01-04 08:00:17 -05:00
2016-12-16 15:00:46 +01:00
2017-01-31 17:28:29 +01:00
2017-01-31 17:05:44 +01:00
2017-02-01 10:36:29 +01:00
2016-09-07 01:25:27 +02:00
2016-09-09 03:04:09 -04:00
2016-12-16 15:00:46 +01:00
2016-12-16 15:00:46 +01:00
2016-12-16 15:00:46 +01:00
2016-09-06 16:41:50 +02:00
2016-09-19 13:43:43 +02:00
2016-09-13 20:40:28 +10:00
2016-11-20 21:21:54 +01:00
2016-10-20 16:19:58 +02:00
2016-12-13 00:59:28 +01:00
2016-12-14 20:40:49 +01:00
2016-12-14 20:40:49 +01:00
2016-11-17 11:01:11 +01:00
2016-11-20 21:21:54 +01:00
2016-11-15 12:38:05 +01:00
2016-11-20 21:21:54 +01:00
2016-12-12 23:42:52 +01:00
2016-12-13 00:59:28 +01:00
2016-11-17 23:24:47 +01:00
2016-11-20 21:21:54 +01:00
2016-11-20 21:21:54 +01:00
2016-09-10 12:08:32 +02:00
2016-08-19 16:31:48 +02:00
2016-12-12 23:42:52 +01:00
2016-11-20 21:21:54 +01:00
2017-01-31 16:52:11 +01:00
2017-01-31 16:52:11 +01:00
2016-12-12 23:42:52 +01:00
2016-12-16 15:00:46 +01:00
2016-09-07 01:25:27 +02:00
2016-12-16 15:00:46 +01:00
2017-01-31 17:24:41 +01:00
2017-01-31 17:24:41 +01:00
2017-02-03 20:47:17 -05:00
2017-02-03 20:47:17 -05:00
2016-09-03 17:34:41 -04:00
2016-08-19 13:19:38 +02:00
2016-12-16 15:00:46 +01:00
2016-12-16 15:00:46 +01:00
2016-11-17 08:55:42 +01:00
2016-12-16 15:00:46 +01:00
2017-01-31 17:00:15 +01:00
2017-01-31 17:00:15 +01:00
2016-09-07 01:25:27 +02:00
2016-12-13 00:59:28 +01:00
2016-09-03 17:34:41 -04:00
2017-02-03 20:47:17 -05:00
2016-09-03 17:34:41 -04:00
2016-12-16 15:00:46 +01:00
2017-01-04 15:05:20 +01:00
2016-12-16 15:00:46 +01:00
2016-12-16 15:00:46 +01:00
2016-12-26 11:25:42 +01:00
2016-11-13 10:41:31 +09:00
2016-11-20 21:21:54 +01:00
2017-01-31 17:05:44 +01:00
2017-01-31 17:05:44 +01:00
2016-12-14 20:42:36 +01:00
2016-11-20 21:21:54 +01:00
2016-09-11 01:21:53 -04:00
2016-12-16 15:00:46 +01:00