> I have an impression that this subject was already treated, but I > couldn't find it. > > Is there a way to define an array length by its type? > If I wanted to define a generic Point class, not only for R^2, but for R^n, > how could I do to strictly type its dimension? No, you can't. Nicolas