Boost logo

Boost Users :

From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2008-06-30 15:44:12

Sean Farrow skrev:
> Hi:
> How can I assign a std::bitset to the first parameter (key) of a map
> using boost::assign::assign_map_list_of, do I have to construct a bitset
> or can I use one on the fly? In want to be able to say:
> Map =boost::assign::Assign_Map_list_of(bitset, int);
> How can I do this for multiple values?


map = map_list_of( "01010", 1 )( "10010", 42 )

not work?


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at