|
Boost : |
From: Joel de Guzman (joel_at_[hidden])
Date: 2006-09-14 22:39:25
Andy Little wrote:
> "Manfred Doudar" wrote
>
>> Please see my brief reply to Geoffrey Irving; ... and apologies for any
>> apprehension caused, but its my fault - the best name to use really
>> depends on context.
>
> Then I guess in fusion you would do :
>
> fusion::inner_product<SequenceA, SequenceB,Function1,Function2>{...}
>
> fusion::dot_product<SequenceA, SequenceB>
> : fusion::inner_product<
> SequenceA,SequenceB,
> boost:functional::multiplies,boost::functional::plus
>> {};
Reminds me of fusion and mpl fold/accumulate. It's the same thing with
a different name. fusion and mpl have both as synonyms.
Cheers!
-- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk