4#include "../Foundation/Assert.h"
22template <
typename ForwardIterator,
typename UnaryPredicate>
23constexpr ForwardIterator
findIf(ForwardIterator first, ForwardIterator last, UnaryPredicate&& predicate)
26 for (
auto it = first; it != last; ++it)
constexpr ForwardIterator findIf(ForwardIterator first, ForwardIterator last, UnaryPredicate &&predicate)
Find item satisfying the given predicate.
Definition: AlgorithmFind.h:23
#define SC_ASSERT_DEBUG(e)
Assert expression e to be true.
Definition: Assert.h:82