max (STL/CLR)
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at max (STL/CLR).
Compares two objects and returns the larger of the two, where the ordering criterion may be specified by a binary predicate.
template<class _Ty> inline
const _Ty max(const _Ty% _Left, const _Ty% _Right);
template<class _Ty, class _Pr> inline
const _Ty max(const _Ty% _Left, const _Ty% _Right, _Pr _Pred);
This function behaves the same as the STL function max. For more information, see max.
Header: <cliext/algorithm>
Namespace: cliext
Show: