标签:style io ar color os sp for strong on
第21章 非变易算法
Non-modifying sequence operations
21.0 advance, distance
为了了解模板,先了解一下这两个迭代器操作函数
21.1 逐个容器元素for_each
for_each Apply function to range (template function)
21.2 查找容器元素find
find Find value in range (function template)
21.3 条件查找容器元素find_if
find_if Find element in range (function template)
21.4 邻近查找容器元素adjacent_find
adjacent_find Find equal adjacent elements in range (function template)
21.5 范围查找容器元素find_first_of
find_first_of Find element from set in range (function template)
21.6 统计等于某值的容器元素个数count
count Count appearances of value in range (function template)
21.7 条件统计容器元素个数count_if
count_if Return number of elements in range satisfying condition (function template)
21.8 元素不匹配查找mismatch
mismatch Return first position where two ranges differ (function template)
21.9 元素相等判断equal
equal Test whether the elements in two ranges are equal (function template)
21.10 子序列搜索search
search Find subsequence in range (function template)
21.11 重复元素子序列搜索search_n
search_n Find succession of equal values in range (function template)
21.12 最后一个子序列搜索find_end
find_end Find last subsequence in range (function template)
全部内容在这里,已经折叠:
第21章 非变易算法
Non-modifying sequence operations
21.0 advance, distance
为了了解模板,先了解一下这两个迭代器操作函数
21.1 逐个容器元素for_each
for_each Apply function to range (template function)
21.2 查找容器元素find
find Find value in range (function template)
21.3 条件查找容器元素find_if
find_if Find element in range (function template)
21.4 邻近查找容器元素adjacent_find
adjacent_find Find equal adjacent elements in range (function template)
21.5 范围查找容器元素find_first_of
find_first_of Find element from set in range (function template)
21.6 统计等于某值的容器元素个数count
count Count appearances of value in range (function template)
21.7 条件统计容器元素个数count_if
count_if Return number of elements in range satisfying condition (function template)
21.8 元素不匹配查找mismatch
mismatch Return first position where two ranges differ (function template)
21.9 元素相等判断equal
equal Test whether the elements in two ranges are equal (function template)
21.10 子序列搜索search
search Find subsequence in range (function template)
21.11 重复元素子序列搜索search_n
search_n Find succession of equal values in range (function template)
21.12 最后一个子序列搜索find_end
find_end Find last subsequence in range (function template)
标签:style io ar color os sp for strong on
原文地址:http://www.cnblogs.com/xin-le/p/4113044.html