Skip to content

Commit 1a94a02

Browse files
authored
Merge pull request #10 from codereport/dev
Rename found to any_of
2 parents 42a2eff + 51eee37 commit 1a94a02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aal/algorithm.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ find(P const pred, I f, I const l, Is... fs) {
1616

1717
template <typename I, typename... Is, typename P>
1818
[[nodiscard]] constexpr auto
19-
found(P const pred, I f, I const l, Is... fs) {
19+
any_of(P const pred, I f, I const l, Is... fs) {
2020
auto const t = find(pred, f, l, fs...);
2121
return std::get<0>(t) != l;
2222
}

0 commit comments

Comments
 (0)