cpp-sort/1.15.0

Additional sorting algorithms & related tools
Recipe info
2023-11-20

Available packages
Header Only

Install
Add the following line to your conanfile.txt:
[requires]
cpp-sort/1.15.0

Using cpp-sort

Note

If you are new with Conan, we recommend to read the section how to consume packages.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
cpp-sort/1.15.0
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("cpp-sort/1.15.0")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): cpp-sort
  • CMake target name(s): cpp-sort::cpp-sort
  • pkg-config file name(s): cpp-sort.pc

A simple use case using the CMake file name and the global target:

# ...
find_package(cpp-sort REQUIRED)
# ...
target_link_libraries(YOUR_TARGET cpp-sort::cpp-sort)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the cpp-sort homepage listed above:

#include "cpp-sort/adapters.h"
#include "cpp-sort/adapters/container_aware_adapter.h"
#include "cpp-sort/adapters/counting_adapter.h"
#include "cpp-sort/adapters/drop_merge_adapter.h"
#include "cpp-sort/adapters/hybrid_adapter.h"
#include "cpp-sort/adapters/indirect_adapter.h"
#include "cpp-sort/adapters/out_of_place_adapter.h"
#include "cpp-sort/adapters/schwartz_adapter.h"
#include "cpp-sort/adapters/self_sort_adapter.h"
#include "cpp-sort/adapters/small_array_adapter.h"
#include "cpp-sort/adapters/split_adapter.h"
#include "cpp-sort/adapters/stable_adapter.h"
#include "cpp-sort/adapters/verge_adapter.h"
#include "cpp-sort/comparators/case_insensitive_less.h"
#include "cpp-sort/comparators/flip.h"
#include "cpp-sort/comparators/natural_less.h"
#include "cpp-sort/comparators/not_fn.h"
#include "cpp-sort/comparators/partial_greater.h"
#include "cpp-sort/comparators/partial_less.h"
#include "cpp-sort/comparators/projection_compare.h"
#include "cpp-sort/comparators/total_greater.h"
#include "cpp-sort/comparators/total_less.h"
#include "cpp-sort/comparators/weak_greater.h"
#include "cpp-sort/comparators/weak_less.h"
#include "cpp-sort/detail/adaptive_quickselect.h"
#include "cpp-sort/detail/any_all.h"
#include "cpp-sort/detail/associate_iterator.h"
#include "cpp-sort/detail/attributes.h"
#include "cpp-sort/detail/binary_tree.h"
#include "cpp-sort/detail/bitops.h"
#include "cpp-sort/detail/boost_common/range.h"
#include "cpp-sort/detail/boost_common/util/merge.h"
#include "cpp-sort/detail/bubble_sort.h"
#include "cpp-sort/detail/buffered_inplace_merge.h"
#include "cpp-sort/detail/cartesian_tree_sort.h"
#include "cpp-sort/detail/checkers.h"
#include "cpp-sort/detail/comparison_counter.h"
#include "cpp-sort/detail/config.h"
#include "cpp-sort/detail/container_aware/insertion_sort.h"
#include "cpp-sort/detail/container_aware/mel_sort.h"
#include "cpp-sort/detail/container_aware/merge_sort.h"
#include "cpp-sort/detail/container_aware/selection_sort.h"
#include "cpp-sort/detail/count_inversions.h"
#include "cpp-sort/detail/counting_sort.h"
#include "cpp-sort/detail/d_ary_heapsort.h"
#include "cpp-sort/detail/drop_merge_sort.h"
#include "cpp-sort/detail/empty_sorter.h"
#include "cpp-sort/detail/equal_range.h"
#include "cpp-sort/detail/fixed_size_list.h"
#include "cpp-sort/detail/floating_point_weight.h"
#include "cpp-sort/detail/front_insert.h"
#include "cpp-sort/detail/front_inserter/inserter0.h"
#include "cpp-sort/detail/front_inserter/inserter1.h"
#include "cpp-sort/detail/front_inserter/inserter10.h"
#include "cpp-sort/detail/front_inserter/inserter11.h"
#include "cpp-sort/detail/front_inserter/inserter2.h"
#include "cpp-sort/detail/front_inserter/inserter3.h"
#include "cpp-sort/detail/front_inserter/inserter4.h"
#include "cpp-sort/detail/front_inserter/inserter5.h"
#include "cpp-sort/detail/front_inserter/inserter6.h"
#include "cpp-sort/detail/front_inserter/inserter7.h"
#include "cpp-sort/detail/front_inserter/inserter8.h"
#include "cpp-sort/detail/front_inserter/inserter9.h"
#include "cpp-sort/detail/grail_sort.h"
#include "cpp-sort/detail/heapsort.h"
#include "cpp-sort/detail/immovable_vector.h"
#include "cpp-sort/detail/indiesort.h"
#include "cpp-sort/detail/inplace_merge.h"
#include "cpp-sort/detail/insertion_sort.h"
#include "cpp-sort/detail/introselect.h"
#include "cpp-sort/detail/is_p_sorted.h"
#include "cpp-sort/detail/is_sorted_until.h"
#include "cpp-sort/detail/iter_sort3.h"
#include "cpp-sort/detail/iterator_traits.h"
#include "cpp-sort/detail/longest_non_descending_subsequence.h"
#include "cpp-sort/detail/low_comparisons/sort10.h"
#include "cpp-sort/detail/low_comparisons/sort11.h"
#include "cpp-sort/detail/low_comparisons/sort12.h"
#include "cpp-sort/detail/low_comparisons/sort13.h"
#include "cpp-sort/detail/low_comparisons/sort2.h"
#include "cpp-sort/detail/low_comparisons/sort3.h"
#include "cpp-sort/detail/low_comparisons/sort4.h"
#include "cpp-sort/detail/low_comparisons/sort5.h"
#include "cpp-sort/detail/low_comparisons/sort6.h"
#include "cpp-sort/detail/low_comparisons/sort7.h"
#include "cpp-sort/detail/low_comparisons/sort8.h"
#include "cpp-sort/detail/low_comparisons/sort9.h"
#include "cpp-sort/detail/low_moves/sort2.h"
#include "cpp-sort/detail/low_moves/sort3.h"
#include "cpp-sort/detail/low_moves/sort4.h"
#include "cpp-sort/detail/lower_bound.h"
#include "cpp-sort/detail/make_array.h"
#include "cpp-sort/detail/melsort.h"
#include "cpp-sort/detail/memcpy_cast.h"
#include "cpp-sort/detail/memory.h"
#include "cpp-sort/detail/merge_insertion_sort.h"
#include "cpp-sort/detail/merge_move.h"
#include "cpp-sort/detail/merge_sort.h"
#include "cpp-sort/detail/min_element.h"
#include "cpp-sort/detail/minmax_element.h"
#include "cpp-sort/detail/minmax_element_and_is_sorted.h"
#include "cpp-sort/detail/move.h"
#include "cpp-sort/detail/nth_element.h"
#include "cpp-sort/detail/partition.h"
#include "cpp-sort/detail/pdqsort.h"
#include "cpp-sort/detail/poplar_sort.h"
#include "cpp-sort/detail/quick_merge_sort.h"
#include "cpp-sort/detail/quicksort.h"
#include "cpp-sort/detail/raw_checkers.h"
#include "cpp-sort/detail/recmerge_bidirectional.h"
#include "cpp-sort/detail/recmerge_forward.h"
#include "cpp-sort/detail/reverse.h"
#include "cpp-sort/detail/rotate.h"
#include "cpp-sort/detail/rotate_left.h"
#include "cpp-sort/detail/rotate_right.h"
#include "cpp-sort/detail/schwartz_small_array.h"
#include "cpp-sort/detail/scope_exit.h"
#include "cpp-sort/detail/selection_sort.h"
#include "cpp-sort/detail/sized_range.h"
#include "cpp-sort/detail/ska_sort.h"
#include "cpp-sort/detail/slabsort.h"
#include "cpp-sort/detail/smoothsort.h"
#include "cpp-sort/detail/sorting_network/sort10.h"
#include "cpp-sort/detail/sorting_network/sort11.h"
#include "cpp-sort/detail/sorting_network/sort12.h"
#include "cpp-sort/detail/sorting_network/sort13.h"
#include "cpp-sort/detail/sorting_network/sort14.h"
#include "cpp-sort/detail/sorting_network/sort15.h"
#include "cpp-sort/detail/sorting_network/sort16.h"
#include "cpp-sort/detail/sorting_network/sort17.h"
#include "cpp-sort/detail/sorting_network/sort18.h"
#include "cpp-sort/detail/sorting_network/sort19.h"
#include "cpp-sort/detail/sorting_network/sort2.h"
#include "cpp-sort/detail/sorting_network/sort20.h"
#include "cpp-sort/detail/sorting_network/sort21.h"
#include "cpp-sort/detail/sorting_network/sort22.h"
#include "cpp-sort/detail/sorting_network/sort23.h"
#include "cpp-sort/detail/sorting_network/sort24.h"
#include "cpp-sort/detail/sorting_network/sort25.h"
#include "cpp-sort/detail/sorting_network/sort26.h"
#include "cpp-sort/detail/sorting_network/sort27.h"
#include "cpp-sort/detail/sorting_network/sort28.h"
#include "cpp-sort/detail/sorting_network/sort29.h"
#include "cpp-sort/detail/sorting_network/sort3.h"
#include "cpp-sort/detail/sorting_network/sort30.h"
#include "cpp-sort/detail/sorting_network/sort31.h"
#include "cpp-sort/detail/sorting_network/sort32.h"
#include "cpp-sort/detail/sorting_network/sort33.h"
#include "cpp-sort/detail/sorting_network/sort34.h"
#include "cpp-sort/detail/sorting_network/sort35.h"
#include "cpp-sort/detail/sorting_network/sort36.h"
#include "cpp-sort/detail/sorting_network/sort37.h"
#include "cpp-sort/detail/sorting_network/sort38.h"
#include "cpp-sort/detail/sorting_network/sort39.h"
#include "cpp-sort/detail/sorting_network/sort4.h"
#include "cpp-sort/detail/sorting_network/sort40.h"
#include "cpp-sort/detail/sorting_network/sort41.h"
#include "cpp-sort/detail/sorting_network/sort42.h"
#include "cpp-sort/detail/sorting_network/sort43.h"
#include "cpp-sort/detail/sorting_network/sort44.h"
#include "cpp-sort/detail/sorting_network/sort45.h"
#include "cpp-sort/detail/sorting_network/sort46.h"
#include "cpp-sort/detail/sorting_network/sort47.h"
#include "cpp-sort/detail/sorting_network/sort48.h"
#include "cpp-sort/detail/sorting_network/sort49.h"
#include "cpp-sort/detail/sorting_network/sort5.h"
#include "cpp-sort/detail/sorting_network/sort50.h"
#include "cpp-sort/detail/sorting_network/sort51.h"
#include "cpp-sort/detail/sorting_network/sort52.h"
#include "cpp-sort/detail/sorting_network/sort53.h"
#include "cpp-sort/detail/sorting_network/sort54.h"
#include "cpp-sort/detail/sorting_network/sort55.h"
#include "cpp-sort/detail/sorting_network/sort56.h"
#include "cpp-sort/detail/sorting_network/sort57.h"
#include "cpp-sort/detail/sorting_network/sort58.h"
#include "cpp-sort/detail/sorting_network/sort59.h"
#include "cpp-sort/detail/sorting_network/sort6.h"
#include "cpp-sort/detail/sorting_network/sort60.h"
#include "cpp-sort/detail/sorting_network/sort61.h"
#include "cpp-sort/detail/sorting_network/sort62.h"
#include "cpp-sort/detail/sorting_network/sort63.h"
#include "cpp-sort/detail/sorting_network/sort64.h"
#include "cpp-sort/detail/sorting_network/sort7.h"
#include "cpp-sort/detail/sorting_network/sort8.h"
#include "cpp-sort/detail/sorting_network/sort9.h"
#include "cpp-sort/detail/spinsort.h"
#include "cpp-sort/detail/splaysort.h"
#include "cpp-sort/detail/split_sort.h"
#include "cpp-sort/detail/spreadsort/detail/common.h"
#include "cpp-sort/detail/spreadsort/detail/constants.h"
#include "cpp-sort/detail/spreadsort/detail/float_sort.h"
#include "cpp-sort/detail/spreadsort/detail/integer_sort.h"
#include "cpp-sort/detail/spreadsort/detail/string_sort.h"
#include "cpp-sort/detail/spreadsort/float_sort.h"
#include "cpp-sort/detail/spreadsort/integer_sort.h"
#include "cpp-sort/detail/spreadsort/string_sort.h"
#include "cpp-sort/detail/stable_adapter_hybrid_adapter.h"
#include "cpp-sort/detail/stable_adapter_self_sort_adapter.h"
#include "cpp-sort/detail/stable_partition.h"
#include "cpp-sort/detail/swap_if.h"
#include "cpp-sort/detail/swap_ranges.h"
#include "cpp-sort/detail/symmerge.h"
#include "cpp-sort/detail/three_way_compare.h"
#include "cpp-sort/detail/timsort.h"
#include "cpp-sort/detail/type_traits.h"
#include "cpp-sort/detail/upper_bound.h"
#include "cpp-sort/detail/vergesort.h"
#include "cpp-sort/detail/wiki_sort.h"
#include "cpp-sort/fixed/low_comparisons_sorter.h"
#include "cpp-sort/fixed/low_moves_sorter.h"
#include "cpp-sort/fixed/merge_exchange_network_sorter.h"
#include "cpp-sort/fixed/odd_even_merge_network_sorter.h"
#include "cpp-sort/fixed/sorting_network_sorter.h"
#include "cpp-sort/fixed_sorters.h"
#include "cpp-sort/fwd.h"
#include "cpp-sort/metrics.h"
#include "cpp-sort/metrics/comparisons.h"
#include "cpp-sort/metrics/projections.h"
#include "cpp-sort/metrics/running_time.h"
#include "cpp-sort/probes.h"
#include "cpp-sort/probes/block.h"
#include "cpp-sort/probes/dis.h"
#include "cpp-sort/probes/enc.h"
#include "cpp-sort/probes/exc.h"
#include "cpp-sort/probes/ham.h"
#include "cpp-sort/probes/inv.h"
#include "cpp-sort/probes/max.h"
#include "cpp-sort/probes/mono.h"
#include "cpp-sort/probes/osc.h"
#include "cpp-sort/probes/par.h"
#include "cpp-sort/probes/rem.h"
#include "cpp-sort/probes/runs.h"
#include "cpp-sort/probes/sus.h"
#include "cpp-sort/refined.h"
#include "cpp-sort/sort.h"
#include "cpp-sort/sorter_facade.h"
#include "cpp-sort/sorter_traits.h"
#include "cpp-sort/sorters.h"
#include "cpp-sort/sorters/adaptive_shivers_sorter.h"
#include "cpp-sort/sorters/block_sorter.h"
#include "cpp-sort/sorters/cartesian_tree_sorter.h"
#include "cpp-sort/sorters/counting_sorter.h"
#include "cpp-sort/sorters/d_ary_heap_sorter.h"
#include "cpp-sort/sorters/default_sorter.h"
#include "cpp-sort/sorters/drop_merge_sorter.h"
#include "cpp-sort/sorters/grail_sorter.h"
#include "cpp-sort/sorters/heap_sorter.h"
#include "cpp-sort/sorters/insertion_sorter.h"
#include "cpp-sort/sorters/mel_sorter.h"
#include "cpp-sort/sorters/merge_insertion_sorter.h"
#include "cpp-sort/sorters/merge_sorter.h"
#include "cpp-sort/sorters/pdq_sorter.h"
#include "cpp-sort/sorters/poplar_sorter.h"
#include "cpp-sort/sorters/quick_merge_sorter.h"
#include "cpp-sort/sorters/quick_sorter.h"
#include "cpp-sort/sorters/selection_sorter.h"
#include "cpp-sort/sorters/ska_sorter.h"
#include "cpp-sort/sorters/slab_sorter.h"
#include "cpp-sort/sorters/smooth_sorter.h"
#include "cpp-sort/sorters/spin_sorter.h"
#include "cpp-sort/sorters/splay_sorter.h"
#include "cpp-sort/sorters/split_sorter.h"
#include "cpp-sort/sorters/spread_sorter.h"
#include "cpp-sort/sorters/spread_sorter/float_spread_sorter.h"
#include "cpp-sort/sorters/spread_sorter/integer_spread_sorter.h"
#include "cpp-sort/sorters/spread_sorter/string_spread_sorter.h"
#include "cpp-sort/sorters/std_sorter.h"
#include "cpp-sort/sorters/tim_sorter.h"
#include "cpp-sort/sorters/verge_sorter.h"
#include "cpp-sort/sorters/wiki_sorter.h"
#include "cpp-sort/stable_sort.h"
#include "cpp-sort/utility/adapter_storage.h"
#include "cpp-sort/utility/apply_permutation.h"
#include "cpp-sort/utility/as_function.h"
#include "cpp-sort/utility/branchless_traits.h"
#include "cpp-sort/utility/buffer.h"
#include "cpp-sort/utility/functional.h"
#include "cpp-sort/utility/iter_move.h"
#include "cpp-sort/utility/make_integer_range.h"
#include "cpp-sort/utility/metrics_tools.h"
#include "cpp-sort/utility/size.h"
#include "cpp-sort/utility/sorted_indices.h"
#include "cpp-sort/utility/sorted_iterators.h"
#include "cpp-sort/utility/sorting_networks.h"
#include "cpp-sort/utility/static_const.h"
#include "cpp-sort/version.h"