Re: [eigen] Std Vector again

[ Thread Index | Date Index | More Archives ]

On Fri, Jun 26, 2009 at 1:00 PM, Benoit Jacob <jacob.benoit.1@xxxxxxxxx> wrote:
> AlignedVector<Vector4f>::type my_vec;

I think you need a typename keyword here ;)


No, only if T is a dependent type ;). That used to trip me up frequently.

template<typename MatrixT>
void foo()
  typename AlignedVector<MatrixT>::type vec1;
  AlignedVector<Vector4f>::type vec2;


Mail converted by MHonArc 2.6.19+