
16 Jun
2010
16 Jun
'10
10:02 p.m.
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