[Issue 14467] arr.capacity sometimes erroneously returns 0
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Apr 19 22:25:06 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14467
--- Comment #3 from Ketmar Dark <ketmar at ketmar.no-ip.org> ---
ah, i see. somehow i was thinking that `capacity` is stored in the array
struct. that's strange, 'cause i know that array struct consists of `ptr` and
`length` only.
thank you, and sorry for the noise.
--
More information about the Digitalmars-d-bugs
mailing list