Hi,
I have this code piece,
vector<int> v1, v2;
vector<pair<int , int> > uups;
....
transform(v1.be gin(), v1.end(), v2.begin(), uups.end(),
ptr_fun(make_pa ir));
But my gcc compiler complains that "no matching function for call to
`ptr_fun(<unkno wn type>". Do you know what's wrong here?
Thanks.
I have this code piece,
vector<int> v1, v2;
vector<pair<int , int> > uups;
....
transform(v1.be gin(), v1.end(), v2.begin(), uups.end(),
ptr_fun(make_pa ir));
But my gcc compiler complains that "no matching function for call to
`ptr_fun(<unkno wn type>". Do you know what's wrong here?
Thanks.
Comment