algorithm

transform(first,last,result,op);//first是容器的首迭代器,last为容器的末迭代器,result为存放结果的容器,op为要进行操作的

原文地址:https://www.cnblogs.com/xpylovely/p/11193709.html