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

Simplify Array usage with non-WinRT types #2362

Merged
merged 3 commits into from
Mar 2, 2023
Merged

Simplify Array usage with non-WinRT types #2362

merged 3 commits into from
Mar 2, 2023

Conversation

kennykerr
Copy link
Collaborator

#2343 made it possible to support Array<T> with types other than the WinRT types that it was originally designed for. This can be handy as various COM APIs also return arrays using the same allocator. This update just makes it a little simpler to create an Array and read its content as a slice.

Fixes: #1696

@kennykerr kennykerr merged commit 5f17e3f into master Mar 2, 2023
@kennykerr kennykerr deleted the array branch March 2, 2023 19:05
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.

Consider generalizing windows::core::Array for use with COM interfaces
1 participant