See https://bugs.webkit.org/show_bug.cgi?id=234855#c3 and https://en.cppreference.com/w/cpp/algorithm/find.
Also do reverseFindMatching.
Created attachment 448352 [details] work in progress.
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See https://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Created attachment 448354 [details] work in progress.
<rdar://problem/87424746>
Created attachment 449854 [details] proposed patch.
Comment on attachment 449854 [details] proposed patch. View in context: https://bugs.webkit.org/attachment.cgi?id=449854&action=review r=me > Tools/TestWebKitAPI/Tests/WTF/FixedVector.cpp:160 > TEST(WTF_FixedVector, FindMatching) Rename this test to FindIf.
Created attachment 449855 [details] patch for landing. Thanks for the review.
Committed r288541 (246373@main): <https://commits.webkit.org/246373@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 449855 [details].