清单5给出的代码在优化了空基类的编译器上证明了这一点。
Listing 5 shows the code that proves the point on compilers optimizing empty base classes.
为了在不同的拦截点间保持一定程度的一致性而做出的决定是,创建一组基类,可以根据这些基类为每个具体的拦截点创建子类。
To achieve a degree of consistency between different interception points, it was decided to create a set of base classes that could be subclassed for each concrete interception point.
在XML模式中,可以使用抽象类或仅使用指定基类型扩展或派生的标记来做到这一点。
In XML schemas you can use abstract classes or just tags specifying extensions or derivations of base types.
做到这一点的最佳方法是在一个小的公共基类的集合中封装特定于Domino的实现细节。
The best way to do this is to encapsulate the Domino specific implementation details in a small set of common base classes.
在基类库团队中,我们认为,如果某个API是从负1000点开始的,那么即使能提供一些价值也不足以证明可被添加。
In the BCL team we believe that an API start at minus a thousand points and thus providing some value is not good enough to justify being added.
说到基类,要记住很重要的一点:.NET平台要求一个类只能有一个直接基类。
Speaking of base classes, it is important to keep in mind that the . NET platform demands that a given class have exactly one direct base class.
结果表明:菜心的茎端生长点、菜苔及基茎均存在CT K类物质。
The results showed that CTK existed in the growing tip, the flowering stalk and the it's base part.
经顺丁烯二酰亚胺氮氧自由基自旋标记的牛和羊血清白蛋白,由于标记位点和标记物所处的周围环境不同,给出了两类ESR波谱:即强固定化作用型和弱固定化作用型。
When the nitroxide-maleimide was used to spin label bovine and sheep's serum albumin, two kinds of ESR spectra, i. e. "strongly immobilized" and "weakly immobilized", were obtained.
记住纯抽象基类只是提供了函数入口点的表,入口点是由编译器分配的。
Remember that pure abstract base classes provide little more than a table of function entry points, and the entry points are allocated by the compiler of the object.
记住纯抽象基类只是提供了函数入口点的表,入口点是由编译器分配的。
Remember that pure abstract base classes provide little more than a table of function entry points, and the entry points are allocated by the compiler of the object.
应用推荐