Re: [eigen] matrix exponential with c++0x

[ Thread Index | Date Index | More Archives ]

Indeed. it compiles here without the typename. I've noticed Bjoern has commited it. Thanks.

Thomas Capricelli <orzel@xxxxxxxxxxxxxxx>

In data giovedì 03 dicembre 2009 11:39:31, Hauke Heibel ha scritto:
: > Well, over here removing the 'typename' in front of _Function fixes the compilation for GCC.
>  typedef _Functor Functor;
> You only need the typename when the type you want to redefine is a nested template type depending on the class's template parameters. Unfortunately, VC9 neither complains when the the typename keyword is missing nor when it is given and not required - both cases are treated as compilation errors by GCC.
>  - Hauke

Mail converted by MHonArc 2.6.19+