Jason Rhinelander
5aa85be26e
Added pybind11::make_key_iterator for map iteration
...
This allows exposing a dict-like interface to python code, allowing
iteration over keys via:
for k in custommapping:
...
while still allowing iteration over pairs, so that you can also
implement 'dict.items()' functionality which returns a pair iterator,
allowing:
for k, v in custommapping.items():
...
example-sequences-and-iterators is updated with a custom class providing
both types of iteration.
2016-08-11 21:22:05 -04:00
..
2016-08-11 18:16:04 -04:00
2016-08-11 18:16:04 -04:00
2016-08-04 15:24:41 -04:00
2016-08-04 23:47:07 +02:00
2016-08-04 23:47:07 +02:00
2016-08-04 23:45:24 +02:00
2016-08-04 23:45:24 +02:00
2016-08-04 23:47:07 +02:00
2016-08-11 18:16:04 -04:00
2016-08-11 18:16:04 -04:00
2016-08-11 18:16:04 -04:00
2016-08-11 18:16:04 -04:00
2016-08-11 18:16:04 -04:00
2016-08-11 18:16:04 -04:00
2016-08-04 00:01:39 -04:00
2016-08-04 00:21:37 -04:00
2016-08-04 00:21:37 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-08-11 18:16:04 -04:00
2016-08-11 18:16:04 -04:00
2016-08-11 18:16:04 -04:00
2016-08-11 18:16:04 -04:00
2016-08-11 18:16:04 -04:00
2016-08-11 18:16:04 -04:00
2016-07-18 16:43:18 -04:00
2016-08-04 23:47:07 +02:00
2016-08-04 23:47:07 +02:00
2016-07-18 16:43:18 -04:00
2016-08-11 18:16:04 -04:00
2016-08-11 18:16:04 -04:00
2016-08-11 18:16:04 -04:00
2016-08-11 18:16:04 -04:00
2016-08-11 18:16:04 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-08-11 18:16:04 -04:00
2016-08-11 18:16:04 -04:00
2016-08-11 18:16:04 -04:00
2016-08-11 21:22:05 -04:00
2016-08-11 21:22:05 -04:00
2016-08-11 21:22:05 -04:00
2016-08-11 18:16:04 -04:00
2016-08-11 18:16:04 -04:00
2016-08-11 18:16:04 -04:00
2016-07-19 17:35:09 +02:00
2016-07-18 16:43:18 -04:00
2016-07-18 16:43:18 -04:00
2016-08-12 00:59:57 +02:00
2016-08-11 18:16:04 -04:00
2016-08-11 18:16:04 -04:00
2016-08-11 18:16:04 -04:00
2015-10-15 18:23:56 +02:00
2016-08-11 18:16:04 -04:00
2016-08-10 12:08:04 -04:00
2016-08-11 18:16:04 -04:00
2016-08-11 18:16:04 -04:00
2016-08-11 18:16:04 -04:00