|
BenBot 1.7.5
A chess engine
|
#include <cstddef>#include <iterator>#include <span>#include <utility>Go to the source code of this file.
Namespaces | |
| namespace | util |
| namespace | util::sort |
| namespace | util::sort::detail |
Functions | |
| template<typename T, typename Compare> | |
| constexpr void | util::sort::detail::heap_sort (const std::span< T > range, Compare &comp) |
| template<typename T, typename Compare> | |
| constexpr void | util::sort::detail::insertion_sort (const std::span< T > range, Compare &comp) |
| template<typename T, typename Compare> | |
| constexpr void | util::sort::detail::introsort (std::span< T > range, int depthLimit, Compare &comp) |
| template<typename T, typename Compare> | |
| constexpr void | util::sort::detail::move_median_to_front (const std::span< T > range, Compare &comp) |
| template<typename T, typename Compare> | |
| constexpr auto | util::sort::detail::partition (const std::span< T > range, Compare &comp) -> std::size_t |
| template<typename T, typename Compare> | |
| constexpr void | util::sort::portable_sort (const std::span< T > range, Compare comp) |
| template<typename T, typename Compare> | |
| constexpr void | util::sort::detail::sift_down (const std::span< T > range, std::size_t root, const std::size_t size, Compare &comp) |
Variables | |
| constexpr auto | util::sort::detail::INSERTION_THRESHOLD { 16z } |
This file provides a sort whose order for equal elements doesn't depend on the standard library.
Definition in file Sort.hpp.