Boost logo

Boost Users :

Subject: Re: [Boost-users] [mini-review] Update of Boost.Assign (13th-19th of June)
From: er (erwann.rogard_at_[hidden])
Date: 2010-06-17 12:19:20


>> This would tie in with the proposed extension like this:
>>
>> push_back_range(v,cref_csv(1,2,3,4));
>
> I'd personally be very happy with that functionality and syntax. I
> assume performance-wise this is not much different from a standard
> .push_back of each entry seperately?
>

Thanks. As already noted by Thorsten, a straightforward solution is

     boost::push_back( cont, cref_csv(1,2,3,4) );


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net