5#ifndef INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_REVERSE_HPP_
6#define INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_REVERSE_HPP_
32 std::enable_if_t<arene::base::is_swappable_v<typename std::iterator_traits<BidirIt>::value_type>>> =
nullptr>
42 while (first != last && first != --last) {
Public export header for the constraints subpackage.
constexpr bool is_nothrow_swappable_v
Trait query indicating if a type can be noexcept-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 bool has_nothrow_basic_bidirectional_iterator_operations_v
Internal type trait to check if a type supports the necessary bidirectional iterator operations witho...
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
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
constexpr auto reverse(BidirIt first, BidirIt last) noexcept(internal::has_nothrow_basic_bidirectional_iterator_operations_v< BidirIt > &&arene::base::is_nothrow_swappable_v< typename std::iterator_traits< BidirIt >::value_type >) -> void
reverses the order of elements in a range
Definition reverse.hpp:35