使用动态强制类型转换要小心。只要有可能,定义和使用虚函数比直接接管类型管理好得多。
Dynamic casts should be used with caution. Whenever possible, it is much better to define and use a virtual function rather than to take over managing the types directly.
通过编写这种模块,编程人员可以直接管理特定类型资源的请求,并且在各种预处理步骤中挂起当前请求。
By writing such modules, developers can directly take over requests for specific resource types and hook up the current request at various predefined steps.
2003年收购了切尔西俄罗斯人罗曼·阿布拉莫维奇,以及2008年接管了曼彻斯特城足球俱乐部的阿布扎比王室成员阿拉伯族长曼苏尔·本·扎耶德·阿勒纳哈扬经常被认为是这种类型。
Roman Abramovich, the Russian who bought Chelsea in 2003, and Sheikh Mansour bin Zayed al Nahyan, an Abu Dhabi royal who took over Manchester City in 2008, are often put in this category.
应用推荐