std::indirectly_comparable
来自 cppreference.cn
定义于头文件 <iterator> |
||
template< class I1, class I2, class Comp, class Proj1 = std::identity, class Proj2 = std::identity > |
(自 C++20 起) | |
indirectly_comparable
概念指定了跨两个独立范围比较值的基本算法要求。
[编辑] 语义要求
仅当其包含的所有概念都被建模时,indirectly_comparable
才会被建模。
[编辑] 参见
(C++20) |
指定可调用类型在被调用时,如果使用解引用两个 indirectly_readable 类型的结果,则满足 predicate 。(concept) |