Hello
I have a std::vector<std::string> with some elements..
I would like to copy last X elements to another std::list<std::string> and remove them from std::vector.
What is the easiest/best way to do this?
I know I should use std::copy and do interation, but not sure about the second step.
Thanks a lot for help!
Regards

