Template is2DArray

Evaluates to true if T is a two-dimensional array type.

template is2DArray(T) ;
template is2DArray(T, U) ;

If the second template parameter is specified it is also checked whether the elements of T are of type U.