|
Boost Testing : |
Subject: [Boost-testing] A question on boost lambda . Can anyone with kindness help me?
From: fmingu (fmingu_at_[hidden])
Date: 2009-06-26 21:21:20
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?