Closed JaiganeshKumaran closed 1 year ago
@kennykerr
Same as https://github.com/microsoft/cppwinrt/issues/1289 - this is probably a much smaller change, so I don't have any objections if you wish to contribute but there doesn't appear to be a lot of benefit and try_as
is more efficient.
This issue is stale because it has been open 10 days with no activity. Remove stale label or comment or this will be closed in 5 days.
Version
No response
Summary
The implementation type doesn't have the as function, requiring you to use try_as (no exception) or QueryInterface instead. Please provide an as function for consistency.
Reproducible example
Expected behavior
No response
Actual behavior
No response
Additional comments
No response