Algorithm (C++)
In the C++ Standard Library, the algorithms library provides various functions that perform algorithmic operations on containers and other sequences, represented by Iterators. 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. C++20 further introduces the header with the std::ranges namespace, for algorithms over a range.
In the C++ Standard Library, the algorithms library provides various functions that perform algorithmic operations on containers and other sequences, represented by Iterators. 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. C++20 further introduces the header with the std::ranges namespace, for algorithms over a range. ==References== ==External links== C++ reference for standard algorithms
References
No reference rows published for this article.
Cite this article
MLA
"Algorithm (C++)." encyclopegia.org, 2025, https://encyclopegia.org/wiki/algorithm-c. Accessed 24 November 2026.
Chicago
"Algorithm (C++)." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/algorithm-c.
APA
encyclopegia.org. (2025). Algorithm (C++). Retrieved November 24, 2026, from https://encyclopegia.org/wiki/algorithm-c
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON