How to detect if an array if dynamic or static
Kagamin via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Feb 25 02:27:16 PST 2016
void diss(int n)(ref int[n] array) { }
But to consume array of any size, just take dynamic array as
parameter.
More information about the Digitalmars-d-learn
mailing list