Skip to content

std::next

next

Retrieves the next value from a generator

Signature

next(gen: Generator<T>) -> T