Skip to content

Commit

Permalink
Better wording about difference between void[] and ubyte[].
Browse files Browse the repository at this point in the history
  • Loading branch information
H. S. Teoh committed Dec 6, 2014
1 parent 0adf4be commit 0ef76e4
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 0ef76e4

Please sign in to comment.