std::permutable_C++中文网

C++ 参考手册

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

    std::indirectly_swappable<I>;
(C++20 èµ·)

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

语义要求

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

参阅