это не компиляется в msvc 2005, но компиляется в msvc 2003:
template<int _itemSize, int _itemCount>
class CSome //, protected CALLOCATOR
{};
template<int _itemSize, int _itemCount>
class CSomeList
{
typedef CSome<_itemSize,_itemCount> _CSome;
typedef std::list< _CSome* > _CSomeList;
typedef _CSomeList::iterator myiter; // !!! error C2146: syntax error : missing ';' before identifier 'myiter'
...
bool is_myptr_iter(void* vp, myiter& it) //!!!error C2061: syntax error : identifier 'myiter'
{...}
};
помогите — как исправить, чтоб заработало в 2005...