std::permutable_C++中文网

concept permutable =
    std::forward_iterator<I> &&
    std::indirectly_movable_storable<I> &&

   

std::indirectly_swappable<I>;

(C++20 起)

概念 permutable 细化 std::forward_iterator ,添加通过移动与交换重排的要求。

语义要求

I 实现 permutable ,仅若其所蕴含的所有概念均得到实现。

参阅

(C++20)

指定重排序列为有序序列的算法的共用要求
(概念)