Skip to content

Fix return type of IteratorIterator::getInnerIterator#11100

Open
alcaeus wants to merge 1 commit intovimeo:5.xfrom
alcaeus:fix-IteratorIterator-getInnerIterator
Open

Fix return type of IteratorIterator::getInnerIterator#11100
alcaeus wants to merge 1 commit intovimeo:5.xfrom
alcaeus:fix-IteratorIterator-getInnerIterator

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