甜美小土豆

文章
4
资源
0
加入时间
3年1月21天

STL入门之处理相反数

STL的基本组件容器(container)迭代器(iterator)函数对象(function object)算法(algorithms)在这里使用了  transform 函数实现了相反数的处理其中:transform现代码如下:template OutputIterator transform(InputIterator first, Inpu