Boost logo

Boost Users :

Subject: Re: [Boost-users] Multi Index Container - find() not working with std::string, kind of stuck...
From: Steve Hibbert (hiblet_at_[hidden])
Date: 2011-07-09 12:58:25

I've found the problem. I broke the constancy rule on the container, like a
true noob. Objects were being added to the container with a temporary
ExchID, and then subsequently the ExchID's for each object were updated,
making the ExchID index corrupt.

Whenever I listed the container objects, they looked fine, and the index
looked OK. The corruption gave me a 50-50 hit rate on finding objects using
that index, which had me confused to say the least. And all it took was a
couple of days to discover.

View this message in context:
Sent from the Boost - Users mailing list archive at

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at