|
-
December 23rd, 2011, 06:58 PM
#1
[RESOLVED] Extracting Elements from STL maps
I have a giant map and using iterator and lower_bound functions I have been able to narrow down to a range relevant to me.
Now I want to copy the locations from first_iterator to last_iterator to another map or rather create a new map from first_iterator to last_iterator. Is there an automatic way of doing it instead of me writing a for loop?
Thanks guys
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
|