On 2007-05-11 08:55,
ku*******@gmail.com wrote:
Hi all !
I have a small trouble with iterators... Can you help me please.
The problem:
typedef std::map<int, intM;
M m;
M::iterator i = m.begin();
DWORD d = (DWORD)i._Mynode();
M::iterator i2((M::_Imp::_Nodeptr)d); // <-- here i want to have an
iterator which point to same position as i
See those methods starting with an underscore("_") followed by a capital
letter, those are reserved for the implementation and not part of any
stable interface, which basically means that you should not use them
since they can change with the smallest update to your library.
Now, if you tell us the problem (which lead you to try this solution)
someone might be able to help you with a better solution.
--
Erik Wikström