Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.c++.moderated    |    Moderated discussion of C++ superhackery    |    33,346 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 31,400 of 33,346    |
|    A. McKenney to All    |
|    std::map -- do pointers/refs to elements    |
|    24 Aug 11 16:44:20    |
      56705840       From: alan_mckenney1@yahoo.com              I found out today that, for std::map, insertion of elements doesn't       invalidate iterators.       That is, the following code is guarranteed to work (once you add the       right #includes       and wrap it in a function.)                     typdef std::map |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca