比较两个对象并返回两个中大的,其中是排序的标准可以由二进制谓词指定。
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);
备注
此函数行为与 STL max函数相同。 有关详细信息,请参阅max。
要求
页眉: </cliext 算法>
命名空间: cliext