31 Aug
2008
31 Aug
'08
10:56 a.m.
Hi: I am looking to change from std::map to boost::bimap. I have the following defined: std::bimap<std::bitset<6>, int, BitSetComp> DotsList; And boost::bimap<std::bitset<6>, int, BitSetComp>::iterator DotsIterator; If it's needed BitsetComp is defined as: struct BitSetComp { bool operator()(const std::bitset<6>& lhs, const std::bitset<6>& rhs) const { return lhs.to_ulong() < rhs.to_ulong(); } }; How do I change these definitions to use boost::bimap. Any help apreciated. Chers Sean. __________ Information from ESET NOD32 Antivirus, version of virus signature database 3401 (20080829) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com