摘要: The Windows Runtime provides asynchronous APIs and programming patterns that enable your app to continue working while another operation executes on another thread. In addition to this functionality, you can use the exclusive features in the C++ compiler and the Parallel Programming Library (PPL) to 阅读全文
posted @ 2012-06-17 16:17 狼哥2 阅读(1785) 评论(0) 推荐(0) 编辑
摘要: 小于操作符重载Theless-thancomparison operator (operator<) is important to Standard Template Library operations such as sorting. We recommend that you implementoperator<if you develop a Windows Runtime component that you intend to be used in a Standard Template Library comparison operation.小于比较操作符对于标准 阅读全文
posted @ 2012-06-17 15:22 狼哥2 阅读(325) 评论(0) 推荐(0) 编辑
摘要: 翻译自MSDN文档:C++/CX supports authoring function parameters whose type is a read/write array (Platform::Array) or a write-only array (Platform::WriteOnlyArray). You can't define a WriteOnlyArray array, but you can declare a function parameter type as WriteOnlyArray so that the Windows Runtime can ef 阅读全文
posted @ 2012-06-17 14:59 狼哥2 阅读(694) 评论(0) 推荐(0) 编辑
摘要: 翻译自官方MSDN文档:An authored base class can inherit a class, and optionally one or more interfaces which must be implemented by the base class.And in a class derived from the base class, you can override a virtual method in the base class一个授权的基本类能继承于另外一个类,并且能实现一个或者多个接口。从基类派生的类,能覆盖基类中的徐方法。、Guidance:(引言)Cl 阅读全文
posted @ 2012-06-17 14:13 狼哥2 阅读(415) 评论(0) 推荐(0) 编辑