Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix return type of IteratorIterator::getInnerIterator #11100

Open
wants to merge 1 commit into
base: 5.x
Choose a base branch
from

Conversation

alcaeus
Copy link
Contributor

@alcaeus alcaeus commented Sep 19, 2024

When creating an IteratorIterator with an iterator of TIterator, we can assume that getInnerIterator will return that same TIterator type. Technically, this change could be applied to OuterIterator, although that would require us to introduce a TIterator template to OuterIterator, which may break existing usages beyond the default iterators for which stubs are provided. Please advise if it's ok to change OuterIterator to get an additional template for the iterator it's wrapping.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant