From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-12-09 09:44:25
Hervé Brönnimann wrote:
> Indeed, I tried and to my surprise it doesn't work (both boost::bind
> (&draw, _1, _2)(1,2,3,4) and boost::bind<void>(&draw, _1,
Calling bind with (1, 2, 3, 4) doesn't work for you because of the rvalues.
It works with the latest CVS HEAD. You don't even need the & in front of
draw. boost::bind has been allowing extra arguments since day one.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk