Skip to content

Commit

Permalink
Merge pull request #716 from quickfur/issue9691b
Browse files Browse the repository at this point in the history
Better wording about difference between void[] and ubyte[].
  • Loading branch information
rainers committed Dec 6, 2014
2 parents 0adf4be + 0ef76e4 commit a6f3dcc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arrays.dd
Expand Up @@ -988,9 +988,9 @@ void main()
being presumed to contain only pure byte data, not pointers. However, it
$(I will) scan $(D void[]) arrays for pointers, since such an array may
have been implicitly converted from an array of pointers or an array of
elements that contain pointers. Casting an array that contains pointers to
$(D ubyte[]) may run the risk of the GC collecting live memory if it
becomes the only remaining references to the pointers' targets.)
elements that contain pointers. Allocating an array that contains pointers
as $(D ubyte[]) may run the risk of the GC collecting live memory if these
pointers are the only remaining references to their targets.)

$(H2 $(LNAME2 implicit-conversions, Implicit Conversions))

Expand Down

0 comments on commit a6f3dcc

Please sign in to comment.