Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

STL Iterators

Name: Anonymous 2011-11-22 21:14

Do STL iterators need to be deleted when you're done with them? If I remember right, iterators are nothing but pointers that have been gussied up, but do they have their own destructors that clean up all their internal mess? I can't remember for the life of me and google is no help.

Name: F r o z e n V o i d !!mJCwdV5J0Xy2A21 2011-11-23 3:20

Pointers make it easy to step out of bounds, since their explicit size is not stored.
http://codepad.org/Szsb0qhF

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List