libstdc++
std::indirectly_swappable Concept Reference

#include <iterator_concepts.h>

Concept definition

template<typename _I1, typename _I2 _I1>
&& requires(const _I1 __i1, const _I2 __i2)
{
ranges::iter_swap(__i1, __i1);
ranges::iter_swap(__i2, __i2);
ranges::iter_swap(__i1, __i2);
ranges::iter_swap(__i2, __i1);
}
Requirements for types that are readable by applying operator*.
[alg.req.ind.swap], concept indirectly_swappable

Detailed Description

[alg.req.ind.swap], concept indirectly_swappable

Definition at line 897 of file iterator_concepts.h.