
-----Mensaje original----- De: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] En nombre de Ion Gaztañaga Enviado el: viernes, 12 de agosto de 2011 11:58 Para: boost@lists.boost.org 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