Boost logo

Boost Users :

From: Bo Peng (ben.bob_at_[hidden])
Date: 2005-04-22 16:13:19


Dear list,

I need direct access ( save and use element pointers) to container
elements in my application. std::vector<obj> can not be used since
vector::push_back etc may relocate objs. std::list<obj> seems to be
working but I could not find any guarantee that an element will not be
moved around because of operations on other elements.

Is there a std or boost container that fits my need?

Many thanks in advance.
Bo


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