[C++/ Algorithm Library / std::max](Defined in header <algorithm>)(1)template<class T>const T&max (const T&a,const T&b);(2)template<class T,class Compare>const T&max (const T&a,const T&b, Compare comp);(3)[C++11]template<class T>
T max (std::initializer_list <T>ilist);(4)[C++11]template<class T,class Compare>
T max (std::initializer_list <T>ilist, Compare comp);
Returns the greater of the given values.