
25 Nov
2011
25 Nov
'11
3:54 p.m.
Christopher Jefferson wrote:
Thank you, but I was thinking more doing the whole thing in-line (else, I would just write a function object, much like you did, without the phoenix), or use std::bind.
std::bind with a function template doesn't work without a cast though. Would it not be cool if we get automatic lambdaization of overload sets in C++38, taking care of this, by then, non-problem.