MCPcopy Create free account
hub / github.com/pybind/pybind11 / make_key_iterator

Function make_key_iterator

include/pybind11/pybind11.h:3454–3463  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3452 typename KeyType = typename detail::iterator_key_access<Iterator>::result_type,
3453 typename... Extra>
3454typing::Iterator<KeyType> make_key_iterator(Iterator first, Sentinel last, Extra &&...extra) {
3455 return detail::make_iterator_impl<detail::iterator_key_access<Iterator>,
3456 Policy,
3457 Iterator,
3458 Sentinel,
3459 KeyType,
3460 Extra...>(std::forward<Iterator>(first),
3461 std::forward<Sentinel>(last),
3462 std::forward<Extra>(extra)...);
3463}
3464
3465/// Makes a python iterator over the values (`.second`) of a iterator over pairs from a
3466/// first and past-the-end InputIterator.

Callers 3

TEST_SUBMODULEFunction · 0.85
iterMethod · 0.85
bind_mapFunction · 0.85

Calls

no outgoing calls

Tested by 1

TEST_SUBMODULEFunction · 0.68