Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-02-02 22:16:50


David Abrahams wrote:
> David Abrahams <dave_at_[hidden]> writes:
>
>> "Peter Dimov" <pdimov_at_[hidden]> 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?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk