max_element « STL Algorithms Min Max « C++ Tutorial






29.2.max_element
29.2.1.Find and print maximum elements in a vector
29.2.2.Use max_element to get the maximum element in a container
29.2.3.Use max_element to get the maximum value
29.2.4.Use max_element with criteria function