Boost logo

Ublas :

From: Manoj Rajagopalan (rmanoj_at_[hidden])
Date: 2006-03-24 21:50:29


Hi all

   THe triangular_matrix<> template has four class parameters, T, TRI, L, A:

    template<class T, class TRI, class L, class A>
      class triangular_matrix ...

  but when declaring an instance of such an array, we only need mention
two, for eg:

   triangular_matrix<double, lower> m(3,3);

The L and the A template parameters don't even have default values. How
does the instantiation then work? Why is there no compile error saying
there are no legitimate values for L and A?

Thanks
Manoj