
Hi: Ok, in maps I have: std::map <std::bitset<6>, int, BitSetComp> SignsList, DotsList; This translates to in bimap: typedef boost::bimap<std::bitset<6>, int, BitSetComp> DotsList, SignsList; The iterator for the map is: std::map<std::bitset<6>, int>::iterator DotsIterator, SignsIterator; I carn't get this translated to bimap iterators. Currently, the following doesn't work: typedef boost::bimap<std::bitset<6>, int, BitSetComp>::left_map::const_iterator DotsIterator, SignsIterator; Can someone tell me what is wrong with this code/what the correction is. I've read the docs and carn' seemto se anything! Any help apreciated. Sean. -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Steven Watanabe Sent: 02 September 2008 22:35 To: boost-users@lists.boost.org Subject: Re: [Boost-users] Bitset issue AMDG Sean Farrow wrote:
Hi: I am using a bitset to store up to 63 different values as a key in a mapp This does appear to be working though, as I carn't seem to get an iterator to accept any bitset even though it is defined, has any one go any othe ideas as to how I could tackle this issue.
What exactly are you trying to do? I can guess that you have something like std::map<std::bitset<6>, int> m; but I have no idea what you mean by getting "an iterator to accept a bitset" Could you please clarify? In Christ, Steven Watanabe _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users __________ Information from ESET NOD32 Antivirus, version of virus signature database 3409 (20080902) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3409 (20080902) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com