First page Back Continue Last page Graphics
Instead of each algorithm being implemented for each container type, all are implemented only once for any container type.
Instead of each algorithm being implemented for each container type, all are implemented only once for any container type.
The algorithm might even operate on elements of different container types.
You can also use the algorithms for user-defined container types.
STL algorithms reduce the amount of code and increase the power and flexibility of the library.
It's not an object-oriented programming paradigm; it is a generic functional programming paradigm.