
9 Oct
2011
9 Oct
'11
6:12 p.m.
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