摘要:
#include<algorithm> //C++标准库算法#include<functional>//仿函数和函数配接器1.nonmodifying algorithm 非变动性算法(不改动元素,即只能读取)2.modifying algorithm 变动性算法3.removing algorithm 移除性算法4.mutating algorithm 变序性算法5.sorting algorithm 排序算法6,sorted range algorithm已序区间算法7.numeric algorithm 数值算法difference_type用于测定距离,区别正负 阅读全文