|
-
February 6th, 2010, 10:22 PM
#1
vector:erase iterator requirements
In the two forms of vector::erase:
iterator erase(iterator position);
iterator erase(iterator first, iterator last);
can the 'iterator' mentioned be a vector::const_iterator, vector::reverse_iterator, or vector::const_reverse_iterator as well as a vector::iterator ?
Edward Diener
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|