|
-
February 17th, 2012, 03:42 PM
#4
Re: Move elements from one container to another without loop
 Originally Posted by Yadrif
I'm not taking all of the data from the dataQ
And neither am I. Look at my code carefully.
You control how much you want to copy by giving the starting and ending iterators of the range. Take a look at the parameters to std::copy.
Regards,
Paul McKenzie
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
|