Quote Originally Posted by Yadrif View Post
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