By using Dev-C++ 4.9.8.0,I used boost::lambda,and the program contains the following lines:
..........
typedef std::pair <int, int> mypair;
bind(&mypair,1,6);
...................
but the complier told me that:
parse error before `,' token
but when I use
mypair(1,6);instead of bind(&mypair,1,6); then everything is ok.
Can anyone with kindness tell me why and how to solve it by using the function bind ?
200万种商品,最低价格,疯狂诱惑你