C++ Language/Std/Stl/Algorithms/UsageWithCArray

A C-pointer implements operations (e.g., ) that some STL algorithms expect from their iterators. Thus, some algorithms (including ) allow you to use a C-array as if it were a STL collection.

Additional information about using STL algorithms with a C-array