Re: [Fusion] Notice of breaking change

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [Fusion] Notice of breaking change

Eric Niebler
dan marsden wrote:

>> The definition of Fusion polymorphic function object will be changed shortly to be consistent with boost.resultof. Instead of requiring a nested result metafunction of the form:
>>
>> template<typename T0, typename T1, ... typename TN>
>> struct result
>> {
>>    typedef xxx type;
>> };
>>
>> A polymorphic function object will instead simply be required to suppport
>>
>> boost::result_of<F(A,B,...Z)>::type
>>
>> as a valid expression.
>>
>> This will break some Fusion client code, specifically, if you are using
>> fold, accumulate, transform, or a lot of the components in the functional section
>> of the library, you may need to make changes to support this change.
>>
>> The change should be entered into CVS head over the forthcoming weekend.
>
> The above change has now been applied. Docs upgrades will follow in the next few days.


I've made the necessary changes to Proto on HEAD. Thanks, Dan.

--
Eric Niebler
Boost Consulting
www.boost-consulting.com

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Spirit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/spirit-devel