|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2003-01-04 15:16:57
Aleksey Gurtovoy <agurtovoy_at_[hidden]> writes:
> David Abrahams wrote:
>> Aleksey Gurtovoy <agurtovoy_at_[hidden]> writes:
>>
>> >
>> > So, now the question is, how to name the adaptor? :) Does
>> > 'unroll_args' sound right/good enough?
>>
>> Neat idea! How about "unary" or "unaryize"?
>
> I like the latter, but it doesn't appear to be a word; "unarize" is not a
> word either, but at least google finds a couple of them :).
"as_unary"?
> On a second
> thought, I am not sure if it's a good choice. Does
>
> apply< unarize<F>, list<int,long> >::type
>
> convey the discussed meaning for you?
No, but I'm not sure that unroll_args does either.
unroll_args doesn't, in fact, unroll arguments. It's a metafunction
adapter. "Unroll" is usually used with loops, not arguments. But
that might be the best name we can come up with.
-- David Abrahams dave_at_[hidden] * http://www.boost-consulting.com Boost support, enhancements, training, and commercial distribution
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk