HI Morten,
>typename map<T, A>::const_iterator ci; >for ( ci = v.begin(); > >could not be changed to > >map<T, A>::const_iterator ci; >for (typename ci = v.begin();
That should not compile, so the compiler is working as designed.
Try this:
for (typename map<T, A>::const_iterator ci = v.begin();
HTH, --Eljay