inline namespace /* unspecified */ {
inline constexpr /* unspecified */
iter_swap = /* unspecified */;
}
Call signature
template< class I1, class I2 >
constexpr void iter_swap( I1&& i1, I2&& i2 ) noexcept(/* see below */);
Helper function
(exposition only*)Swaps values denoted by two iterators.
The effect of the exposition-only helper function iter-exchange-move
is equivalent to
ranges::iter_swap(i1, i2) is expression-equivalent to:
iter_swap
is performed with the additional candidate void iter_swap(auto, auto) = delete;[1], excluding std::ranges::iter_swap
itself.
I1
and I2
model indirectly_readable
and if std::iter_reference_t<I1> and std::iter_reference_t<I2> model swappable_with
.
iter-exchange-move
(i2, i1)), if std::indirectly_movable_storable<I1, I2> and std::indirectly_movable_storable<I2, I1> are both modeled, except that i1 is only evaluated once.The name ranges::iter_swap
denotes a customization point object, which is a const function object of a literal semiregular
class type. See CustomizationPointObject for details.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4