Hi there,

I find a definition in

template <int rank_, int dim, typename Number>
class Tensor
{
...
typedef typename Tensor<rank_-1,dim,Number>::array_type array_type[dim];
...

}

I do not understand this definition. The array_type only appears once here
without any other definition in this template. How is it used to define
array_type[dim]?
Anyone can tell me how does this definition work?


-- 
Dr. Nan Zhang
Postdoctoral Research Associate
Department of Geological Science
Brown University
324 Brook Street
 Box 1846
Providence, RI 02912
HomePage: http://anquetil.colorado.edu/~nzhang/NanZhangHome.html
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to