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-14 17:44:38


On 13/06/10 21:57, Thorsten Ottosen wrote:
> Dear Boost Developers and Users,
>
> Erwann Rogard has implemented an update to Boost.Assign which we shall
> evaluate during the next week. His extensions allows one to
> write code like the following:
>
> (A)
>
> A list of references (to temporaries, in this example):
>
> boost::array<int,8> a = cref_csv( 1,5,3,4,2,9,0,7 )

I'm curious: we have three list_of functions (list_of, ref_list_of and
cref_list_of) but only two of them have analogous csv functions (ref_csv
and cref_csv). Why is there no simple csv function, taking arguments by
value?

John Bytheway


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