-
Notifications
You must be signed in to change notification settings - Fork 236
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
Allow methods returning IIterable<T> to be used as synchronous generators #361
Open
Fulgen301
wants to merge
10
commits into
microsoft:master
Choose a base branch
from
Fulgen301:user/Fulgen301/iiterable-generator
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Allow methods returning IIterable<T> to be used as synchronous generators #361
Fulgen301
wants to merge
10
commits into
microsoft:master
from
Fulgen301:user/Fulgen301/iiterable-generator
Commits on Sep 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6dc6c18 - Browse repository at this point
Copy the full SHA 6dc6c18View commit details -
Configuration menu - View commit details
-
Copy full SHA for d4f4f48 - Browse repository at this point
Copy the full SHA d4f4f48View commit details
Commits on Sep 20, 2023
-
Constrain the generator implementation to
IIterator<T>
and add`wil::make_iterable_from_iterator` to create an `IIterable<T>` helper object C++ coroutines can only be evaluated once, which doesn't fulfill `IIterable<T>`'s requirement that it can return multiple independent iterators. Thus the generator implementation is constrained to `IIterator<T>`, which may only be evaluated once, and a helper method is added that returns an `IIterable<T>` which creates a new generator instance every time an iterator is requested.
Configuration menu - View commit details
-
Copy full SHA for a2e9ae3 - Browse repository at this point
Copy the full SHA a2e9ae3View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc62916 - Browse repository at this point
Copy the full SHA fc62916View commit details -
Configuration menu - View commit details
-
Copy full SHA for adbe1bd - Browse repository at this point
Copy the full SHA adbe1bdView commit details
Commits on Oct 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 84affac - Browse repository at this point
Copy the full SHA 84affacView commit details
Commits on Nov 2, 2023
-
Rename make_iterable_from_iterator to make_iterable_from_generator
Co-authored-by: Duncan Horn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f58cdcb - Browse repository at this point
Copy the full SHA f58cdcbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d038a6 - Browse repository at this point
Copy the full SHA 7d038a6View commit details
Commits on Nov 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0a19f62 - Browse repository at this point
Copy the full SHA 0a19f62View commit details
Commits on Dec 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3888b11 - Browse repository at this point
Copy the full SHA 3888b11View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.