Site icon Learn C++

Quickly Learn To Sort Vectors With Parallel STL Algorithm In C++ On Windows

time lapse photo of light painting of cards on the streets

Photo by Steven Arenas on Pexels.com

In C++, STL Standard Template Library has many algorithms for some operations like searching, counting, and manipulation of ranges and their elements. C++17 has a new feature that you can sort vectors with Parallel STL Algorithm.

In C++ Builder, Vectors can be used and sorted by Parallel STL Algorithm as below.

[crayon-674299709106f264341441/]

Exit mobile version