Boost logo

Boost :

Subject: Re: [boost] [Containers] Review
From: JOAQUIN M. LOPEZ MUÑOZ (joaquin_at_[hidden])
Date: 2011-08-12 07:06:55


-----Mensaje original-----
De: boost-bounces_at_[hidden] [mailto:boost-bounces_at_[hidden]] En nombre de Ion Gaztañaga
Enviado el: viernes, 12 de agosto de 2011 11:58
Para: boost_at_[hidden]
Asunto: Re: [boost] [Containers] Review
>
> El 11/08/2011 13:16, Stewart, Robert escribió:
> > Here's another approach:
> >
> > flat_container c; { flat_container::insert_batch b(c);
> > b.insert(data1); b.insert(data2); b.merge(); }

It might be more convenient to use operator() rather than
insert() for adding items to the batch, so as to allow
for easy interoperability with for_each, for instance.

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo

Este mensaje se dirige exclusivamente a su destinatario. Puede consultar nuestra política de envío y recepción de correo electrónico en el enlace situado más abajo.
This message is intended exclusively for its addressee. We only send and receive email on the basis of the terms set out at.
http://www.tid.es/ES/PAGINAS/disclaimer.aspx


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