4#ifndef TETL_ALGORITHM_ANY_OF_HPP
5#define TETL_ALGORITHM_ANY_OF_HPP
7#include <etl/_algorithm/find_if.hpp>
15template <
typename InputIt,
typename Predicate>
16[[nodiscard]]
constexpr auto any_of(InputIt first, InputIt last, Predicate p) ->
bool
18 return etl::find_if(first, last, p) != last;
constexpr auto any_of(InputIt first, InputIt last, Predicate p) -> bool
Checks if unary predicate p returns true for at least one element in the range [first,...
Definition any_of.hpp:16
Definition adjacent_find.hpp:9