By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,120 Members | 986 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,120 IT Pros & Developers. It's quick & easy.

Is store std::<map> element pointer safe?

P: n/a
store std::<map>::iterator is safe if didn't remove that element
Is store std::<mapelement's pointer also safe ?

Dec 21 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Peter Lee wrote:
store std::<map>::iterator is safe if didn't remove that element
Is store std::<mapelement's pointer also safe ?
Yes, iterators to elements of a std::map are preserved.

Dec 21 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.