Just in case you interested how to accomplish it with boost::lambda
#include "boost/lambda/lambda.hpp"
[...snip...]
Thanks Ovanes - I'm sure you will understand that my real code is a bit more complicated then doubling ints! Since both bind and lambda are pretty much superceded by phoenix now, perhaps you could also supply the phoenix version?