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
This should be similar to vectorizing ranges::count, as we should be able to call the same vector_algorithms.cpp functions after dealing with the iterator/sentinel. (Unlike ranges::find, we don't need to worry about unbounded ranges.)
And as @AlexGuteniev explained, we can go even further:
Followup issue after merging #2447.
ranges::min_element
,ranges::max_element
,ranges::minmax_element
ranges::count
, as we should be able to call the samevector_algorithms.cpp
functions after dealing with the iterator/sentinel. (Unlikeranges::find
, we don't need to worry about unbounded ranges.)And as @AlexGuteniev explained, we can go even further:
ranges::min
,ranges::max
,ranges::minmax
#2439 tracks extending the optimization to floating-point types.
The text was updated successfully, but these errors were encountered: