STL Algorithms in C++ — a practical guide to C++ STL algorithms with clear examples you can reuse in real projects.
C++ Tutorial Series (93/111). Prefer one article? Read the complete C++ tutorial.
Short description
Algorithms + iterators = expressive, tested building blocks.
algorithms
#include <algorithm>
std::sort(v.begin(), v.end());
auto it = std::find(v.begin(), v.end(), 42);