Boost logo

Boost :

Subject: Re: [boost] multi_index bug?
From: Joaquin M Lopez Munoz (joaquin_at_[hidden])
Date: 2011-10-09 14:12:11


Olaf van der Spek <ml <at> vdspek.org> writes:

>
> Hi,
>
> I've got this container:
>
> [...]
>
> I'm using the find() member to find elements. When I use
> hashed_unique, it seems to be unable to find some elements, while it
> finds all if I use ordered_unique.
> This is with Boost 1.46.1.1 (Debian) and gcc version 4.6.1 (Debian 4.6.1-4)
> Is this a known issue?

There's nothing suspicous about the multi_index_container
you describe, and finding elements should work equivalently
with a hashed_unique and an ordered_unique index. Can you
provide a little more context or, better yet, produce some
sample code showing the problem?

Thank you,

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


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