|
NexusForce 1.0.0
A Modern C++ Library with extended functionality, web components, and utility libraries
|
处理相邻元素的算法 更多...
函数 | |
| template<typename Iterator, typename BinaryPredicate> | |
| constexpr Iterator | adjacent_find (Iterator first, Iterator last, BinaryPredicate binary_pred) |
| 查找第一对满足条件的相邻元素 | |
| template<typename Iterator> | |
| constexpr Iterator | adjacent_find (Iterator first, Iterator last) |
| adjacent_find的默认比较版本 | |
处理相邻元素的算法
|
constexpr |
adjacent_find的默认比较版本
| Iterator | 迭代器类型 |
| first | 范围的起始迭代器 |
| last | 范围的终止迭代器 |
在文件 search.hpp 第 325 行定义.
引用了 adjacent_find().
|
constexpr |
查找第一对满足条件的相邻元素
| Iterator | 迭代器类型 |
| BinaryPredicate | 二元谓词函数类型 |
| first | 范围的起始迭代器 |
| last | 范围的终止迭代器 |
| binary_pred | 二元谓词函数 |
在文件 search.hpp 第 301 行定义.
引用了 is_ranges_input_iter_v , 以及 next().
被这些函数引用 adjacent_find(), unique() , 以及 unique().