Boost logo

Boost :

Subject: Re: [boost] [mini-review] Update of Boost.Assign (13th-19th of June)
From: John Bytheway (jbytheway+boost_at_[hidden])
Date: 2010-06-16 18:02:36


On 16/06/10 16:55, er wrote:
>
>> My guess, here, is that you would like to see ref_csv() and
>> cref_list() merged into one function that takes either of lvalues or
>> rvalues. Is my
>
> I meant ref_list_of(T&) and cref_list_of(const T&) merged into one,
> something like this?
>
> template<typename T> Implementation-defined ref_list_of(T&&);

Indeed, and perhaps:

template<typename... T> Implementation-defined ref_csv(T&&...)

(there's some wobbles there about how to go from this list of
potentially-different Ts to the one true T of the container, but they're
not insurmountable)

John Bytheway


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