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

请不要转载本文;请不要以任何形式重新出版,发布本文;请在下载本文 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
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值