You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can also potentially find the end of the range to copy using another call to std::find_if. This is probably not worth it unless we have some knowledge of the predicate and iterator cost, but if we did that on random access iterators, we could call memcpy between the two found positions.
The text was updated successfully, but these errors were encountered:
If
std::find_if
is fast, this can be beneficial.We can also potentially find the end of the range to copy using another call to
std::find_if
. This is probably not worth it unless we have some knowledge of the predicate and iterator cost, but if we did that on random access iterators, we could callmemcpy
between the two found positions.The text was updated successfully, but these errors were encountered: