From Jason Turner

[intro.memory]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpv29ce1iu/{from.md → to.md} +8 -12
tmp/tmpv29ce1iu/{from.md → to.md} RENAMED
@@ -1,27 +1,23 @@
1
  ### Memory model <a id="intro.memory">[[intro.memory]]</a>
2
 
3
  The fundamental storage unit in the C++ memory model is the *byte*. A
4
  byte is at least large enough to contain the ordinary literal encoding
5
  of any element of the basic literal character set [[lex.charset]] and
6
- the eight-bit code units of the Unicode[^5]
 
7
 
8
- UTF-8 encoding form and is composed of a contiguous sequence of
9
- bits,[^6]
10
-
11
- the number of which is *implementation-defined*. The least significant
12
- bit is called the *low-order bit*; the most significant bit is called
13
- the *high-order bit*. The memory available to a C++ program consists of
14
- one or more sequences of contiguous bytes. Every byte has a unique
15
- address.
16
 
17
  [*Note 1*: The representation of types is described in 
18
  [[basic.types.general]]. — *end note*]
19
 
20
- A *memory location* is either an object of scalar type that is not a
21
- bit-field or a maximal sequence of adjacent bit-fields all having
22
- nonzero width.
23
 
24
  [*Note 2*: Various features of the language, such as references and
25
  virtual functions, might involve additional memory locations that are
26
  not accessible to programs but are managed by the
27
  implementation. — *end note*]
 
1
  ### Memory model <a id="intro.memory">[[intro.memory]]</a>
2
 
3
  The fundamental storage unit in the C++ memory model is the *byte*. A
4
  byte is at least large enough to contain the ordinary literal encoding
5
  of any element of the basic literal character set [[lex.charset]] and
6
+ the eight-bit code units of the Unicode UTF-8 encoding form and is
7
+ composed of a contiguous sequence of bits,[^5]
8
 
9
+ the number of which is *implementation-defined*. The memory available to
10
+ a C++ program consists of one or more sequences of contiguous bytes.
11
+ Every byte has a unique address.
 
 
 
 
 
12
 
13
  [*Note 1*: The representation of types is described in 
14
  [[basic.types.general]]. — *end note*]
15
 
16
+ A *memory location* is the storage occupied by the object representation
17
+ of either an object of scalar type that is not a bit-field or a maximal
18
+ sequence of adjacent bit-fields all having nonzero width.
19
 
20
  [*Note 2*: Various features of the language, such as references and
21
  virtual functions, might involve additional memory locations that are
22
  not accessible to programs but are managed by the
23
  implementation. — *end note*]