CSDN博客

img lynnboy

1.7 - [intro.memory] - 【总则.内存】

发表于2004/10/29 13:31:00  913人阅读

请不要转载本文;请不要以任何形式重新出版,发布本文;请在下载本文 24 小时内将其删除;禁止将本文用于商业目的。

1 General [intro]

1.7 The C++ memory model [intro.memory]

 

1 总则 【总则】

1.7 C++ 内存模型 【总则.内存】

 

The fundamental storage unit in the C++ memory model is the byte. A byte is at least large enough to contain any member of the basic execution character set and is composed of a contiguous sequence of bits, the number of which is implementation-defined. The least significant bit is called the low-order bit; the most significant bit is called the high-order bit. The memory available to a C++ program consists of one or more sequences of contiguous bytes. Every byte has a unique address.

 

C++ 内存模型的基本存储单元是字节。一个字节应该至少具有足够表达运行时基本字符集的任意成员的大小,并且由按实现定义个数的连续位构成。最低有效位称为低序位,最高有效位称为高序位。对于 C++ 程序有效的存储由一个或多个字节连续序列组成。每个字节具有唯一的地址。

 

[Note: the representation of types is described in 3.9. ]

 

注:在 3.9 中描述了类型的表示方式。】

 

PREV [syntax] | NEXT [intro.object] 上一页 【语法】 | 下一页 【总则.对象】
0 0

相关博文

我的热门文章

img
取 消
img