digitalmars.D - Is string.ptr a part of the language?
- =?UTF-8?B?QWxpIMOHZWhyZWxp?= (7/7) Mar 31 2010 I've seen people access string.ptr in code examples. Does that member
- KennyTM~ (3/10) Mar 31 2010 string is just an alias of invariant(char)[], and dynamic arrays do have...
I've seen people access string.ptr in code examples. Does that member exist and publicly accessible? How about the internals of slices, associative arrays, and others? I am not planning or need to use them. I am just trying to determine how much of the internals are a part of the D language. Thank you, Ali
Mar 31 2010
On Apr 1, 10 13:20, Ali Çehreli wrote:I've seen people access string.ptr in code examples. Does that member exist and publicly accessible? How about the internals of slices, associative arrays, and others? I am not planning or need to use them. I am just trying to determine how much of the internals are a part of the D language. Thank you, Alistring is just an alias of invariant(char)[], and dynamic arrays do have the .ptr property (http://www.digitalmars.com/d/2.0/arrays.html).
Mar 31 2010