Algorithm (C++)
In the C++ Standard Library, algorithms are components that perform algorithmic operations on containers and other sequences.[ISO/IEC. ISO/IEC 14882:2003: Programming Languages - C++ §25 Algorithms library para. 1]
The C++ standard provides some standard algorithms collected in the
standard header. A handful of algorithms are also in the
header. All algorithms are in the namespace.Categories of algorithms
The algorithms in the C++ Standard Library can be organized into the following categories.