built-in array ptrEnd

bearophile bearophileHUGS at lycos.com
Mon Sep 17 09:40:08 PDT 2012


monarch_dodra:

> IMO, this should really be built-in, in particular, since, in 
> my understanding, an array is internally represented by the ptr 
> and ptrEnd pair anyways.

Currently this is not true, take a look at the ABI part in the D 
site. Currently it's a pointer and length. Walter and/or Andrei 
discussed the idea of turning them into two pointers, but I don't 
know if and why that change was refused.

Bye,
bearophile


More information about the Digitalmars-d mailing list