Array Slices and Interior Pointers
Alex Rønne Petersen
alex at lycus.org
Tue Dec 11 09:23:44 PST 2012
On 11-12-2012 11:36, renoX wrote:
> On Tuesday, 11 December 2012 at 00:04:57 UTC, Alex Rønne Petersen wrote:
>> http://xtzgzorex.wordpress.com/2012/12/11/array-slices-and-interior-pointers/
>>
>>
>> Destroy.
>
> Instead of changing slices, shouldn't all pointers be modified if you
> want to do this kind of things (a pointer would have two parts a
> reference to the "head" and the real reference)?
>
> BR,
> renoX
Interior pointers are not generally as useful for other things in the
language as they are for slices, so I don't think any change is
necessarily needed there.
--
Alex Rønne Petersen
alex at lycus.org
http://lycus.org
More information about the Digitalmars-d
mailing list