
"Peter Dimov" <pdimov@mmltd.net> writes:
David Abrahams wrote:
David Abrahams <dave@boost-consulting.com> writes:
"Peter Dimov" <pdimov@mmltd.net> writes:
*_1 < *_2 is different, as the subexpression *_1 requires return type deduction. This is Lambda territory at the moment; Boost.Bind doesn't do deduction.
Yeah, OK.
If you could stand a dependency on pointee.hpp, bind /could/ do deduction for this very important operator.
Currently bind doesn't do any deduction; its objects always have a result_type. If I make *_1 work, I may as well just go ahead and create a mini-lambda. :-) Why duplicate the Lambda library?
Because lambda doesn't work smoothly shared_ptr et al., for one. And it's not as portable. I've been waiting too long for phoenix-2, I guess :( -- Dave Abrahams Boost Consulting www.boost-consulting.com