Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-11-30 21:05:06


Joel de Guzman <joel_at_[hidden]> writes:

> David Abrahams wrote:
>> Joel de Guzman <joel_at_[hidden]> writes:
>>
>>
>>>Hi,
>>>
>>>Hi. Here's a preview of Phoenix V2. This will probably be the last
>>>release of the library. Phoenix V2 will be the basis of the Phoenix
>>>and Boost.Lambda merger.
>>
>>
>> I've been wondering, now that result_of is semi-standard, whether we
>> really should have used apply<> in the Lazy function interface, rather
>> than result<>, as that is compatible with result_of. Maybe there's a
>> SFINAE way to make either one work?
>
> :) Phoenix used to use result<>. Yes, "result" has certain
> advantages. Another is backward compatibility with Phoenix-1.
> However, compatibility with MPL is important too. So, I don't
> really know what to say. Have them both?

Seems to me that for Phoneix, result<>/result_type is much more
useful/appropriate than apply<>/type. I now lean toward the same
for Fusion. Yes, I know I was the one who suggested you go the other
way :(

You can make adapters that help when you need both.

> ... Oh BTW, Dave: Dan Marsden has incorporated most of your
> review issues into the documentation. Thanks Dan! And Thanks
> for your review Dave! I shall upload an updated copy as soon
> as possible.

Looking forward to it.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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