Thinking about the difference between fixed and 'dynamic' arrays.
Ali Çehreli
acehreli at yahoo.com
Wed Nov 30 14:30:06 UTC 2022
On 11/29/22 15:25, DLearner wrote:
> 'dynamic array' is
> not a reasonable description for a construct that behaves like
> VarArr2[3] becoming 40.
I agree with you: It has always bothered me to call the following a
dynamic array:
int[] arr;
'arr' is not a dynamic array but the slice interface. Dynamic arrays are
owned by the D runtime and are always nameless.
Ali
More information about the Digitalmars-d-learn
mailing list