◐ Shell
clean mode source ↗

std::indirectly_comparable - cppreference.com

来自cppreference.com

template< class I1, class I2, class Comp,
          class Proj1 = std::identity, class Proj2 = std::identity >
concept indirectly_comparable =
    std::indirect_binary_predicate<Comp, std::projected<I1, Proj1>, std::projected<I2, Proj2>>;
(C++20 起)

概念 indirectly_comparable 指定对于”横跨两个独立范围比较值“的基础算法要求。

语义要求

indirectly_comparable 得到实现的条件为,其所蕴含的概念均被实现。

参阅