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
Summary:
C++ standard replaces operator< as a default comparator for many algorithms with std::less since c++20 (see std::sort as an example).
Let's do the same replacement for the additional algorithms. std::less is a more genetic alternative to operator<, thus it can be done even for c++17 mode.
Summary:
C++ standard replaces
operator<
as a default comparator for many algorithms withstd::less
since c++20 (seestd::sort
as an example).Let's do the same replacement for the additional algorithms.
std::less
is a more genetic alternative tooperator<
, thus it can be done even for c++17 mode.The issue is motivated by this discussion: #1692 (comment).
URLs:
additional_algorithms.rst
The text was updated successfully, but these errors were encountered: