Skip to content

Commit

Permalink
fix Issue 2387 - Static array terminology
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterBright committed Jan 23, 2012
1 parent a23ff98 commit 57be435
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arrays.dd
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@ int x = foo[3]; // error, out of bounds
when profiling indicates that it matters.
)

<h3>$(LNAME2 static-init-static, Static Initialization of Static Arrays)</h3>
<h3>$(LNAME2 static-init-static, Static Initialization of Statically Allocated Arrays)</h3>

$(P Static initalizations are supplied by a list of array
element values enclosed in [ ]. The values can be optionally
Expand All @@ -873,9 +873,9 @@ int value[Color.max + 1] =
Color.red :5 ];
---------

$(P These arrays are static when they appear in global scope.
$(P These arrays are statically allocated when they appear in global scope.
Otherwise, they need to be marked with $(B const) or $(B static)
storage classes to make them static arrays.)
storage classes to make them statically allocated arrays.)


<h2>$(LNAME2 special-array, Special Array Types)</h2>
Expand Down

0 comments on commit 57be435

Please sign in to comment.