j
k
j a
j l
Martin Fisher skrev:
then in main... vector<int> v; // filled with some ints for_each(v.begin(), v.end(), boost::bind(&X::t, _1, 4)); // or _1, 4
should be boost::bind(&X::t, <pointer to an instance of X>, _1, 4)) as X::t isn't static.
Back to the thread
Back to the list