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-04-26 23:48:55 +02:00
2016-04-28 15:32:07 +02:00
2016-06-03 14:24:17 +02:00
2016-06-14 15:24:47 +02:00
2016-06-30 14:46:11 +02:00
2015-10-13 03:16:44 +02:00