7#ifndef INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_ALGORITHM_SORT_HPP_
8#define INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_ALGORITHM_SORT_HPP_
13#include "arene/base/algorithm/detail/heap_sort.hpp"
14#include "arene/base/algorithm/detail/synthesize_range1_overload.hpp"
15#include "arene/base/algorithm/detail/traits.hpp"
17#include "arene/base/stdlib_choice/enable_if.hpp"
18#include "arene/base/stdlib_choice/less.hpp"
19#include "arene/base/stdlib_choice/move.hpp"
30namespace algorithm_detail {
31namespace sort_detail {
79 constexpr auto operator()(I first, I last, C comp)
const noexcept(
123 constexpr auto operator()(I first, I last)
const noexcept(
140 algorithm_detail::synthesize_range1_overload_t<algorithm_detail::sort_detail::sort_impl_fn>,
#define ARENE_CPP14_INLINE_VARIABLE(type, name)
Emulates C++17's inline variable declarations for function objects.
Definition cpp14_inline.hpp:69
Definition accumulate.hpp:37
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.
typename iter_reference_detail::iter_reference_impl< Itr >::type iter_reference_t
Determins the reference type of the given iterator.
Definition iter_reference_t.hpp:47
Definition accumulate.hpp:36
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