我想将 .Net 中的 Action 和 Func 委托泛型用于 C++/CX Windows Store 应用程序。它们也是 WinRT 的一部分吗?
delegate void f( int );
ref class Sample
{
...
event f^ Rendered; // this works
event Action<int>^ Rendered; // ??? I want something like this using existing lib without creating templates on my own (which Namespace/Header) ???
...
}