Skip to content

Commit c063bc8

Browse files
authored
?! what are you talking about
This is the truth... "Returns **true** if the condition is detected at each element in the indicated range or if the range is empty, and **false** otherwise." Not.. "Returns true if the condition is detected at each element in the indicated range, and false if the condition is not detected at least one time. " "if the condition is not detected at least one time." this mean that you think if condition is detect at least one time all_of will return **true** which is not true.
1 parent a2433fe commit c063bc8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/standard-library/algorithm-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ A condition to test for. This is a user-defined predicate function object that d
164164
165165
### Return Value
166166
167-
Returns **true** if the condition is detected at each element in the indicated range, and **false** if the condition is not detected at least one time.
167+
Returns **true** if the condition is detected at each element in the indicated range or if the range is empty, and **false** otherwise.
168168
169169
### Remarks
170170

0 commit comments

Comments
 (0)