|
Boost : |
Subject: Re: [boost] [intrusive] unordered_set insert/find question
From: Tim Blechmann (tim_at_[hidden])
Date: 2011-06-15 06:23:16
> > i have a reduced test case, which shows this behavior at [1] ... is this
> > my fault (not using the unordered_set correctly) or is it a bug in
> > boost.intrusive?
>
> I think you forgot to include the link/attachment for '[1]'.
oops ... http://pastebin.com/KNXhuSiH
> I don't know boost.intrusive very well, but you seem to be searching
> for the element rather than the key, is it possible that there's an
> implicit conversion from the element to the key, and you're searching
> on that?
i am inserting an element to the set, then i search for the element. i don't see
how an implicit conversion could happen.
thanks, tim
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk