|
Boost Users : |
From: Sean Farrow (sean.farrow_at_[hidden])
Date: 2008-09-03 13:19:43
Hi:
Your right!
What is wrong with this iterator definition:
boost::bimap< std::bitset<6>, int, BitSetComp>::left_map::iterator
DotsIterator;
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
-----Original Message-----
From: boost-users-bounces_at_[hidden]
[mailto:boost-users-bounces_at_[hidden]] On Behalf Of Annamalai
Gurusami
Sent: 03 September 2008 17:48
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] Bitset issue
On Wed, Sep 3, 2008 at 3:39 AM, Sean Farrow
<sean.farrow_at_[hidden]> wrote:
> 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;
Do you really want typedef there? I think what you mean is
boost::bimap<std::bitset<6>, int, BitSetComp> DotsList, SignsList;
It doesn't make sense to use the keyword typedef there. With typedef
you probably would be writing something like,
typedef boost::bimap<std::bitset<6>, int, BitSetComp> my_bimap;
my_bimap DotsList, SignsList;
Rgds,
anna
-- Abusive Language on Internet http://missingrainbow.blogspot.com/2008/08/abusive-language-on-internet. html _______________________________________________ Boost-users mailing list Boost-users_at_[hidden] http://lists.boost.org/mailman/listinfo.cgi/boost-users __________ Information from ESET NOD32 Antivirus, version of virus signature database 3412 (20080903) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3412 (20080903) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com
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