5#ifndef INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_SORT_HPP_
6#define INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_SORT_HPP_
14#include "arene/base/algorithm/detail/traits.hpp"
16#include "arene/base/functional/detail/operator_less.hpp"
72auto sort(I first, I last, C comp)
noexcept(
115 decltype(arene::base::functional_detail::operator_less)&,
116 arene::base::algorithm_detail::iter_reference_t<I>>
119auto sort(I first, I last)
noexcept(
122 return arene::base::sort(
std::move(first),
std::move(last), arene::base::functional_detail::operator_less);
constexpr bool is_compare_v
determines if a type satisfies the Compare named requirement
constexpr bool is_random_access_iterator_v
Definition iterator_category_traits.hpp:332
constexpr bool is_movable_v
Backport for the C++20 movable concept.
constexpr bool is_swappable_v
Trait query indicating if a type can be swapped.
constexpr bool is_nothrow_invocable_v
Determine if a functor type is no-throw invocable with the specified argument types.
constexpr auto move(T &&value) noexcept -> remove_reference_t< T > &&
Cast a value to an rvalue.
Definition move.hpp:30
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
auto sort(I first, I last, C comp) noexcept(//arene::base::is_nothrow_invocable_v<, I &&, I &&, C && >) -> void
sorts a range into ascending order
Definition sort.hpp:72