Open dvirtz opened 5 years ago
In case where the largest value occurs more than once, max_element should return the first of them but returns the last. See https://gcc.godbolt.org/z/aTDtlZ.
max_element
In case where the largest value occurs more than once,
max_element
should return the first of them but returns the last. See https://gcc.godbolt.org/z/aTDtlZ.