Re: [Boost-users] BOOST_FOREACH and boost::bimap

On Fri 27/11/09 08:08 , Conoscenza Silente
Hi All I tried to use BOOST_FOREACH with bimap but it doesn't compile.
..
BOOST_FOREACH( BMapKIt it, myBimap) // this line doesnt'
... Bimap is no different from any other container when it comes to FOREACH, you need "BMapVal v" not "BMapKlt it" in the macro.

Thank you very much!
CS
On Fri, Nov 27, 2009 at 9:24 AM,
On Fri 27/11/09 08:08 , Conoscenza Silente
wrote: Hi All I tried to use BOOST_FOREACH with bimap but it doesn't compile.
..
BOOST_FOREACH( BMapKIt it, myBimap) // this line doesnt'
...
Bimap is no different from any other container when it comes to FOREACH, you need "BMapVal v" not "BMapKlt it" in the macro. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
Conoscenza Silente
-
pete@pcbartlett.com