Range-v3: ranges::indirectly_swappable_ Concept Reference

Range-v3 Range algorithms, views, and actions for the Standard Library |

ranges::indirectly_swappable_ Concept Reference
Iterator » Iterator Concepts

The `indirectly_swappable_` concept. More...

`#include <range/v3/iterator/concepts.hpp>`

## Concept definition

template<typename I1, typename I2>
concept ranges::indirectly_swappable_ = requires( I1 const i1, I2 const i2 ) { ranges::iter_swap(i1, i2), ranges::iter_swap(i1, i1), ranges::iter_swap(i2, i2), ranges::iter_swap(i2, i1) ; }
ranges::indirectly_swappable_
The indirectly_swappable_ concept.
Definition: concepts.hpp:769

## Detailed Description

The `indirectly_swappable_` concept.