Boost logo

Boost Users :

From: James Hughes (JHughes_at_[hidden])
Date: 2006-04-25 10:40:43


Spot on! Thanks for that.

reading my templates book has given me a good idea of why, so hopefully I
wont make the same mistake again!

James

> -----Original Message-----
> From: Joaquín Mª López Muñoz [mailto:joaquin_at_[hidden]]
> Sent: 25 April 2006 15:17
> To: boost-users_at_[hidden]
> Subject: Re: [Boost-users] Problem with iterator, map, shared_ptr and
> templated class
>
>
>
> James Hughes ha escrito:
>
> > Hello all,
> >
> > I am a bit stumped by a compile fault..
> >
> > This is a fragment of the code
>
> [...]
>
> > for (handlerMap::iterator pos = LogMap.begin(); pos
> != LogMap.end();
>
> I think this has to be
>
> for (typename handlerMap::iterator pos =
> LogMap.begin(); pos !=
> LogMap.end();
>
> HTH,
>
> Joaquín M López Muñoz
> Telefónica, Investigación y Desarrollo
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>


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