This topic has not yet been rated - Rate this topic

max

Visual Studio 6.0
max
template<class T>
    T max(const valarray<T>& x);

The template function returns the value of the largest element of x, by applying operator< between pairs of elements of class T.

Microsoft-Specific:
To avoid conflicts with min and max in WINDEF.H, use _MIN and _MAX instead. These macros evaluate to _cpp_min and _cpp_max, respectively.
END Microsoft-Specific

Did you find this helpful?
(1500 characters remaining)