C++ <algorithm> & <ranges>
Prev: containers | Up: stdlib | Next: concurrency
Rel: containers, Lambdas, Ranges & Span Pipeline Tutorial
Ref: cppreference — Algorithms | cppreference — Ranges
Tags: #public #prog #cpp #stdlib #algorithms #ranges #index
Core (#tier/core)
- std::sort / std::ranges::sort — O(n log n) in-place introsort for random-access sequences.
- std::find_if / std::ranges::find_if — Linear predicate search returning an iterator.
Standard (#tier/standard)
- std::transform — Applies a unary or binary function across a range into an output iterator.
- std::ranges & std::views (C++20) — Composable, lazy pipe-syntax (
|) range adaptors without intermediate allocations.
Linked from
- tuts/cpp/builtins/lambdas
- tuts/cpp/stdlib
- tuts/cpp/stdlib/algorithm_and_ranges/find_if
- tuts/cpp/stdlib/algorithm_and_ranges/ranges_views
- tuts/cpp/stdlib/algorithm_and_ranges/sort
- tuts/cpp/stdlib/algorithm_and_ranges/transform
- tuts/cpp/stdlib/concurrency
- tuts/cpp/stdlib/containers
- tuts/cpp/stdlib/containers/expected
Related notes
- tuts/cpp/stdlib Linked here; links to this page; shared tags: #cpp, #index, #prog, #stdlib
- tuts/cpp/stdlib/algorithm_and_ranges/find_if Linked here; links to this page; shared tags: #algorithms, #cpp, #prog, #stdlib
- tuts/cpp/stdlib/algorithm_and_ranges/ranges_views Linked here; links to this page; shared tags: #cpp, #prog, #ranges, #stdlib
- tuts/cpp/stdlib/algorithm_and_ranges/sort Linked here; links to this page; shared tags: #algorithms, #cpp, #prog, #stdlib
- tuts/cpp/stdlib/algorithm_and_ranges/transform Linked here; links to this page; shared tags: #algorithms, #cpp, #prog, #stdlib
- tuts/cpp/stdlib/concurrency Linked here; links to this page; shared tags: #cpp, #index, #prog, #stdlib
- tuts/cpp/stdlib/containers Linked here; links to this page; shared tags: #cpp, #index, #prog, #stdlib
- tuts/cpp/builtins/lambdas Linked here; links to this page; shared tags: #cpp, #prog
- tuts/cpp/stdlib/containers/expected links to this page; shared tags: #cpp, #prog, #stdlib
- tuts/cpp/tutorials/ranges_and_span_data_pipeline Linked here; shared tags: #cpp, #prog, #ranges