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

Implement From<T> and From<&T> for interface hierarchies #2779

Merged
merged 1 commit into from
Jan 8, 2024
Merged

Conversation

kennykerr
Copy link
Collaborator

This can avoid calls to QueryInterface or unsafe code to do the same.

Fixes: #2764

@kennykerr kennykerr merged commit 3ee83d5 into master Jan 8, 2024
65 checks passed
@kennykerr kennykerr deleted the from branch January 8, 2024 23:13
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.

For COM interfaces T and U, if T is derived from U, implement From<T> for U
2 participants