Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2007-09-20 17:35:21


Mark Schlegel:

> // this hard coded one compiles and runs on all my platforms
> // but loses the whole point of genericness
> //typedef AgedMap<AH_ENTRY>::AGEDMAPTYPE::index<agetag>::type AGE_INDEX;
>
> // this AGE_INDEX does not on gcc but DOES compile on MSVC8
> typedef AgedMap<T>::AGEDMAPTYPE::index<agetag>::type AGE_INDEX;

Try adding 'typename' after 'typedef'.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net