ex_array template class