
9 Dec
2006
9 Dec
'06
2:39 p.m.
Peter: I tried #include <boost/bind.hpp> void draw(int, int) {} int main() { boost::bind<void>(&draw, _1, _2) (1, 2, 3, 4); return 0; } and that didn't compile. How did you mean this: "Yes it can"? -- Hervé Brönnimann hervebronnimann@mac.com On Dec 9, 2006, at 9:24 AM, Peter Dimov wrote:
ali f wrote:
Boost.Bind can indeed be used to decrease the number of args a function can take, but it can't be used to increase the number of args a function can take.
Yes it can. _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/ listinfo.cgi/boost