Under Dev-C++, I used boost lambda
.............
typedef std::map<int, int> IIPrimemap;
IIPrimemap primemapvec;
typedef std::pair<int, int> IIPrimepair;
IIPrimepair  v=IIPrimepair(2,4);
.....................
bind(&IIPrimemap::insert,primemapvec,v);
but the complier tolde me that :
 cannot resolve overloaded function `insert' based on conversion
   to type `unsigned int'
can anyone with kindness tell me how to solve it?



200万种商品,最低价格,疯狂诱惑你