How to detect if an array if dynamic or static

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Feb 24 14:38:04 PST 2016


On Wednesday, 24 February 2016 at 21:48:14 UTC, mahdi wrote:
> How can we detect is `array` is static (fixed size) or dynamic, 
> inside the function body?

`array` there is always dynamic because it is not of a fixed size 
type.

Why do you want to know though?


More information about the Digitalmars-d-learn mailing list