|
Boost Users : |
From: Annamalai Gurusami (annamalai.gurusami_at_[hidden])
Date: 2008-09-03 12:48:21
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 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