The analogue of "fill-pointer" in D
Kagamin via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon May 18 03:14:31 PDT 2015
On Monday, 18 May 2015 at 08:21:38 UTC, Dennis Ritchie wrote:
> Hi,
>
> In Common Lisp, there is such a thing as a fill-pointer
> (Example 5):
> http://www.tutorialspoint.com/lisp/lisp_arrays.htm
>
> Does D some equivalent?
Data stored in the array is indicated by the array length
property, use capacity to figure out extra available space:
http://dlang.org/phobos/object.html#.capacity
More information about the Digitalmars-d-learn
mailing list