C++ 23 · Containers and algorithms
Sort with ranges
Pass the container directly instead of a begin and end pair (C++20).
std::ranges::sort(v);
C++ 23 · Containers and algorithms
Pass the container directly instead of a begin and end pair (C++20).
std::ranges::sort(v);
Was this page helpful?