|
Boost Users : |
From: Mark Schlegel (moschleg_at_[hidden])
Date: 2007-09-20 17:56:35
>> // 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'.
Yes, that was one of the things I tried before posting, it didn't help (but I didn't leave that in the posted code example)
Mark
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