What is the structure of D arrays?

downs default_357-line at yahoo.de
Sat Dec 26 23:51:39 PST 2009


Ashok wrote:
> "Don" <nospam at nospam.com> wrote in message 
> news:hh6v0a$1bc4$1 at digitalmars.com...
>> Ashok wrote:
>>> Don wrote:
>>>> Ashok wrote:
>>>>> Sean Kelly wrote:
>>>>>> Ashok Wrote:
>>>>>>
>>>>>>> Actually, I have another question before the one in the subject
>>>>>>> line: How many types of arrays are there in D? THEN, I would like
>>>>>>> to know their layout/structure in memory.
>>>>>> There's one type, and its structure is described in the ABI:
>>>>>>
>>>>>> http://www.digitalmars.com/d/2.0/abi.html
>>>>> How wide is length? And really? There's only one array type? D's age
>>>>> showing!
>>>> Dynamic arrays are internally just a pointer and a length, so there
>>>> only needs to be one structure.
>>> I rest my case.
>> I'm intrigued. What would you expect?
>>
> I was being facetious. I got what I expected. I can't address your fantasy. 
> 
> 

I have no idea what you're talking about.



More information about the Digitalmars-d mailing list