Boost logo

Boost :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2006-05-15 06:17:18


On 05/13/2006 09:36 PM, João Abecasis wrote:
> Larry Evans wrote:
>
>>On 05/07/2006 02:19 PM, João Abecasis wrote:
[snip]
>>>The effect is that of invoking f with each element of seq as an argument.
>>
>>The last statement might be interpreted to mean:
[snip]
>> unpack_args(f,v2) == vector2(f(o),f(17))
>>
>>instead of:
>>
>> unpack_args(f,v2) == f(o,17)
>
>
> How about:
>
> seq - a model of Forward Sequence
> f - a N-ary functor or function pointer, with
> N = result_of::size<Seq>::value
>
> Semantics: returns the result of invoking n-ary f, using the elements of
> seq as arguments.
>
> ?

Much better, thanks.

> Thanks for your comments,
Most welcome.


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