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] 上一頁 【語法】 | 下一頁 【總則.對象】
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章