Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <vector>
- #include <string>
- using namespace std;
- void MoveStrings(vector<string>&source, vector<string>&destination) {
- for(string a : source)
- destination.push_back(a);
- source.clear();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement