Re: gcc 3.3.2 problem with STL MAP container

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux