#include <iostream>
#include <vector>
#include <map>
#include <string>
#include <algorithm>
#include <iostream>

typedef std::map<std::string, std::size_t> src_type;
typedef std::vector<std::pair<std::string, std::size_t>> dst_type;

int main() 
{
	src_type src;
	dst_type dst;
	
	src.insert(std::make_pair("one", 1));
	src.insert(std::make_pair("two", 2));
	src.insert(std::make_pair("three", 3));
	
	std::copy(src.begin(), src.end(), std::back_inserter(dst));
	
	for(auto it : dst)
	{
		std::cout << it.first << " - " << it.second << std::endl;
	}
	
	return 0;
}