Subject: Re: [boost] New libraries implementing C++11 features in C++03
From: Peter Dimov (pdimov_at_[hidden])
Date: 2011-11-25 10:54:38
Christopher Jefferson wrote:
> > http://pastebin.com/dcriF8FA
> 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.