multiset<string>与vector<string>的比较
int main (int argc, char* argv[])
{
std::ios::sync_with_stdio (false);
//将范围从v.begin()到v.end()的元素copy到c的end()处
copy(v.begin (), v.end (), inserter (c, c.end ()));
//错误,set不支持back_inserter
//copy(v.begin (), v.end (), back_inserter (c));
//接下来的两行中,v后面的元素是c按升序(字母表顺序)copy过去的
copy(c.begin (), c.end (), inserter (v, v.end ()));
copy(c.begin (), c.end (), back_inserter (v));
DisplayVector (v);
return0;
}
{
}