Boost logo

Boost Users :

From: Kevin McMahon (kevinmcm_at_[hidden])
Date: 2007-06-02 19:17:55


That's exactly what I want. I just could not see any promise of such
behavior in the documentation. That's fabulous.

-kevin

On Jun 2, 2007, at 4:00 PM, JOAQUIN LOPEZ MU?Z wrote:

> Hello Kevin,
>
> ----- Mensaje original -----
> De: Kevin McMahon <kevinmcm_at_[hidden]>
> Fecha: Sábado, Junio 2, 2007 4:15 pm
> Asunto: [Boost-users] newbie ordering question
> forboost::multi_index::ordered_non_unique
> Para: boost-users_at_[hidden]
>
>> I'd like to pop items in my data set ordered by a key, but if the
>> key is identical then ordered in the order I inserted them.
>> Is there a good way to do that? I guess I could make a
>> composite key using an increasing id.
>
> Although it is not documented (and I think I should document
> it in light of LWG issue 233), non-hinted insertion always
> happens at the end of all previously stored elements
> with equivalent key. Is this what you want? Are you observing
> otherwise?
>
> Joaquín M López Muñoz
> Telefónica, Investigación y Desarrollo
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users


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