6#ifndef INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_ALGORITHM_ITER_SWAP_HPP_
7#define INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_ALGORITHM_ITER_SWAP_HPP_
15#include "arene/base/stdlib_choice/enable_if.hpp"
22namespace algorithm_detail {
23namespace iter_swap_detail {
25class iter_swap_impl_fn {
38 constexpr auto operator()(IteratorA lhs, IteratorB rhs)
const noexcept(
noexcept(
::arene::base::swap(*lhs, *rhs)))
#define ARENE_CPP14_INLINE_VARIABLE(type, name)
Emulates C++17's inline variable declarations for function objects.
Definition cpp14_inline.hpp:69
static ARENE_MAYBE_UNUSED constexpr auto const & swap
A Customization Point Object implementation of the constexpr compatible std::swap from C++17.
Definition swap.hpp:130
Definition accumulate.hpp:37
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
Definition accumulate.hpp:36
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