Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2006-02-03 07:54:30

"Peter Dimov" <pdimov_at_[hidden]> writes:

> 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?

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

Boost list run by bdawes at, gregod at, cpdaniel at, john at