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
LWG3180 states that [alg.min.max] should be updated to reflect the changes in [algorithm.syn].
The declarations of ranges::minmax_element in [alg.min.max] should be:
template<forward_iterator I, sentinel_for<I> S, class Proj = identity,
indirect_strict_weak_order<projected<I, Proj>> Comp = ranges::less>
constexpr ranges::minmax_element_result<I>
ranges::minmax_element(I first, S last, Comp comp = {}, Proj proj = {});
template<forward_range R, class Proj = identity,
indirect_strict_weak_order<projected<iterator_t<R>, Proj>> Comp = ranges::less>
constexpr ranges::minmax_element_result<borrowed_iterator_t<R>>
ranges::minmax_element(R&& r, Comp comp = {}, Proj proj = {});
The text was updated successfully, but these errors were encountered:
LWG3180 was applied in e33be08 but was incomplete, as it missed the "and adjust the declarations of std::ranges::minmax_element in 27.8.9 [alg.min.max] to agree" part.
LWG3180 states that [alg.min.max] should be updated to reflect the changes in [algorithm.syn].
The declarations of
ranges::minmax_element
in [alg.min.max] should be:The text was updated successfully, but these errors were encountered: