Iterator failure while moving over equal_range in Boost MultiIndex container
- by Sarah
I'm making some mistake with my iterators, but I can't see it yet.
I have a Boost MultiIndex container, HostContainer hmap, whose elements are boost::shared_ptr to members of class Host. All the indices work on member functions of class Host. The third index is by Host::getHousehold(), where the household member variable is an int.
Below, I'm…