Boost logo

Boost Users :

From: Manges, Ross G (Ross.G.Manges_at_[hidden])
Date: 2005-04-18 13:00:48


Joaquin M Lopez Munoz wrote:
> You've got to implement semantics equivalent to that of
> the < relationship between numbers:
>
> http://www.sgi.com/tech/stl/StrictWeakOrdering.html

Ah ha! After some serious unit testing, I uncovered a case in my
sorting logic that does not comply with the strict weak ordering
requirement. I have now fixed the logic, and I am no longer getting the
invariant assert! Sorry to send you all on a "wild goose chase".

I did consequently run into a SAFE_MODE related exception where an
iterator to one of the indices was going invalid after an 'erase()' was
called, and I'm still having problems with shared_ptrs, but I'll save
the details for another discussion.

Thanks for all of your help!


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net