Algorithms library
Algorithms library
The algorithms library defines functions for a variety of purposes (e.g. searching, sorting, counting, manipulating) that operate on ranges of elements. Note that a range is defined as [first, last)
where last
refers to the element past the last element to inspect or modify.
Execution policiesMost algorithms have overloads that accept execution policies. The standard library algorithms support three execution policies: sequential, parallel, and 登录查看完整内容 |