You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Swift-implemented ArrayVector class implements IIterable<T> but does not respond to QI for it from WinRT callers.
The problem is that the wrapper class for a given IVector<T> interface implements its vtable's QueryInterface by delegating to CustomQueryInterface, but ArrayVector<T> cannot implement queryInterface for IIterable<T> because the IIDs and wrapper types it would need to create depend on T. It could possibly generate the correct IID based on T, but it instantiating the matching wrapper type would be complex.
The text was updated successfully, but these errors were encountered:
The Swift-implemented
ArrayVector
class implementsIIterable<T>
but does not respond to QI for it from WinRT callers.The problem is that the wrapper class for a given
IVector<T>
interface implements its vtable'sQueryInterface
by delegating toCustomQueryInterface
, butArrayVector<T>
cannot implementqueryInterface
forIIterable<T>
because the IIDs and wrapper types it would need to create depend on T. It could possibly generate the correct IID based on T, but it instantiating the matching wrapper type would be complex.The text was updated successfully, but these errors were encountered: