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

Function make_iterator

include/pybind11/pybind11.h:3436–3445  ·  view source on GitHub ↗

NOLINTNEXTLINE(performance-unnecessary-value-param)

Source from the content-addressed store, hash-verified

3434 typename... Extra>
3435// NOLINTNEXTLINE(performance-unnecessary-value-param)
3436typing::Iterator<ValueType> make_iterator(Iterator first, Sentinel last, Extra &&...extra) {
3437 return detail::make_iterator_impl<detail::iterator_access<Iterator>,
3438 Policy,
3439 Iterator,
3440 Sentinel,
3441 ValueType,
3442 Extra...>(std::forward<Iterator>(first),
3443 std::forward<Sentinel>(last),
3444 std::forward<Extra>(extra)...);
3445}
3446
3447/// Makes a python iterator over the keys (`.first`) of a iterator over pairs from a
3448/// first and past-the-end InputIterator.

Callers 4

TEST_SUBMODULEFunction · 0.85
TEST_SUBMODULEFunction · 0.85
iterMethod · 0.85

Calls

no outgoing calls

Tested by 2

TEST_SUBMODULEFunction · 0.68
TEST_SUBMODULEFunction · 0.68