Hello TSalm,
take a look at static if and ishttp://www.digitalmars.com/d/1.0/version.html#staticif http://www.digitalmars.com/d/1.0/expression.html#IsExpressionThanks for this links. But I don't see anything about how to test if it's an array or not... Is it not possible ?
look at point 5 IIRC: static if(is(T B : B[])) { // if T is an array, this is used and B is the element type }