How to detect if an array if dynamic or static

mahdi via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Feb 24 13:48:14 PST 2016


Suppose we have a function like this:

void diss(int[] array) ...

How can we detect is `array` is static (fixed size) or dynamic, 
inside the function body?


More information about the Digitalmars-d-learn mailing list