Boost logo

Boost Users :

Subject: Re: [Boost-users] BOOST_FOREACH and boost::bimap
From: Conoscenza Silente (abruzzoforteegentile_at_[hidden])
Date: 2009-11-27 04:04:36


Thank you very much!
CS

On Fri, Nov 27, 2009 at 9:24 AM, <pete_at_[hidden]> wrote:

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