清单5给出的代码在优化了空基类的编译器上证明了这一点。
Listing 5 shows the code that proves the point on compilers optimizing empty base classes.
清单9基于编译器会优化空基类的假设。
Listing 9 is based on the assumption that the compiler optimizes away the empty base classes.
清单9基于编译器会优化空基类的假设。
Listing 9 is based on the assumption that the compiler optimizes away the empty base classes.
应用推荐