Boost logo

Boost :

Subject: Re: [boost] multi_index bug?
From: Olaf van der Spek (ml_at_[hidden])
Date: 2011-10-10 07:54:48


On Sun, Oct 9, 2011 at 8:12 PM, Joaquin M Lopez Munoz <joaquin_at_[hidden]> wrote:
>> 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?

If there are no known issues I have to assume it's not a bug in
multi_index. I'll let you know if I do find something more specific in
multi_index.

Olaf


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