How do I make a clone of a Windows Runtime vector in C++/WinRT?

1 · Raymond Chen · Nov. 22, 2019, 3 p.m.
Suppose you have a Windows Runtime vector, either an IVector<T> or an IVector­View<T>, and you want to clone it so that you can operate on the clone without affecting the original. For example, maybe you have an IVector­View<T>, which is read-only, The post How do I make a clone of a Windows Runtime vector in C++/WinRT? appeared first on The Old New Thing....