1#ifndef INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_STABLE_SORT_HPP_
2#define INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_STABLE_SORT_HPP_
14#include "arene/base/algorithm/detail/traits.hpp"
17#include "arene/base/functional/detail/operator_less.hpp"
18#include "arene/base/stdlib_choice/enable_if.hpp"
19#include "arene/base/stdlib_choice/move.hpp"
122 decltype(arene::base::functional_detail::operator_less)&,
123 arene::base::algorithm_detail::iter_reference_t<I>>
129 return arene::base::stable_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 stable_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 stable_sort.hpp:74