Boost logo

Boost Users :

Subject: Re: [Boost-users] BOOST_FOREACH and boost::bimap
From: pete_at_[hidden]
Date: 2009-11-27 03:24:01


On Fri 27/11/09 08:08 , Conoscenza Silente <abruzzoforteegentile_at_[hidden]> wrote:

> Hi All
> I tried to use BOOST_FOREACH with bimap but it doesn&#39;t compile.

..
 
> BOOST_FOREACH( BMapKIt it, myBimap) // this line  doesnt&#39;

...

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 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