Skip to content

Commit a8cb5da

Browse files
Merge branch 'main' of https://github.com/BrandonPacewic/cpp-docs into main
2 parents 17755d4 + 1c7cd07 commit a8cb5da

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎docs/standard-library/algorithm-functions.md‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2261,9 +2261,8 @@ otherwise the first element.
22612261

22622262
### Remarks
22632263

2264-
The range referenced must be valid; all pointers must be dereferenceable and, within the sequence, the last position must be reachable from the first by incrementation.
2264+
*`count`* must be non-negative, and there must be at least *`count`* elements in the range starting at *`first`*.
22652265

2266-
The complexity is linear with at most *`count`* operations.
22672266

22682267
### Example
22692268

0 commit comments

Comments
 (0)