std::ranges::sort - cppreference.com
en.cppreference.com/w/cpp/algorithm/ranges/sort
2025-02-12T00:00:00.0000000
std::ranges:: sort < cpp | algorithm | ranges C++ Compiler support Freestanding and hosted Language Standard library Standard library headers Named requirements Feature test macros (C++20) Language support library Concepts library (C++20) Diagnostics library Memory management library Metaprogramming library (C++11) General utilities library
std::experimental::ranges::sort - cppreference.com
en.cppreference.com/w/cpp/experimental/ranges/algorithm/sort
Elements are compared using comp after applying the projection proj. 2) Sorts the elements in the range r, as if by returnranges::sort(ranges::begin(r), ranges::end(r), comp, proj);. Notwithstanding the declarations depicted above, the actual number and order of template parameters for algorithm declarations is unspecified.
Algorithms library - cppreference.com
en.cppreference.com/w/cpp/algorithm.html
2025-02-14T00:00:00.0000000
The algorithms library defines functions for a variety of purposes (e.g. searching, sorting, counting, manipulating) that operate on ranges of elements. Note that a range is defined as [first, last) where last refers to the element past the last element to inspect or modify.
Ranges library (since C++20) - cppreference.com
en.cppreference.com/w/cpp/ranges.html
2025-02-20T00:00:00.0000000
The ranges library is an extension and generalization of the algorithms and iterator libraries that makes them more powerful by making them composable and less error-prone.
Constrained algorithms (since C++20) - cppreference.com
en.cppreference.com/w/cpp/algorithm/ranges.html
2024-11-27T00:00:00.0000000
C++20 provides constrained versions of most algorithms in the namespace std::ranges. In these algorithms, a range can be specified as either an iterator - sentinel pair or as a single range argument, and projections and pointer-to-member callables are supported. Additionally, the return types of most algorithms have been changed to return all potentially useful information computed during the ...
std::ranges:: all_of, std::ranges:: any_of, std::ranges:: none_of
en.cppreference.com/w/cpp/algorithm/ranges/all_any_none_of
2025-02-10T00:00:00.0000000
swap_ranges shuffle sample removeremove_if replacereplace_if reverse rotate remove_copyremove_copy_if unique replace_copyreplace_copy_if reverse_copy rotate_copy unique_copy Partitioning operations is_partitioned partition_point partition partition_copy stable_partition Sorting operations is_sorted is_sorted_until sort stable_sort partial_sort ...
std:: sort - cppreference.com
en.cppreference.com/w/cpp/algorithm/sort.html
2025-02-10T00:00:00.0000000
Sorting operations sort stable_sort partial_sort partial_sort_copy is_sorted (C++11) is_sorted_until (C++11) nth_element Binary search operations (on partitioned ranges) lower_bound upper_bound equal_range binary_search Set operations (on sorted ranges) includes set_union set_intersection set_difference set_symmetric_difference Merge operations ...
std::ranges::sort_heap - cppreference.com
en.cppreference.com/w/cpp/algorithm/ranges/sort_heap
2025-03-23T00:00:00.0000000
std::ranges:: sort_heap < cpp | algorithm | ranges C++ Compiler support Freestanding and hosted Language Standard library Standard library headers Named requirements Feature test macros (C++20) Language support library Concepts library (C++20) Diagnostics library Memory management library Metaprogramming library (C++11) General ...
std::ranges:: is_sorted - cppreference.com
en.cppreference.com/w/cpp/algorithm/ranges/is_sorted
2025-02-12T00:00:00.0000000
swap_ranges shuffle sample removeremove_if replacereplace_if reverse rotate remove_copyremove_copy_if unique replace_copyreplace_copy_if reverse_copy rotate_copy unique_copy Partitioning operations is_partitioned partition_point partition partition_copy stable_partition Sorting operations is_sorted is_sorted_until sort stable_sort partial_sort ...
std::ranges::partial_sort - cppreference.com
en.cppreference.com/w/cpp/algorithm/ranges/partial_sort
2025-02-12T00:00:00.0000000
std::ranges:: partial_sort < cpp | algorithm | ranges C++ Compiler support Freestanding and hosted Language Standard library Standard library headers Named requirements Feature test macros (C++20) Language support library Concepts library (C++20) Diagnostics library Memory management library Metaprogramming library (C++11) General ...
Feedback