C++标准库算法

一、只读算法

1. find()

2. count()

3. accumulate

4. equal

 

二、写入算法

1. fill

2. fill_n

3. copy

4. replace

5. replace_copy

 

三、重排

1. sort

2. unique

3. stable_sort

 

四、可使用谓词做参数的算法

1. sort

2. stable_sort

3. find_if 

4. count_if

5. for_each

6. transform

posted @ 2017-10-19 19:57  GGBeng  阅读(614)  评论(0编辑  收藏  举报