Skip to content

Simplify Array usage with non-WinRT types#2362

Merged
kennykerr merged 3 commits intomasterfrom
array
Mar 2, 2023
Merged

Simplify Array usage with non-WinRT types#2362
kennykerr merged 3 commits intomasterfrom
array

Conversation

@kennykerr
Copy link
Copy Markdown
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