Chinaunix首页 | 论坛 | 博客
  • 博客访问: 566469
  • 博文数量: 155
  • 博客积分: 4015
  • 博客等级: 上校
  • 技术积分: 1625
  • 用 户 组: 普通用户
  • 注册时间: 2005-11-18 16:55
文章分类

全部博文(155)

文章存档

2009年(20)

2008年(39)

2007年(66)

2006年(29)

2005年(1)

我的朋友

分类:

2007-08-20 09:18:13

Previous

 

41if any  如果有的话(一般放在句尾)

ExpUse overloading new operator to allocate the memory of the array, if any.

M1:使用重载的operator new 去分配数组的内存(如果有的话)

M2:如果有重载的operator new,则用它分配数组的内存。

 

42with that   接着就...   然后就

ExpAs before, the additional 1 byte for the empty instance of class X is removed and, with that, the additional 3 bytes of padding.

M:像上节说的那样,为空的类实例而附加的1 byte被移除,接着是那3个字节的扩展(被移除)

 

43at times 有时

ExpThis size may at times surprise you as being larger than necessary.

M:这个大小有时会让你吃惊,因为它大于其需要的(内存大小)

J:有时候其值可能令你吃惊,因为它可能比你想象的还大。

 

44come about  发生

ExpThe growth comes about in two ways.

M:扩展以两种方式出现。

 

45as a whole  作为一个整体,整体来看

ExpAlignment requirements on the data members and data structures as a whole.

Mdata member和作为一个整体的data struct的对齐需要。

 

46take up  占用,花去

ExpThe concrete1 class contains the two members? The val and bit1 that together take up 5 bytes.

M:类concrete包含两个成员?valbit1共占用了5个字节。

 

47so far  到目前为止

ExpNothing necessarily to complain about so far.

M:到目前为止还没有什么需要抱怨的。

 

48, fit 适合,

      发作  [fit of]

ExpIt’s the layout of derived class that typically drives the unwary programmer into fits of either perplexity or angry indignation.

M:典型的,这个派生类的layout将驱使粗心的程序员要么困惑,要么生气。

 

49pack into  塞进,挤进

ExpOur unwary programmer expects it to be packed into the base concrete1 representation.

M:我们那些粗心的程序员希望它(新增的bit2)被塞进基类concrete1中来表示。

 

 

 

 

 

Last update time: 8/20 '07

 

 

阅读(947) | 评论(0) | 转发(0) |
0

上一篇:让人高兴的两件事

下一篇:工程师的生活

给主人留下些什么吧!~~