Boost logo

Boost Users :

From: Annamalai Gurusami (annamalai.gurusami_at_[hidden])
Date: 2008-09-03 14:03:06


On Wed, Sep 3, 2008 at 12:19 PM, Sean Farrow
<sean.farrow_at_[hidden]> wrote:
> Hi:
> Your right!
> What is wrong with this iterator definition:
> boost::bimap< std::bitset<6>, int, BitSetComp>::left_map::iterator
> DotsIterator;

I think the problem is in the third template parameter. The third
template argument to boost::bimap is different from that of the
std::map. Please read the following section of the documentation:

http://www.boost.org/doc/libs/1_35_0/libs/bimap/doc/html/boost_bimap/the_tutorial/complete_instantiation_scheme.html

Rgds,
anna

> I get the following 4 errors:
> error C2903: 'rebind' : symbol is neither a class template nor a
> function template bimap_core.hpp 408
> error C2039: 'rebind' : is not a member of 'BitSetComp' bimap_core.hpp
> 408
> error C2146: syntax error : missing ',' before identifier 'rebind'
> bimap_core.hpp 408
> error C2065: 'rebind' : undeclared identifier bimap_core.hpp 408
> Any help apreciated, I'm pulling my fair out as we speak!
> Sean
>

-- 
Abusive Language on Internet
http://missingrainbow.blogspot.com/2008/08/abusive-language-on-internet.html

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