5#ifndef INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_ITER_SWAP_HPP_
6#define INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_ITER_SWAP_HPP_
29 class ForwardIterator1,
30 class ForwardIterator2,
35 typename std::iterator_traits<ForwardIterator1>::reference,
36 typename std::iterator_traits<ForwardIterator2>::reference>>> =
nullptr>
40)
noexcept(arene::base::
41 is_nothrow_swappable_with_v<
provides a uniform interface to the properties of an iterator
Definition iterator_traits.hpp:90
Public export header for the constraints subpackage.
constexpr bool is_swappable_with_v
Trait query indicating two types can be swapped.
typename constraints_impl::constraints< EnableIfs... >::type constraints
Helper used to express template constraints in a consistent way using std::enable_if_t.
Definition constraints.hpp:51
constexpr auto iter_swap(ForwardIterator1 lhs, ForwardIterator2 rhs) noexcept(arene::base::is_nothrow_swappable_with_v< typename std::iterator_traits< ForwardIterator1 >::reference, typename std::iterator_traits< ForwardIterator2 >::reference >) -> void
swaps the objects pointed to by two iterators
Definition iter_swap.hpp:37
void swap(pair< T1, T2 > &lhs, pair< T1, T2 > &rhs) noexcept(arene::base::is_nothrow_swappable_v< T1 > &&arene::base::is_nothrow_swappable_v< T2 >)
Swap a pair with another instance of the same type. Swaps lhs.first with rhs.first and swaps lhs....
Definition pair.hpp:448
typename enable_if< Condition, Type >::type enable_if_t
Type alias to support constraining templates. Is an alias for the specified type if the Condition is ...
Definition enable_if.hpp:41