find — exact value. find_if — predicate.
1std::vector<int> v = {1, 2, 3, 4, 5};23// find — exact value4auto it1 = std::find(v.begin(), v.end(), 3);56// find_if — with condition7auto it2 = std::find_if(v.begin(), v.end(),8 [](int x) { return x > 3; }9);10// Points to 4