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
Specializations of std::less et al. yield a strict total order that is consistent with the builtin operators when given pointers. std::ranges::less et al. observe an implementation-defined strict total ordering over pointer values. These strict total orderings are not required to be the same.
We should merge the subclauses that define the std and std::ranges comparison function objects and require them to use the same ordering.
The text was updated successfully, but these errors were encountered:
CaseyCarter
changed the title
std::less{}(ptr1, ptr2) may differ from std::ranges::less(ptr1, ptr2)
std::less{}(ptr1, ptr2) may differ from std::ranges::less(ptr1, ptr2)
Jan 19, 2019
Specializations of
std::less
et al. yield a strict total order that is consistent with the builtin operators when given pointers.std::ranges::less
et al. observe an implementation-defined strict total ordering over pointer values. These strict total orderings are not required to be the same.We should merge the subclauses that define the
std
andstd::ranges
comparison function objects and require them to use the same ordering.The text was updated successfully, but these errors were encountered: