microsoft / wil

Windows Implementation Library
MIT License
2.59k stars 236 forks source link

Synchronous generator support for IIterable<T> #349

Open Fulgen301 opened 1 year ago

Fulgen301 commented 1 year ago

Following up on https://github.com/microsoft/cppwinrt/pull/1323#issuecomment-1605251082, I'd like to create a PR that adds it to WIL. However, I am unsure whether this would be the correct project or which file to add it to - coroutine.h does not include winrt.h and winrt.h contains nothing that's coroutine-related.

dunhor commented 1 year ago

cppwinrt_helpers.h already has some coroutine adapters there, so that seems like it's probably the best place (just note to place it within the proper preprocessor guards for detecting coroutine support. coroutine.h is not a C++/WinRT specific header, so that would not be the proper place